public void ShowException(NoDataSentException ex)
        {
            var messageBox = _messageBoxFactory.CreateMessageBox(DialogResourceID.CONNECTION_SERVER_NOT_FOUND,
                                                                 "\n\"" + ex.Message + "\"",
                                                                 EODialogButtons.Ok,
                                                                 EOMessageBoxStyle.SmallDialogLargeHeader);

            messageBox.ShowDialog();
        }
Esempio n. 2
0
 private void SetInitialStateAndShowError(NoDataSentException ex)
 {
     _gameStateActions.ChangeToState(GameStates.Initial);
     _errorDisplayAction.ShowException(ex);
 }