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

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

            this.RaiseEvent(e);
        }