protected SpatialDisplayTool(MapControl mapControl)
        {
            if (mapControl==null)
                throw new ArgumentNullException();

            m_MapControl = mapControl;
        }
 public MapControlAction(MapControl control, DisplayToolId id, ToolStripItem[] items)
 {
     m_Control = control;
     m_ToolId = id;
     m_Elements = new UserActionSupport(items);
     m_Elements.SetHandler(Do);
 }
 public ZoomRectangleTool(MapControl display)
     : base(display)
 {
 }
示例#4
0
 public NewCenterTool(MapControl mapControl)
     : base(mapControl)
 {
 }
示例#5
0
 public MagnifyTool(MapControl mapControl) : base(mapControl)
 {
     m_Scale     = mapControl.MapScale / 20.0;
     m_IsStarted = false;
 }
示例#6
0
 public PanTool(MapControl display)
     : base(display)
 {
 }
示例#7
0
 public MagnifyTool(MapControl mapControl)
     : base(mapControl)
 {
     m_Scale = mapControl.MapScale/20.0;
     m_IsStarted = false;
 }