public void Escape(ISpatialDisplayTool tool) { if (Object.ReferenceEquals(tool, m_Tool)) { this.Cursor = Cursors.Default; m_Tool = null; } }
void EscapeCurrentTool() { if (m_Tool != null) { m_Tool.Escape(); m_Tool = null; } }
bool ZoomRectangle() { // If we are currently auto-highlighting, temporarily disable // for the duration of the zoom, and ensure that any currently // highlighted features are drawn normally. //if ( m_AutoHighlight>0 ) m_AutoHighlight = -m_AutoHighlight; //m_Sel.RemoveSel(); m_Tool = new ZoomRectangleTool(this); return(m_Tool.Start()); }
bool Magnify() { mapPanel.Focus(); m_Tool = new MagnifyTool(this); return m_Tool.Start(); }
void EscapeCurrentTool() { if (m_Tool!=null) { m_Tool.Escape(); m_Tool = null; } }
public void Finish(ISpatialDisplayTool tool) { Debug.Assert(Object.ReferenceEquals(tool, m_Tool)); m_Tool = null; this.Cursor = Cursors.Default; }
bool ZoomRectangle() { // If we are currently auto-highlighting, temporarily disable // for the duration of the zoom, and ensure that any currently // highlighted features are drawn normally. //if ( m_AutoHighlight>0 ) m_AutoHighlight = -m_AutoHighlight; //m_Sel.RemoveSel(); m_Tool = new ZoomRectangleTool(this); return m_Tool.Start(); }
bool Pan() { m_Tool = new PanTool(this); return m_Tool.Start(); }
bool NewCenter() { m_Tool = new NewCenterTool(this); return m_Tool.Start(); }
bool Pan() { m_Tool = new PanTool(this); return(m_Tool.Start()); }
bool Magnify() { mapPanel.Focus(); m_Tool = new MagnifyTool(this); return(m_Tool.Start()); }
bool NewCenter() { m_Tool = new NewCenterTool(this); return(m_Tool.Start()); }