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

            if (eh != null)
            {
                eh(this, e);
            }
        }
Example #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;
        }
Example #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));
                }
            }
        }
Example #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));
         }
     }
 }
Example #6
0
 void CommandService_ProcessProgress(object sender, ProcessProgressEventArgs e)
 {
     _ProcessProgressExecutedEventArgsList.Add(e);
     this.ProgressListBox.ScrollIntoView(e);
 }