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)); } }
static void client_Error(object sender, ErrorEventArgs e) { Console.WriteLine("ERROR: {0}", e.Error); }
void Client_Error(object sender, ErrorEventArgs e) { if (__error != null) __error.Call(_host.ClientHost, ConvObj(e)); }
void Error(object sender, ErrorEventArgs e) { PostEvent(new ClientEvent { EventType = ClientEventType.Error, EventData = e }); }