public ZoomInRegionOperator(IApplicationContext appContext, GeoEventManager eventMgr, GeoMapMgr geoMapMgr) { this.m_Helper = ServiceHelper.Lookup<IGeoSelectionHelper>(appContext); this.m_Cursor = new Cursor(Huawei.UNet.Common.GlobalResource.GlobalResource.ZoomIn.GetHicon()); this.m_EventMgr = eventMgr; this.m_GeoMapMgr = geoMapMgr; this.InitDrawingStyle(); this.m_StartPlanePoint = new GeoXYPoint(); this.m_SelectionPolygon = new GeoPolygon(); this.m_SelectionRegion = new GeoPolygonRegion(); this.m_SelectionRegion.AddGeoPolygon(this.m_SelectionPolygon); }
public GeoToolBarUC(GeoForm form, GeoTree treeCtrl, IApplicationContext appContext, GeoEventManager geoEventManager) : this() { this.m_GeoForm = form; this.m_GeoTree = treeCtrl; this.m_GeoTree.Controller.AddMapShapeEvent += new AddMapShapeEventHandler(this.AddMapShapeOperation); this.m_CurScaleComboText = this.m_GeoForm.InitScale; this.m_AppContext = appContext; this.m_GeoEventManager = geoEventManager; }
public ZoomOperator(GeoEventManager eventMgr) { this.m_EventMgr = eventMgr; this.m_Cursor = new Cursor(Huawei.UNet.Common.GlobalResource.GlobalResource.zoom.GetHicon()); }
public CaptureImageOperator(IApplicationContext appContext, GeoEventManager eventMgr) { this.m_Helper = ServiceHelper.Lookup<IGeoSelectionHelper>(appContext); this.m_EventMgr = eventMgr; this.InitDrawingStyles(); }