Beispiel #1
0
		public static void Show(string imageId)
		{
			App.AssemblyStorage.AssemblySettings.HomeWindow.ShowMask();
			var upload = new ImgurUpload(imageId)
			{
				Owner = App.AssemblyStorage.AssemblySettings.HomeWindow,
				WindowStartupLocation = WindowStartupLocation.CenterOwner
			};
			upload.ShowDialog();
			App.AssemblyStorage.AssemblySettings.HomeWindow.HideMask();
		}
 public static void Show(string imageID)
 {
     Settings.homeWindow.ShowMask();
     var upload = new ControlDialogs.ImgurUpload(imageID)
                      {
                          Owner = Settings.homeWindow,
                          WindowStartupLocation = System.Windows.WindowStartupLocation.CenterOwner
                      };
     upload.ShowDialog();
     Settings.homeWindow.HideMask();
 }