Пример #1
0
 private void GUI_ProgressMaxChanged(object sender, ProgressMaxArgs e)
 {
     if (InvokeRequired)
     {
         this.Invoke(new MethodInvoker(delegate { TabControls.SetProgressMaximum(e.Maximum); }));
     }
     else
     {
         TabControls.SetProgressMaximum(e.Maximum);
     }
 }
Пример #2
0
 public void UpdateProgressMaximum(int max)
 {
     this.Invoke(new MethodInvoker(delegate { TabControls.SetProgressMaximum(max); }));
 }