Example #1
0
        private void OnStageAsyncOperationStarted(object sender, RoutedEventArgs e)
        {
            AsyncOperationStartedEventArgs ase =
                e as AsyncOperationStartedEventArgs;

            this._currentlyRunningOperationsCount += 1;
            this.LockApplicationForAsyncOperation(ase.Message);
        }
Example #2
0
        public void RaiseAsyncOperationStartedEvent(string Message)
        {
            AsyncOperationStartedEventArgs e =
                new AsyncOperationStartedEventArgs(
                    ejsManagerStage.AsyncOperationStartedEvent, Message);

            this.RaiseEvent(e);
        }