//Shows Progressbar private void ShowProgressbar() { bw = new DatasetLoadingBusyWindow(BSky.GlobalResources.Properties.Resources.PlzWaitDatasetLoading); bw.Owner = (Application.Current.MainWindow); //bw.WindowStartupLocation = WindowStartupLocation.CenterOwner; //bw.Visibility = Visibility.Visible; bw.Show(); bw.Activate(); defaultcursor = Mouse.OverrideCursor; Mouse.OverrideCursor = System.Windows.Input.Cursors.Wait; }
//Shows Progressbar private void ShowProgressbar() { bw = new DatasetLoadingBusyWindow("Please wait while Dataset is Loading..."); bw.Owner = (Application.Current.MainWindow); //bw.WindowStartupLocation = WindowStartupLocation.CenterOwner; //bw.Visibility = Visibility.Visible; bw.Show(); bw.Activate(); defaultcursor = Mouse.OverrideCursor; Mouse.OverrideCursor = System.Windows.Input.Cursors.Wait; }