Esempio n. 1
0
 private IApplyable Wrap(DisablablePairColorElement elem, string desc)
 {
     return new DisablablePairColorElementViewModel(desc, elem);
 }
Esempio n. 2
0
 public DisablablePairColorElementViewModel(string description, DisablablePairColorElement pelem)
 {
     this._description = description;
     this._lightViewModel = new DisablableColorElementViewModel(description, pelem.LightColor);
     this._darkViewModel = new DisablableColorElementViewModel(description, pelem.DarkColor);
 }
Esempio n. 3
0
 private void RefreshValue(DisablablePairColorElementViewModel vm, DisablablePairColorElement ce)
 {
     vm.LightViewModel.CPBViewModel.CurrentColor = ce.GetLightColor();
     vm.DarkViewModel.CPBViewModel.CurrentColor = ce.GetDarkColor();
 }