public void TryToUpdate() { NeedToUpdate = true; if (Process.GetType() == typeof(RegistrationProcess)) { MainForm.PerformInMainThread = Updating; MainForm.PerformMainThreadEvent(); } }
public void TryToUpdate() { NeedToUpdate = true; if (Process.GetType() == startProcess) { MainForm.PerformInMainThread = Updating; MainForm.PerformMainThreadEvent(); } }