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