Exemplo n.º 1
0
 private void btnUpdate_Click(object sender, EventArgs e)
 {
     ESRI.ArcGIS.SystemUI.ICommand command = new ToolUpdateXZZ(this);
     command.OnCreate(DataEditCommon.g_pAxMapControl.Object);
     if (command.Enabled)
     {
         DataEditCommon.g_pAxMapControl.CurrentTool = (ESRI.ArcGIS.SystemUI.ITool)command;
     }
 }
Exemplo n.º 2
0
 private void btnUpdate_Click(object sender, EventArgs e)
 {
     ESRI.ArcGIS.SystemUI.ICommand command = new ToolUpdateXZZ(this);
     command.OnCreate(DataEditCommon.g_pAxMapControl.Object);
     if (command.Enabled)
     {
         DataEditCommon.g_pAxMapControl.CurrentTool = (ESRI.ArcGIS.SystemUI.ITool)command;
     }
 }