예제 #1
0
 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));
     }
 }
예제 #2
0
 private static void OnLoginErrored(object sender, LoginErrorEventArgs e)
 {
     MessageBox.Show(e.ErrorDescription, e.Result.ToString());
 }