protected override void OnClosing(CancelEventArgs e)
        {
            base.OnClosing(e);

            if (ApplicationViewModel.CanSaveGame())
            {
                ApplicationViewModel.SaveGame();
            }
        }