Пример #1
0
        private void menuFixedZoomOut_Click(object sender, EventArgs e)
        {
            ICommand cmd = new ControlsMapZoomOutFixedCommand();

            cmd.OnCreate(this.axMapControl1.Object);
            cmd.OnClick();
        }
Пример #2
0
        private void fixedZoomOut_mapToolbarItem_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            ICommand fixedZoomOutTool = new ControlsMapZoomOutFixedCommand();

            fixedZoomOutTool.OnCreate(m_mapControl.Object);
            fixedZoomOutTool.OnClick();
        }
Пример #3
0
        //比例缩小
        public static void ZoomOutFixed(ESRI.ArcGIS.Controls.AxMapControl axMapControl)
        {
            if (axMapControl == null)
            {
                return;
            }
            ICommand pCommand;

            pCommand = new ControlsMapZoomOutFixedCommand();
            pCommand.OnCreate(axMapControl.Object);
            pCommand.OnClick();
        }
 //比例缩小
 public static void ZoomOutFixed(ESRI.ArcGIS.Controls.AxMapControl axMapControl)
 {
     if (axMapControl == null)
     {
         return;
     }
     ICommand pCommand;
     pCommand = new ControlsMapZoomOutFixedCommand();
     pCommand.OnCreate(axMapControl.Object);
     pCommand.OnClick();
 }
Пример #5
0
 private void toolStripButton5_Click(object sender, EventArgs e)
 {
     ICommand pCommand = new ControlsMapZoomOutFixedCommand();
     pCommand.OnCreate(this.axMapControl1.Object);
     pCommand.OnClick();
 }