public PreferencesForm(PreferencesFormStyler preferencesFormStyler)
 {
     InitializeComponent();
     statusTimer          = new System.Timers.Timer();
     statusTimer.Elapsed += StatusTimer_Elapsed;
     statusTimer.Interval = 5000;
     preferencesFormStyler.ApplyTheme(ThemeType.Dark, this);
 }
Esempio n. 2
0
 public void RenderTheme()
 {
     _preferencesFormStyler.ApplyTheme(AppReferences.CurrentTheme, this);
     Refresh();
 }