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