Beispiel #1
0
 public void LoadTheme()
 {
     ThemeController.RegisterForm(settingsForm);
     ThemeController.RegisterGroupBox(settingsForm.SettingsGB);
     ThemeController.RegisterGroupBox(settingsForm.ThemesGB);
     ThemeController.RegisterTextBox(settingsForm.MovieFilePathTextBox);
     ThemeController.RegisterTextBox(settingsForm.SerieFilePathTextBox);
     ThemeController.RegisterTextBox(settingsForm.BookFilePathTextBox);
     ThemeController.RegisterButton(settingsForm.SaveSettingsButton);
 }
Beispiel #2
0
 public void LoadTheme()
 {
     ThemeController.RegisterForm(mainForm);
     ThemeController.RegisterGroupBox(mainForm.ListOperationsGB);
     ThemeController.RegisterTextBox(mainForm.NameTextBox);
     ThemeController.RegisterTextBox(mainForm.AuthorTextBox);
     ThemeController.RegisterComboBox(mainForm.GenreComboBox);
     ThemeController.RegisterListView(mainForm.MovieListView);
     ThemeController.RegisterListView(mainForm.SerieListView);
     ThemeController.RegisterListView(mainForm.BookListView);
     ThemeController.RegisterButton(mainForm.ClearButton);
     ThemeController.RegisterButton(mainForm.AddButton);
     ThemeController.RegisterButton(mainForm.RemoveButton);
     ThemeController.RegisterButton(mainForm.EditButton);
     ThemeController.RegisterButton(mainForm.SaveButton);
     ThemeController.RegisterButton(mainForm.DiscardButton);
     ThemeController.CurrrentTheme(settingsForm);
 }