예제 #1
0
 public ColorMixerVIewModel(Slider red, Slider green, Slider blue)
 {
     CurrentColor = "Click me";
     selector = new Selector(red, green, blue);
     clickMeCommand=new ClickMeCommand(selector);
     selector.ColorChanged += selector_ColorChanged;
     selector.CurrentColor += selector_CurrentColor;
 }
예제 #2
0
 public ColorMixerVIewModel(Slider red, Slider green, Slider blue)
 {
     CurrentColor           = "Click me";
     selector               = new Selector(red, green, blue);
     clickMeCommand         = new ClickMeCommand(selector);
     selector.ColorChanged += selector_ColorChanged;
     selector.CurrentColor += selector_CurrentColor;
 }