摘要:
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
阅读(713)
评论(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
阅读(975)
评论(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
阅读(555)
评论(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
阅读(306)
评论(0)
推荐(0)
浙公网安备 33010602011771号