コード例 #1
0
ファイル: ProgressBox.cs プロジェクト: alexbikfalvi/DotNetApi
 /// <summary>
 /// An event handler called when the progress legend has changed.
 /// </summary>
 /// <param name="object">The sender object.</param>
 /// <param name="e">The event arguments.</param>
 private void OnProgressLegendChanged(object sender, ProgressLegendChangedEventArgs e)
 {
 }
コード例 #2
0
 /// <summary>
 /// An event handler called when the progress legend has changed.
 /// </summary>
 /// <param name="object">The sender object.</param>
 /// <param name="e">The event arguments.</param>
 private void OnProgressLegendChanged(object sender, ProgressLegendChangedEventArgs e)
 {
     // If the progress info is not the current progress info, do nothing.
     if (e.Progress != this.progress) return;
     // Raise the event.
     if (null != this.ProgressLegendChanged) this.ProgressLegendChanged(this, new ProgressItemLegendChangedEventArgs(this, e.Progress, e.Legend));
 }