2012年5月30日
摘要: 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) 推荐(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) 推荐(0) 编辑
摘要: private void axMapControl1_OnMouseDown(object sender, ESRI.ArcGIS.Controls.IMapControlEvents2_OnMouseDownEvent e){ ILineElement pLineElement;IActiveView pActiveView;IRgbColor pRgbColor; IRubberBand pRubberBand; ISimpleLineSymbol pSimpleLineSymbol; IPolyline p... 阅读全文
posted @ 2012-05-30 08:19 jin_qi_er 阅读(550) 评论(0) 推荐(0) 编辑
摘要: private void axMapControl1_OnMouseDown(object sender, ESRI.ArcGIS.Controls.IMapControlEvents2_OnMouseDownEvent e) {IElement pElement; IMarkerElement pMarkerElement; ISimpleMarkerSymbol pSimpleMarkerSymbol;IRgbColor pRgbColor; pSimpleMa... 阅读全文
posted @ 2012-05-30 08:17 jin_qi_er 阅读(300) 评论(0) 推荐(0) 编辑