mirror of
https://github.com/VitalickS/BrightSharp.Toolkit.git
synced 2026-03-23 03:11:15 +00:00
Theme.Static.xaml (without compile, no perfomance difference with dynamic). +ThemeManager improvements.
This commit is contained in:
@@ -23,13 +23,9 @@ namespace BrightSharp.Ui.Tests
|
||||
private void Button_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if (Enum.IsDefined(typeof(ColorThemes), ThemeManager.Theme + 1))
|
||||
{
|
||||
ThemeManager.Theme = ThemeManager.Theme + 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
ThemeManager.Theme = ColorThemes.Classic;
|
||||
}
|
||||
tb.Text = ThemeManager.Theme.ToString();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user