Ejemplo n.º 1
0
 private void MessageReceived(object sender, MessageReceivedHandlerArgs args)
 {
     _dotNetChatViewModel.AddChatEntry(new ChatEntryViewModel(args.Name, args.Content));
 }
Ejemplo n.º 2
0
 private void OnMessageReceived(MessageReceivedHandlerArgs args)
 {
     MessageReceivedHandler handler = MessageReceived;
     if (handler != null) handler(this, args);
 }