private void OnMenuOpening(object sender, CancelEventArgs e) { _forceStartMenu.Enabled = _work.CanForce(); if (_service.IsCanceled) { _forceStartMenu.Enabled = _settingsMenu.Enabled = _exitMenu.Enabled = false; } }