Beispiel #1
0
 void creator_Finished(object sender, FinishEventArgs e)
 {
     if (this.Finished != null)
     {
         this.Finished(sender, e);
     }
 }
		void creator_Finished( object sender, FinishEventArgs e ) {
			MessageBox.Show( e.Message, "Finish", MessageBoxButtons.OK, MessageBoxIcon.Information );
			buttonStartAbort.Enabled = true;
			buttonStartAbort.Text = "Start";
			progressBar.Value = 0;
			labelStatus.Text = "Process not started";
		}
Beispiel #3
0
		void creator_Finished( object sender, FinishEventArgs e ) {
			MessageBox.Show( e.Message, "Finish", MessageBoxButtons.OK, MessageBoxIcon.Information );
            if (!this.InvokeRequired)
            {
                this.EnableStart();
            }
            else
            {
                this.Invoke(new Action(() => {
                    this.EnableStart();
                }));
            }
		}
Beispiel #4
0
		void creator_Finished( object sender, FinishEventArgs e ) {
			if ( this.Finished != null ) {
				this.Finished( sender, e );
			}
		}