예제 #1
0
 private void SendMessage(Message message) => BFormatter.Serialize(TcpClient.GetStream(), message);
예제 #2
0
 private void HandleGiveExcursii(Message message)
 {
     Excursii = (Collection <Excursie>)message.Contents;
     ExcursiiListChanged?.Invoke(this, new EventArgs());
 }