摘要:
private IToolbarMenu m_menuMap = null;//全局变量private IMapControl3 m_mapControl = null;主窗体Load事件中加入: m_mapControl = (IMapControl3)this.axMapControl1.Object; m_menuMap = new ToolbarMenuClass();//ICommand命令m_menuMap.AddItem( new ControlsMapFullExtentCommand(), -1, 0, false, esriCommandStyles....
阅读全文
posted @ 2012-05-30 23:50
jin_qi_er
阅读(706)
推荐(0)
编辑
摘要:
private void axMapControl1_OnMouseDown(object sender, ESRI.ArcGIS.Controls.IMapControlEvents2_OnMouseDownEvent e) {IRgbColor pRgbColor; IActiveView pActiveView; IRubberBand pRubberBand; IElement pElement; IGraphicsContainer pGraphicsContainer;//起到容...
阅读全文
posted @ 2012-05-30 08:46
jin_qi_er
阅读(965)
推荐(0)
编辑