Ejemplo n.º 1
0
 private static void HandleReceived(object sender, TextReceivedEvent t)
 {
     Console.WriteLine(string.Format("{0} - Received: {1}{2}", DateTime.Now, t.TextReceived, Environment.NewLine));
 }
Ejemplo n.º 2
0
 void HandleTextReceived(object sender, TextReceivedEvent t)
 {
     txtConsole.AppendText(string.Format("{0} - Message Received from {3}: {1}{2}", DateTime.Now, t.TextReceived, Environment.NewLine, t.ClientWhoSentText));
 }