private void HandleGameStart(StartGameResult startGameResult) { this.Activate(); if (startGameResult == StartGameResult.Success) { return; } using (var dialog = new StartGameErrorDialog(startGameResult)) { dialog.ShowDialog(); } }
private void HandleGameStart(StartGameResult startGameResult) { this.Activate(); if (startGameResult == StartGameResult.Success) return; using (var dialog = new StartGameErrorDialog(startGameResult)) { dialog.ShowDialog(); } }