void genData1_OnProgress(ProgressEventArgs e) { if (e.Progress > -1 && databaseProgressControl2.Value != e.Progress) { databaseProgressControl2.Value = e.Progress; } if (String.Compare(databaseProgressControl2.Message, e.Message) != 0) { databaseProgressControl2.Message = e.Message; } this.mostRecentProgressMessage = e.Message; }
public void RaiseOnReading(ProgressEventArgs e) { if (OnReading != null) OnReading(e); }
private void Generate_OnReading(ProgressEventArgs e) { if (OnProgress != null) OnProgress(e); }
private void tables_OnTableProgress(object sender, ProgressEventArgs e) { ProgressEventHandler.RaiseOnChange(e); }
public void RaiseOnReadingOne(object name) { if (name != null && this.OnReading != null && this.currentlyReading != null) { var eOne = new ProgressEventArgs(this.currentlyReading.Message, this.currentlyReading.Progress); eOne.Message = eOne.Message.Replace("...", String.Format(": [{0}]", name)); this.OnReading(eOne); } }
public void RaiseOnReading(ProgressEventArgs e) { this.currentlyReading = e; if (OnReading != null) OnReading(e); }
public static void RaiseOnChange(ProgressEventArgs e) { if (OnProgress != null) OnProgress(e); }