void _chat_LoginErrorEvent(Vha.Net.Chat chat, LoginErrorEventArgs e) { // Notify listeners of the error if (this.ErrorEvent != null) { this.ErrorEvent(this, new Events.ErrorEventArgs(ErrorType.Login, e.Error)); } }
private static void OnLoginErrored(object sender, LoginErrorEventArgs e) { MessageBox.Show(e.ErrorDescription, e.Result.ToString()); }