title: The calling thread cannot access this object because a different thread owns it
body: <p>I have a WPF window in the main thread. On button clock of this window i am loading the data. Meanwhile i am using a seperate thread to display a wait screen. But i am not able to set the main window as the parent of the wait screen. It throws following error:
  The calling thread cannot access this object because a different thread owns it</p>