protected OnClosed ( |
||
e | ||
Результат | void |
protected override void OnClosed(EventArgs e)
{
base.OnClosed(e);
WindowManager.PlayWindow = null;
Program.StopGame();
// Fix: Don't do this earlier (e.g. in OnClosing) because an animation (e.g. card turn) may try to access Program.Game
}