예제 #1
0
        protected virtual void OnStateChanged(WorkerStateChangedEventArgs args)
        {
            var stateChanged = this.StateChanged;

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

			if(stateChanged != null)
				stateChanged(this, args);
		}