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