コード例 #1
0
 //---------------------------------------------------------
 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;
     }
 }
コード例 #2
0
 //---------------------------------------------------------
 public void OnMouseUp(CControleMapBesoin controleMap, Point ptLocal)
 {
     if (m_rectangleZoneExpand != null && m_rectangleZoneExpand.Value.Contains(ptLocal))
     {
         if (IsCollapse())
         {
             Expand();
         }
         else
         {
             Collapse();
         }
     }
 }
コード例 #3
0
 //---------------------------------------------------------
 public void OnMouseDown(CControleMapBesoin controleMap, Point ptLocal)
 {
 }