// ------------------------------------------------------------------
 /// <summary>
 /// Raises the OnMouseLeave event.
 /// </summary>
 /// <param name="e">EntityMouseEventArgs</param>
 // ------------------------------------------------------------------
 public virtual void RaiseOnMouseLeave(EntityMouseEventArgs e)
 {
     if (OnMouseLeave != null)
     {
         OnMouseLeave(this, e);
     }
 }
示例#2
0
 /// <summary>
 /// Raises the onmousedown event
 /// </summary>
 /// <param name="e"></param>
 public void RaiseOnMouseDown(EntityMouseEventArgs e)
 {
     if (OnMouseDown != null)
     {
         OnMouseDown(this, e);
     }
 }
 // ------------------------------------------------------------------
 /// <summary>
 /// Raises the OnMouseEnter event.
 /// </summary>
 /// <param name="e">EntityMouseEventArgs</param>
 // ------------------------------------------------------------------
 public virtual void RaiseOnMouseHover(EntityMouseEventArgs e)
 {
     if (OnMouseHover != null)
     {
         OnMouseHover(this, e);
     }
 }