示例#1
0
 /// <summary>
 /// Handles the StateChanged event of the state control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="Generic.ValueChangedEventArgs{System.String}"/> instance containing the event data.</param>
 void state_StateChanged(object sender, Generic.ValueChangedEventArgs <string> e)
 {
     StateChanged.RaiseEvent(this, new StateChangedEventArgs(e.NewValue, e.OldValue, (StateItem)sender));
 }
示例#2
0
 public void RaiseStateChanged()
 {
     StateChanged.RaiseEvent(this, new SubsystemStateEventArgs(this, GetState()));
 }
示例#3
0
 internal void OnStateChanged(EventArgs e)
 {
     StateChanged.RaiseEvent(this, e);
 }