Пример #1
0
 /// <summary>
 /// Handler for the BarMoved event.
 /// </summary>
 /// <param name="control">The control.</param>
 protected virtual void OnBarMoved(Base control)
 {
     if (BarMoved != null)
     {
         BarMoved.Invoke(this);
     }
 }
Пример #2
0
 /// <summary>
 /// Handler for the BarMoved event.
 /// </summary>
 /// <param name="control">The control.</param>
 protected virtual void OnBarMoved(ControlBase control, EventArgs args)
 {
     if (BarMoved != null)
     {
         BarMoved.Invoke(this, EventArgs.Empty);
     }
 }