예제 #1
0
 protected void OnProcessProgress(ProcessProgressEventArgs e)
 {
     var eh = this.ProcessProgress;
     if (eh != null)
     {
         eh(this, e);
     }
 }
예제 #2
0
        protected void OnProcessProgress(ProcessProgressEventArgs e)
        {
            var eh = this.ProcessProgress;

            if (eh != null)
            {
                eh(this, e);
            }
        }
예제 #3
0
        void CommandService_Completed(object sender, EventArgs e)
        {
            var ea = new ProcessProgressEventArgs(Properties.Resources.Completed, 1);
            _ProcessProgressExecutedEventArgsList.Add(ea);
            this.ProgressListBox.ScrollIntoView(ea);

            _IsExecuting = false;
            this.QuitButton.IsEnabled = true;
        }
예제 #4
0
        protected void OnProcessProgress(ProcessProgressEventArgs e)
        {
            var eh = this.ProcessProgress;

            if (eh != null)
            {
                if (this.Dispatcher == null)
                {
                    eh(this, e);
                }
                else
                {
                    this.Dispatcher.Invoke(() => eh(this, e));
                }
            }
        }
예제 #5
0
 protected void OnProcessProgress(ProcessProgressEventArgs e)
 {
     var eh = this.ProcessProgress;
     if (eh != null)
     {
         if (this.Dispatcher == null)
         {
             eh(this, e);
         }
         else
         {
             this.Dispatcher.Invoke(() => eh(this, e));
         }
     }
 }
예제 #6
0
 void CommandService_ProcessProgress(object sender, ProcessProgressEventArgs e)
 {
     _ProcessProgressExecutedEventArgsList.Add(e);
     this.ProgressListBox.ScrollIntoView(e);
 }