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"; }
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(); })); } }
void creator_Finished( object sender, FinishEventArgs e ) { if ( this.Finished != null ) { this.Finished( sender, e ); } }