Exemplo n.º 1
0
 ///<summary>
 ///Raises the ValueChanged event.
 ///</summary>
 ///<param name="eventargs">An <see cref="T:System.EventArgs"></see> that contains the event data. </param>
 protected override void OnValueChanged(EventArgs eventargs)
 {
     if (_manager != null)
     {
         _manager.OnValueChanged(eventargs);
     }
     base.OnValueChanged(eventargs);
 }
Exemplo n.º 2
0
 ///<summary>
 ///Raises the <see cref="E:System.Windows.Forms.DateTimePicker.ValueChanged" /> event.
 ///</summary>
 ///
 ///<param name="eventargs">An <see cref="T:System.EventArgs" /> that contains the event data. </param>
 protected override void OnValueChanged(EventArgs eventargs)
 {
     if (_manager != null)
     {
         //The base OnValueChanged will be called by the _manager.
         _manager.OnValueChanged(eventargs);
     }
     else
     {
         base.OnValueChanged(eventargs);
     }
 }