private void GUI_ProgressMaxChanged(object sender, ProgressMaxArgs e) { if (InvokeRequired) { this.Invoke(new MethodInvoker(delegate { RDBControls.SetProgressMaximum(e.Maximum); })); } else { RDBControls.SetProgressMaximum(e.Maximum); } }
public void OnProgressMaxChanged(ProgressMaxArgs p) { ProgressMaxChanged?.Invoke(this, p); }