public void ShowException(NoDataSentException ex) { var messageBox = _messageBoxFactory.CreateMessageBox(DialogResourceID.CONNECTION_SERVER_NOT_FOUND, "\n\"" + ex.Message + "\"", EODialogButtons.Ok, EOMessageBoxStyle.SmallDialogLargeHeader); messageBox.ShowDialog(); }
private void SetInitialStateAndShowError(NoDataSentException ex) { _gameStateActions.ChangeToState(GameStates.Initial); _errorDisplayAction.ShowException(ex); }