public EsriCommandProxy(ESRI.ArcGIS.SystemUI.ICommand cmdProxed) { this.m_EsriCommand = cmdProxed; if (!(this.m_EsriCommand is ESRI.ArcGIS.SystemUI.ICommand)) { throw new Exception("ESRI命令代理类调用错误:传入的参数不是正确的ESRI命令。"); } }
public EsriCommandProxy(ESRI.ArcGIS.SystemUI.ICommand cmdProxed) { this.m_EsriCommand = cmdProxed; if (!(this.m_EsriCommand is ESRI.ArcGIS.SystemUI.ICommand)) { throw new Exception("ESRI命令代理类调用错误:传入的参数不是正确的ESRI命令。"); } }
public void OnCreate(NBGIS.PluginEngine.IApplication hook) { if (hook != null) { this.m_Application = hook; m_CMD = new ESRI.ArcGIS.Controls.ControlsAddDataCommandClass(); m_CMD.OnCreate(this.m_Application.MapControl); } }
public void OnCreate(NBGIS.PluginEngine.IApplication hook) { if (hook != null) { this.m_Application = hook; tool = new ESRI.ArcGIS.Controls.ControlsMapZoomInToolClass(); cmd = tool as ESRI.ArcGIS.SystemUI.ICommand; cmd.OnCreate(this.m_Application.MapControl); } }
public void OnCreate(MyPluginEngine.IApplication hook) { if (hook != null) { this.hk = hook; cmd = new ControlsOpenDocCommandClass(); cmd.OnCreate(this.hk.PageLayoutControl); } }
public CommandSelExport() { base._Name = "GeoDataCenterFunLib.CommandSelExport"; base._Caption = "选择要素范围提取"; base._Tooltip = "选择要素范围提取"; base._Checked = false; base._Visible = true; base._Enabled = false; base._Message = "选择要素范围提取"; m_pCommand = new GeoDataExport.Commands.CommandSelExport(); }