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