protected override void OnMouseLeave(EventArgs e) { base.OnMouseLeave(e); State = MouseStateSky.None; Invalidate(); }
protected override void OnMouseUp(MouseEventArgs e) { base.OnMouseUp(e); State = MouseStateSky.Over; Invalidate(); }
protected override void OnMouseDown(MouseEventArgs e) { base.OnMouseDown(e); State = MouseStateSky.Down; Invalidate(); }