void SubmitJoin() { if (string.IsNullOrWhiteSpace(_textName.Text)) { return; } _channel.Join(_textName.Text.Trim()); _hasJoined = true; UpdateEnabledStates(); _textGuess.RequestFocus(); }
void OnJoin() { if (string.IsNullOrWhiteSpace(textName.Text)) { return; } _channel.Join(textName.Text.Trim()); _hasJoined = true; UpdateButtonStates(); textGuess.BecomeFirstResponder(); }