//工具条中心放大 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(); }
public override void OnClick() { ICommand command = new ESRI.ArcGIS.Controls.ControlsMapZoomInFixedCommandClass();//地图放大 command.OnCreate(m_mapControl.Object); command.OnClick(); }
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; }
public override void OnClick() { ICommand command = new ESRI.ArcGIS.Controls.ControlsMapZoomInFixedCommandClass();//��ͼ�Ŵ� command.OnCreate(m_mapControl.Object); command.OnClick(); }