Exemplo n.º 1
0
 protected virtual void OnCommandReceived(PacketEA e)
 {
     if (CommandReceived != null)
     {
         CommandReceived(this, e);
     }
 }
Exemplo n.º 2
0
 private void CommandReceived(object sender, PacketEA e)
 {
     txtChat.Text += e.Packet.Username + ":>" + e.Packet.PacketBody + Environment.NewLine;
 }