WPF Dispatcher {"The calling thread cannot access this object because a different thread owns it."}
- by user359446
first I need to say that I´m noob with WPF and C#.
Application: Create Mandelbrot Image (GUI)
My disptacher works perfektly this this case:
private void progressBarRefresh(){
while ((con.Progress) < 99)
{
progressBar1.Dispatcher.Invoke(DispatcherPriority.Send, new Action(delegate
{
…