示例#1
0
文件: GUI.cs 项目: odasm/rMOD
 private void GUI_ProgressMaxChanged(object sender, ProgressMaxArgs e)
 {
     if (InvokeRequired)
     {
         this.Invoke(new MethodInvoker(delegate { RDBControls.SetProgressMaximum(e.Maximum); }));
     }
     else
     {
         RDBControls.SetProgressMaximum(e.Maximum);
     }
 }
示例#2
0
 public void OnProgressMaxChanged(ProgressMaxArgs p)
 {
     ProgressMaxChanged?.Invoke(this, p);
 }