Exemple #1
0
 protected override void OnMouseLeave(EventArgs e)
 {
     base.OnMouseLeave(e);
     State = MouseStateSky.None;
     Invalidate();
 }
Exemple #2
0
 protected override void OnMouseUp(MouseEventArgs e)
 {
     base.OnMouseUp(e);
     State = MouseStateSky.Over;
     Invalidate();
 }
Exemple #3
0
 protected override void OnMouseDown(MouseEventArgs e)
 {
     base.OnMouseDown(e);
     State = MouseStateSky.Down;
     Invalidate();
 }