コード例 #1
0
        private void btnSelectFeatures_MapControl_Click(object sender, EventArgs e)
        {
            ControlsSelectFeaturesTool MapPanTool = new ESRI.ArcGIS.Controls.ControlsSelectFeaturesTool();

            MapPanTool.OnCreate(MapControl.Object);
            MapPanTool.OnClick();
            MapControl.CurrentTool = (ESRI.ArcGIS.SystemUI.ITool)MapPanTool;
        }
コード例 #2
0
        private void btnSelectAll_GlobeControl_Click(object sender, EventArgs e)
        {
            ControlsSelectFeaturesTool GlobePanTool = new ESRI.ArcGIS.Controls.ControlsSelectFeaturesTool();

            GlobePanTool.OnCreate(GlobeControl.Object);
            GlobePanTool.OnClick();
            GlobeControl.CurrentTool = (ESRI.ArcGIS.SystemUI.ITool)GlobePanTool;
        }