Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
 public IEnumerable <ConfigurationSection> GetConfigurationSections()
 {
     return(WindowsUserInterfaceConfiguration.GetConfigurationSections());
 }