/// <summary> /// 表格双击 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public override void Table_Click(object sender, MouseButtonEventArgs e) { GridControl gridControl = sender as GridControl; GridColumn column = gridControl.CurrentColumn as GridColumn; MapTabDictoryCustom row = gridControl.CurrentItem as MapTabDictoryCustom; if (column.VisibleIndex == objectIndex) { } //图形缩放 var obj = gridControl.CurrentItem; int objectId = (int)row.Dic["OBJECTID"]; IFeature feature = featureDic[objectId]; if (pLayer.Name == JTSYQCustom.JTSYQLayerName) { MapForm.CurrentJTSYQ = JTSYQCustom.FeaturesToJTSYQ(feature); MapForm.CurrentJTSYQ.MapTabDictoryCustom = row; } ArcGisUtils.ExtentShp(feature, pLayer, 2); }