Exemplo n.º 1
0
 private void MenuThresholdBinarization_OnClick(object sender, RoutedEventArgs e)
 {
     valuePickWindow = new ValuePickWindow(0, 255);
     valuePickWindow.PropertyChanged += BinarizationThresholdValuePicker_OnChanged;
     valuePickWindow.Closed          += Dialog_OnClosed;
     valuePickWindow.Owner            = this;
     valuePickWindow.Show();
 }
Exemplo n.º 2
0
 private void MenuPercentageBinarization_OnClick(object sender, RoutedEventArgs e)
 {
     valuePickWindow = new ValuePickWindow(0, 100);
     valuePickWindow.PropertyChanged += BinarizationPercentageValuePicker_OnChanged;
     valuePickWindow.Closed          += Dialog_OnClosed;
     valuePickWindow.Owner            = this;
     valuePickWindow.Show();
 }
Exemplo n.º 3
0
 private void MenuChangeBrightness_OnClick(object sender, RoutedEventArgs e)
 {
     valuePickWindow = new ValuePickWindow();
     valuePickWindow.PropertyChanged += BrightenValuePicker_OnChanged;
     valuePickWindow.Closed          += Dialog_OnClosed;
     valuePickWindow.Owner            = this;
     valuePickWindow.Show();
 }