/// <summary>
 /// Mouse is clicked on this item
 /// </summary>
 /// <param name="e"></param>
 /// <returns>True if the event was handled, false otherwise.</returns>
 public virtual bool OnMouseClick(VCItem sender, ItemMouseEventArgs e)
 {
     if (next != null)
     {
         return(next.OnMouseClick(sender, e));
     }
     return(false);
 }
Beispiel #2
0
        /// <summary>
        /// Mouse is clicked on this item
        /// </summary>
        /// <param name="e"></param>
        internal bool OnMouseClick(Handlers.ItemMouseEventArgs e)
        {
            bool result = false;

            if (mouseHandler != null)
            {
                result |= mouseHandler.OnMouseClick(this, e);
            }
            return(result);
        }