I've a WPF application which copy the huge volume of files from source to traget. Hence I've used dispatcher to do this job,Eventhough my application has freezed and saying "Not Responding" in the title bar until file copy complete.
ButtonPower.Dispatcher.BeginInvoke(
System.Windows.Threading.DispatcherPriority.Send,
new NextPrimeDelegate(this.DoAction));
I'd like to show the progress bar until the copying operation complete also the window shouldn't freezed. I'd apprciate any solution or suggestion to solve this