Ejemplo n.º 1
0
 /// <summary>
 /// A OnClick event.
 /// </summary>
 /// <param name="e"></param>
 protected virtual void OnClick(EventArgs e)
 {
     if (BaseTree.UseSameClickEvent)
     {
         if (BaseTree.Click != null)
         {
             BaseTree.Click(this, e);
         }
     }
     else
     {
         if (Click != null)
         {
             Click(this, e);
         }
     }
 }