Example #1
0
 public winSettings(SliderControlSettings settings)
 {
     InitializeComponent();
     //this.DataContext = settings;
     ThresholdSliderControl.DataContext  = settings;
     ThresholdSliderControl2.DataContext = settings;
     //ThresholdSliderControl2.DataContext = settings;
 }
Example #2
0
 public MainWindow()
 {
     InitializeComponent();
     sliderControlSettings = new SliderControlSettings("Threshold", 0, 2, 30, 0.1, true, 1.2)
     {
         UseDecimal = true
     };
 }
 public MainWindow()
 {
     InitializeComponent();
     sliderControlSettings = new SliderControlSettings("Threshold", 0, 200, 30);
 }