Beispiel #1
0
 public override void InitializeComponent(ICore core)
 {
     this.Configuration = core.Components.Configuration;
     this.Configuration.GetElement <SelectionConfigurationElement>(
         WindowsUserInterfaceConfiguration.SECTION,
         WindowsUserInterfaceConfiguration.THEME_ELEMENT
         ).ConnectValue(value => this.SetTheme(() => WindowsUserInterfaceConfiguration.GetTheme(value)));
     base.InitializeComponent(core);
 }
 public IEnumerable <ConfigurationSection> GetConfigurationSections()
 {
     return(WindowsUserInterfaceConfiguration.GetConfigurationSections());
 }