Hi guys i am switching one of my projects from windowsforms to WPF. So far i used this piece of code to invoke my GUI objects with data from another thread:
this.Invoke(new Action<NewDiagPacketArrivedEventArgs>(DoSomething), e);
How can I do the same thing in WPF? I found a few posts about using a dispatcher, but I could not get it to work. I would like to have a simple solution. If you know any guides on this topic I would appreciate it.
Thanks