예제 #1
0
파일: baseOrder.cs 프로젝트: hehao1999/GIS
        public static void zoom_to_selection()
        {
            ICommand pcommand = new ESRI.ArcGIS.Controls.ControlsZoomToSelectedCommandClass();

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

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