internal static void CloseFullscreenGallery() { Properties.Settings.Default.PicGallery = 1; IsOpen = false; GetFakeWindow.Hide(); ConfigureSettings.ConfigColors.UpdateColor(); HideInterfaceLogic.ShowStandardInterface(); // Restore settings AutoFitWindow = Properties.Settings.Default.AutoFitWindow; }
internal static void ChangeToPicGalleryOne() { Properties.Settings.Default.PicGallery = 1; LoadLayout(); if (GetFakeWindow.grid.Children.Contains(GetPicGallery)) { GetFakeWindow.grid.Children.Remove(GetPicGallery); GetMainWindow.ParentContainer.Children.Add(GetPicGallery); } GetFakeWindow.Hide(); }
internal static void ChangeToHorizontalGallery() { Properties.Settings.Default.FullscreenGallery = false; GalleryLoad.LoadLayout(); if (GetFakeWindow.grid.Children.Contains(GetPicGallery)) { GetFakeWindow.grid.Children.Remove(GetPicGallery); GetMainWindow.ParentContainer.Children.Add(GetPicGallery); } GetFakeWindow.Hide(); }