public MainWindow()
 {
     InitializeComponent();
     DataContext = this;
     MyLongRunningCommand = new MyLongRunningCommand(progressDialog);
 }
 public MainWindow()
 {
     InitializeComponent();
     DataContext          = this;
     MyLongRunningCommand = new MyLongRunningCommand(progressDialog);
 }