private void CropWindow_Loaded(object sender, RoutedEventArgs e) { var oP = new OptionsProperties(); SecimValue.Value = oP.GetOption <double>("ContourThickness"); DogrulukValue.Value = oP.GetOption <double>("SuccessRate"); DetailSlider.Value = ContourOptions.GetOption <double>("AdaptiveThresholdBlockSize"); }
private void MenuItem_Click_3(object sender, RoutedEventArgs e) { var videoSettings = new VideoSettings(_processor); videoSettings.ShowDialog(); _processor = videoSettings.Processor; DetailSlider.Value = ContourOptions.GetOption <double>("AdaptiveThresholdBlockSize"); }