diff --git a/ColorPicker/App.xaml.cs b/ColorPicker/App.xaml.cs index 20b46f5..bd9da8b 100644 --- a/ColorPicker/App.xaml.cs +++ b/ColorPicker/App.xaml.cs @@ -46,6 +46,7 @@ protected override void OnStartup(StartupEventArgs e) Global.PickerPage = new(); // Create a new PickerPage Global.ConverterPage = new(); // Create a new ConverterPage + Global.PalettePage = new(); // Create a new ConverterPage Global.SettingsPage = new(); // Create a new SettingsPage base.OnStartup(e); diff --git a/ColorPicker/Classes/Global.cs b/ColorPicker/Classes/Global.cs index 8cd17b8..1b8e0f5 100644 --- a/ColorPicker/Classes/Global.cs +++ b/ColorPicker/Classes/Global.cs @@ -65,6 +65,11 @@ public static class Global /// public static ConverterPage ConverterPage { get; set; } + /// + /// The . + /// + public static PalettePage PalettePage { get; set; } + /// /// The . /// diff --git a/ColorPicker/MainWindow.xaml b/ColorPicker/MainWindow.xaml index d01feb5..b87f2aa 100644 --- a/ColorPicker/MainWindow.xaml +++ b/ColorPicker/MainWindow.xaml @@ -162,7 +162,7 @@ +