Example #1
0
 /// <summary>
 /// Handler for the MouseLeave event.
 /// </summary>
 private void OnMouseLeave(MouseEventArgs e)
 {
     MouseEventHandler handler = MouseLeave;
     if(handler != null) {
         handler(this, e);
     }
 }
Example #2
0
 /// <summary>
 /// Handler for the Click event.
 /// </summary>
 private void OnClick(MouseEventArgs e)
 {
     MouseEventHandler handler = Click;
     if(handler != null) {
         handler(this, e);
     }
 }