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