private void restartEngineButton_Click(object sender, EventArgs e) { if (engineMgr == null) { return; } engineMgr.ClearError(); engineErrorShown = false; chooseDesiredEngineState(); }