SVN r883
SVN-Revision: r883
This commit is contained in:
@@ -4311,12 +4311,8 @@ namespace Lskj.Control
|
||||
private void OnRightClick(object sender, EventArgs e)
|
||||
{
|
||||
string unionright = string.Empty;
|
||||
// 获取点击的 HyperLinkEdit 实例
|
||||
DevExpress.XtraEditors.HyperLinkEdit linkEdit = sender as DevExpress.XtraEditors.HyperLinkEdit;
|
||||
if (linkEdit != null)
|
||||
if (sender is RepositoryItemHyperLinkEdit repositoryItem)
|
||||
{
|
||||
// 获取对应的 RepositoryItem
|
||||
RepositoryItemHyperLinkEdit repositoryItem = linkEdit.Properties as RepositoryItemHyperLinkEdit;
|
||||
if (repositoryItem != null)
|
||||
{
|
||||
GridColumnModel model = repositoryItem.Tag as GridColumnModel;
|
||||
@@ -4349,12 +4345,8 @@ namespace Lskj.Control
|
||||
private void HyperLinkEdit_Click(object sender, EventArgs e)
|
||||
{
|
||||
string urlName = string.Empty;
|
||||
// 获取点击的 HyperLinkEdit 实例
|
||||
DevExpress.XtraEditors.HyperLinkEdit linkEdit = sender as DevExpress.XtraEditors.HyperLinkEdit;
|
||||
if (linkEdit != null)
|
||||
if (sender is RepositoryItemHyperLinkEdit repositoryItem)
|
||||
{
|
||||
// 获取对应的 RepositoryItem
|
||||
RepositoryItemHyperLinkEdit repositoryItem = linkEdit.Properties as RepositoryItemHyperLinkEdit;
|
||||
if (repositoryItem != null)
|
||||
{
|
||||
GridColumnModel model = repositoryItem.Tag as GridColumnModel;
|
||||
@@ -7028,7 +7020,7 @@ namespace Lskj.Control
|
||||
}
|
||||
else if (gridColumnModel.FieldType == ControlType.LabRightlink)
|
||||
{
|
||||
|
||||
OnRightClick(hyperLinkEdit, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user