diff --git a/ConfigManagerV2/ConfigManagerV2.sln b/ConfigManagerV2/ConfigManagerV2.sln new file mode 100644 index 0000000..b2ffd47 --- /dev/null +++ b/ConfigManagerV2/ConfigManagerV2.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.1.32228.430 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConfigManagerV2", "ConfigManagerV2\ConfigManagerV2.csproj", "{0C1DD2D0-F373-43A3-9B2D-F42BCA33D95A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {0C1DD2D0-F373-43A3-9B2D-F42BCA33D95A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0C1DD2D0-F373-43A3-9B2D-F42BCA33D95A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0C1DD2D0-F373-43A3-9B2D-F42BCA33D95A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0C1DD2D0-F373-43A3-9B2D-F42BCA33D95A}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {C01AB77A-47A7-4587-AA94-315531A5BAA0} + EndGlobalSection +EndGlobal diff --git a/ConfigManagerV2/ConfigManagerV2/App.xaml b/ConfigManagerV2/ConfigManagerV2/App.xaml new file mode 100644 index 0000000..50a0ef0 --- /dev/null +++ b/ConfigManagerV2/ConfigManagerV2/App.xaml @@ -0,0 +1,13 @@ + + + + + + + + + diff --git a/ConfigManagerV2/ConfigManagerV2/App.xaml.cs b/ConfigManagerV2/ConfigManagerV2/App.xaml.cs new file mode 100644 index 0000000..6fc7658 --- /dev/null +++ b/ConfigManagerV2/ConfigManagerV2/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace ConfigManagerV2 +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/ConfigManagerV2/ConfigManagerV2/AssemblyInfo.cs b/ConfigManagerV2/ConfigManagerV2/AssemblyInfo.cs new file mode 100644 index 0000000..8b5504e --- /dev/null +++ b/ConfigManagerV2/ConfigManagerV2/AssemblyInfo.cs @@ -0,0 +1,10 @@ +using System.Windows; + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] diff --git a/ConfigManagerV2/ConfigManagerV2/ConfigManagerV2.csproj b/ConfigManagerV2/ConfigManagerV2/ConfigManagerV2.csproj new file mode 100644 index 0000000..4106cb0 --- /dev/null +++ b/ConfigManagerV2/ConfigManagerV2/ConfigManagerV2.csproj @@ -0,0 +1,10 @@ + + + + WinExe + net6.0-windows + enable + true + + + diff --git a/ConfigManagerV2/ConfigManagerV2/MainWindow.xaml b/ConfigManagerV2/ConfigManagerV2/MainWindow.xaml new file mode 100644 index 0000000..51e1ec2 --- /dev/null +++ b/ConfigManagerV2/ConfigManagerV2/MainWindow.xaml @@ -0,0 +1,20 @@ + + + + + + + + + + + + diff --git a/ConfigManagerV2/ConfigManagerV2/MainWindow.xaml.cs b/ConfigManagerV2/ConfigManagerV2/MainWindow.xaml.cs new file mode 100644 index 0000000..182d39a --- /dev/null +++ b/ConfigManagerV2/ConfigManagerV2/MainWindow.xaml.cs @@ -0,0 +1,44 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace ConfigManagerV2 +{ + /// + /// Interaction logic for MainWindow.xaml + /// + public partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); + } + + #region events + private void changeTheme_Click(object sender, RoutedEventArgs e) + { + switch (int.Parse(((MenuItem)sender).Uid)) + { + case 0: + REghZyFramework.Themes.ThemesController.SetTheme(REghZyFramework.Themes.ThemesController.ThemeTypes.Dark); + break; + case 1: + REghZyFramework.Themes.ThemesController.SetTheme(REghZyFramework.Themes.ThemesController.ThemeTypes.Light); + break; + } + e.Handled = true; + } + #endregion + } +} diff --git a/ConfigManagerV2/ConfigManagerV2/Themes/ColourfulDarkTheme.xaml b/ConfigManagerV2/ConfigManagerV2/Themes/ColourfulDarkTheme.xaml new file mode 100644 index 0000000..7f2ecfd --- /dev/null +++ b/ConfigManagerV2/ConfigManagerV2/Themes/ColourfulDarkTheme.xaml @@ -0,0 +1,4496 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +