Exemple #1
0
 public ConfigurationWindowViewModel()
 {
     configurationItemVMs.SetValue(new System.Collections.ObjectModel.ObservableCollection <ConfigurationItemViewModel>());
     ConfigurationItemVMs.Add(new ConfigurationItemViewModel(ApplicationVM.ProfileVM.PersonalInfoConfigurationVM));
     ConfigurationItemVMs.Add(new ConfigurationItemViewModel(ApplicationVM.ProfileVM.AudioConfigurationVM));
     ConfigurationItemVMs.Add(new ConfigurationItemViewModel(ApplicationVM.ProfileVM.VideoConfigurationVM));
     ConfigurationItemVMs.Add(new ConfigurationItemViewModel(ApplicationVM.ProfileVM.SecurityConfigurationVM));
     currentConfigurationItemVM.SetValue(ConfigurationItemVMs[0]);
     Initialize();
 }
Exemple #2
0
 public ConfigurationWindowViewModel(ConfigurationItemViewModel customizedConfig)
 {
     configurationItemVMs.SetValue(new System.Collections.ObjectModel.ObservableCollection <ConfigurationItemViewModel>());
     ConfigurationItemVMs.Add(customizedConfig);
     Initialize();
 }