Exemplo n.º 1
0
 /// <summary>
 /// Raises <see cref="Mouse"/> event
 /// </summary>
 protected virtual void OnMouse(MouseEventArgs e)
 {
     if (HasEvents)
     {
         var handler = (EventHandler<MouseEventArgs>)Events[MouseEvent];
         if (handler != null)
         {
             e.Handled = true;
             handler(this, e);
         }
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Handles mouse events
 /// </summary>
 void ISciterBehavior.ProcessMouse(MouseEventArgs e)
 {
     OnMouse(e);
 }