示例#1
0
        private void 进行选择ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ICommand pCommand;

            pCommand = new ESRI.ArcGIS.Controls.ControlsSelectFeaturesToolClass();
            if (tabControl1.SelectedTab == tabPage1)
            {
                pCommand.OnCreate(axMapControl1.Object);
            }
            axMapControl1.CurrentTool = pCommand as ESRI.ArcGIS.SystemUI.ITool;
        }
示例#2
0
 private void 进行选择ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ICommand pCommand;
     pCommand = new ESRI.ArcGIS.Controls.ControlsSelectFeaturesToolClass();
     if (tabControl1.SelectedTab == tabPage1)
         pCommand.OnCreate(axMapControl1.Object);
     axMapControl1.CurrentTool = pCommand as ESRI.ArcGIS.SystemUI.ITool;
 }