示例#1
0
 void model_CanMsgEvent(CanMsg msg)
 {
     System.Windows.Application.Current.Dispatcher.Invoke((Action)(() =>
     {
         CanMessagesItems.Add(msg);
     }));
 }
示例#2
0
 private void ExecuteClearTraceCmd()
 {
     CanMessagesItems.Clear();
 }