예제 #1
0
 void Error(object sender, ErrorEventArgs e)
 {
     chat.AddChat(new ChatNode(e.Error, CssClasses.Error));
     if (e.IsDisconnecting)
     {
         chat.AddChat(new ChatNode("This error is causing you to disconnect.", CssClasses.ErrorDisconnecting));
     }
 }
예제 #2
0
파일: Program.cs 프로젝트: Mofsy/jinxbot
 static void client_Error(object sender, ErrorEventArgs e)
 {
     Console.WriteLine("ERROR: {0}", e.Error);
 }
예제 #3
0
 void Client_Error(object sender, ErrorEventArgs e)
 {
     if (__error != null)
         __error.Call(_host.ClientHost, ConvObj(e));
 }
예제 #4
0
 void Error(object sender, ErrorEventArgs e)
 {
     PostEvent(new ClientEvent { EventType = ClientEventType.Error, EventData = e });
 }