From b899bbbf201b3c3039f76b99239ae74919f5cbf5 Mon Sep 17 00:00:00 2001 From: alcexhim Date: Tue, 5 May 2015 10:45:30 -0400 Subject: [PATCH] Use theme colors --- .../Dialogs/NewDialog.cs | 2 ++ .../Controls/DocumentTypeSelector.cs | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Dialogs/NewDialog.cs b/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Dialogs/NewDialog.cs index e0e1d841..b712cd6d 100644 --- a/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Dialogs/NewDialog.cs +++ b/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Dialogs/NewDialog.cs @@ -21,6 +21,8 @@ namespace UniversalEditor.UserInterface.WindowsForms.Dialogs RefreshProjectTemplates(); tvProject.Sort(); + + // UseThemeBackground = true; } private NewDialogMode mvarMode = NewDialogMode.File; diff --git a/CSharp/Engines/WindowsForms/Libraries/UniversalEditor.UserInterface.WindowsForms/Controls/DocumentTypeSelector.cs b/CSharp/Engines/WindowsForms/Libraries/UniversalEditor.UserInterface.WindowsForms/Controls/DocumentTypeSelector.cs index 4753c91d..4aa55641 100644 --- a/CSharp/Engines/WindowsForms/Libraries/UniversalEditor.UserInterface.WindowsForms/Controls/DocumentTypeSelector.cs +++ b/CSharp/Engines/WindowsForms/Libraries/UniversalEditor.UserInterface.WindowsForms/Controls/DocumentTypeSelector.cs @@ -17,6 +17,12 @@ namespace UniversalEditor.UserInterface.WindowsForms.Controls { InitializeComponent(); + txtSearch.BackColor = AwesomeControls.Theming.Theme.CurrentTheme.ColorTable.WindowBackground; + txtSearch.ForeColor = AwesomeControls.Theming.Theme.CurrentTheme.ColorTable.WindowForeground; + + tvObjectModels.BackColor = AwesomeControls.Theming.Theme.CurrentTheme.ColorTable.WindowBackground; + tvObjectModels.ForeColor = AwesomeControls.Theming.Theme.CurrentTheme.ColorTable.WindowForeground; + imlLargeIcons.PopulateSystemIcons(); imlSmallIcons.PopulateSystemIcons(); }