Use theme colors

This commit is contained in:
Michael Becker 2015-05-05 10:45:30 -04:00
parent 272d32e930
commit b899bbbf20
2 changed files with 8 additions and 0 deletions

View File

@ -21,6 +21,8 @@ namespace UniversalEditor.UserInterface.WindowsForms.Dialogs
RefreshProjectTemplates();
tvProject.Sort();
// UseThemeBackground = true;
}
private NewDialogMode mvarMode = NewDialogMode.File;

View File

@ -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();
}