public void OnExit() { if (_songManager.CurrentSong != null && _songManager.CheckChanges()) { DialogsWindowsManager.Instance.ShowWindow(DialogsWindowsManager.Window.SaveAndQuit); return; } DialogsWindowsManager.Instance.ShowWindow(DialogsWindowsManager.Window.Quit); }