Пример #1
0
 void CommandSent(object sender, InformationEventArgs e)
 {
     chat.AddChat(new ChatNode(e.Information, CssClasses.CommandSent));
 }
Пример #2
0
 void Information(object sender, InformationEventArgs e)
 {
     chat.AddChat(new ChatNode(e.Information, CssClasses.ClientInfo));
 }
Пример #3
0
 void Client_CommandSent(object sender, InformationEventArgs e)
 {
     if (__commandSent != null)
     {
         __commandSent.Call(_host.ClientHost, ConvObj(e));
     }
 }
Пример #4
0
 void Client_Information(object sender, InformationEventArgs e)
 {
     if (__information != null)
         __information.Call(_host.ClientHost, ConvObj(e));
 }
Пример #5
0
 void CommandSent(object sender, InformationEventArgs e)
 {
     PostEvent(new ClientEvent { EventType = ClientEventType.CommandSent, EventData = e });
 }
Пример #6
0
 void Information(object sender, InformationEventArgs e)
 {
     PostEvent(new ClientEvent { EventData = e, EventType = ClientEventType.Information });
 }