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

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

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