//--------------------------------------------------------- public void OnMouseMove(CControleMapBesoin controleMap, Point ptLocal) { if (m_rectangleZoneExpand != null && m_rectangleZoneExpand.Value.Contains(ptLocal)) { controleMap.Cursor = Cursors.Hand; } else { controleMap.Cursor = Cursors.Default; } }
//--------------------------------------------------------- public void OnMouseUp(CControleMapBesoin controleMap, Point ptLocal) { if (m_rectangleZoneExpand != null && m_rectangleZoneExpand.Value.Contains(ptLocal)) { if (IsCollapse()) { Expand(); } else { Collapse(); } } }
//--------------------------------------------------------- public void OnMouseDown(CControleMapBesoin controleMap, Point ptLocal) { }