protected override void OnDeactivate(EventArgs e) { base.OnDeactivate(e); if (_running && _config.PauseWhenFocusLost) { _messagePump.Pause(); } }