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