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; }
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; }