示例#1
0
 public void SendMessage(string message)
 {
     Message mess = new Message(_name, DateTime.Now, message);
     _game.Opponent.RecieveMessage(mess);
     RecieveMessage(mess);
 }
示例#2
0
 public void RecieveMessage(Message mess)
 {
     try
     {
         _callback.TransferMessage(mess);
     }
     catch (Exception) { };
 }