void CheckTimer() { if (SettingsManager.Options.TestEnabled && !Program.IsClosing) { CpuTimer.Start(); } else { if (!IsHandleCreated) { return; } ControlsHelper.BeginInvoke(() => { CpuTextBox.Text = ""; }); } }
void CheckTimer() { if (SettingsManager.Options.TestEnabled && !Program.IsClosing) { CpuTimer.Start(); } else { if (!IsHandleCreated) { return; } BeginInvoke((MethodInvoker) delegate() { CpuTextBox.Text = ""; }); } }