protected virtual void OnStateChanged(WorkerStateChangedEventArgs args) { var stateChanged = this.StateChanged; if (stateChanged != null) { stateChanged(this, args); } }
protected virtual void OnStateChanged(WorkerStateChangedEventArgs args) { var stateChanged = this.StateChanged; if(stateChanged != null) stateChanged(this, args); }