Ejemplo n.º 1
0
        //后一视图
        private void Btn_ViewBack_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            ICommand cmd = new ControlsMapZoomToLastExtentForwardCommand();

            cmd.OnCreate(axMapControl_1.Object);
            cmd.OnClick();
        }
Ejemplo n.º 2
0
        //下一视图
        private void Btn_Next_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            ICommand Cmd = new ControlsMapZoomToLastExtentForwardCommand();

            Cmd.OnCreate(this.axMapControl1.Object);
            Cmd.OnClick();
        }
Ejemplo n.º 3
0
        //下一场景
        public static void ZoomToLastExtentForward(ESRI.ArcGIS.Controls.AxMapControl axMapControl)
        {
            if (axMapControl == null)
            {
                return;
            }
            ICommand pCommand;

            pCommand = new ControlsMapZoomToLastExtentForwardCommand();
            pCommand.OnCreate(axMapControl.Object);
            pCommand.OnClick();
        }
 //下一场景
 public static void ZoomToLastExtentForward(ESRI.ArcGIS.Controls.AxMapControl axMapControl)
 {
     if (axMapControl == null)
     {
         return;
     }
     ICommand pCommand;
     pCommand = new ControlsMapZoomToLastExtentForwardCommand();
     pCommand.OnCreate(axMapControl.Object);
     pCommand.OnClick();
 }
Ejemplo n.º 5
0
        /// <summary>
        /// 下一视图
        /// </summary>
        public static void MapNextView(AxMapControl axMapControl)
        {
            if (axMapControl == null)
            {
                return;
            }
            ICommand pCommand;
            pCommand = new ControlsMapZoomToLastExtentForwardCommand();

            pCommand.OnCreate(axMapControl.Object);
            pCommand.OnClick();
               // pCommand=new ControlsEditingEditToolClass
        }
Ejemplo n.º 6
0
 private void toolStripButton7_Click(object sender, EventArgs e)
 {
     ICommand pCommand = new ControlsMapZoomToLastExtentForwardCommand();
     pCommand.OnCreate(this.axMapControl1.Object);
     pCommand.OnClick();
 }