Exemple #1
0
 protected override void OnMouseLeave(
     EventArgs e)
 {
     _state &= ~ColorButtonState.Hot;
     base.OnMouseLeave(e);
 }
Exemple #2
0
 protected override void OnGotFocus(EventArgs e)
 {
     _state |= ColorButtonState.Selected;
     base.OnGotFocus(e);
 }
Exemple #3
0
 protected override void OnMouseEnter(
     EventArgs e)
 {
     _state |= ColorButtonState.Hot;
     base.OnMouseEnter(e);
 }