示例#1
0
 //工具条中心放大
 private void buttonItemZoonInfixed_Click(object sender, EventArgs e)
 {
     ESRI.ArcGIS.SystemUI.ICommand pCommand;
     pCommand = new ESRI.ArcGIS.Controls.ControlsMapZoomInFixedCommandClass();
     pCommand.OnCreate(MapControlLayer.Object);
     pCommand.OnClick();
 }
示例#2
0
        public override void OnClick()
        {
            ICommand command = new ESRI.ArcGIS.Controls.ControlsMapZoomInFixedCommandClass();//地图放大

            command.OnCreate(m_mapControl.Object);
            command.OnClick();
        }
示例#3
0
        private void toolzoominfixed_Click(object sender, EventArgs e)//中心放大
        {
            ITool TempTool = this.axMapControl1.CurrentTool;

            ESRI.ArcGIS.SystemUI.ICommand pCommand = new ESRI.ArcGIS.Controls.ControlsMapZoomInFixedCommandClass();
            pCommand.OnCreate(this.axMapControl1.Object);
            pCommand.OnClick();

            this.axMapControl1.CurrentTool = TempTool;
        }
示例#4
0
 public override void OnClick()
 {
     ICommand command = new ESRI.ArcGIS.Controls.ControlsMapZoomInFixedCommandClass();//��ͼ�Ŵ�
     command.OnCreate(m_mapControl.Object);
     command.OnClick();
 }