Exemple #1
0
 public PicHSWindow(BitmapSource bs)
 {
     InitializeComponent();
     this.bs             = bs;
     Content.DataContext = picHSControl;
     Hue.AddHandler(Slider.MouseLeftButtonUpEvent, new MouseButtonEventHandler(Slider_MouseLeftButtonUp), true);
     Saturation.AddHandler(Slider.MouseLeftButtonUpEvent, new MouseButtonEventHandler(Slider_MouseLeftButtonUp), true);
     Value.AddHandler(Slider.MouseLeftButtonUpEvent, new MouseButtonEventHandler(Slider_MouseLeftButtonUp), true);
 }