private void DelayedRestart(object sender, EventArgs e) { StopDelayedAutoSaveTimer(); StatusLabelText = "Restarting in " + _startInSeconds; if (_startInSeconds == 0) { StopDelayedRestartTimer(); Start(); } else _startInSeconds--; }