Exemple #1
0
 private static void OnSystemAccentCheckTimerTick(object sender, EventArgs eventArgs)
 {
     if (AccentColorSet.ActiveSet.IsColorUpdated("SystemAccent"))
     {
         AppearanceManager.Current.AccentColor = AccentColorSet.ActiveSet["SystemAccent"];
         SystemColorsChanged?.Invoke(null, EventArgs.Empty);
     }
 }
Exemple #2
0
 private static void fireColorsChangedEvents()
 {
     SystemColorsChanging?.Invoke();
     SystemColorsChanged?.Invoke();
 }