Beispiel #1
0
        public static void zoom_to_selection()
        {
            ICommand pcommand = new ESRI.ArcGIS.Controls.ControlsZoomToSelectedCommandClass();

            pcommand.OnCreate(mainForm.mainform.mainMapControl.Object);
            pcommand.OnClick();
        }
Beispiel #2
0
        private void 缩放到已选范围ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ICommand pCommand;

            pCommand = new ESRI.ArcGIS.Controls.ControlsZoomToSelectedCommandClass();
            pCommand.OnCreate(axMapControl1.Object);
            pCommand.OnClick();
        }
Beispiel #3
0
 private void 缩放到已选范围ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ICommand pCommand;
     pCommand = new ESRI.ArcGIS.Controls.ControlsZoomToSelectedCommandClass();
     pCommand.OnCreate(axMapControl1.Object);
     pCommand.OnClick();
 }