/// <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)); }
public void RaiseStateChanged() { StateChanged.RaiseEvent(this, new SubsystemStateEventArgs(this, GetState())); }
internal void OnStateChanged(EventArgs e) { StateChanged.RaiseEvent(this, e); }