private void ThresholdForm_Load(object sender, EventArgs e) { threshold = new Adjustments(); thresholdTrackBar.Value = 128; thresholdValue.Text = "128"; }
private void BrightnessContrastForm_Load(object sender, EventArgs e) { brightnessContast = new Adjustments(); brightnessTrackBar.Value = 0; brightnessValue.Text = "0"; contrastTrackBar.Value = 0; contrastValue.Text = "0"; }
private void ColorBalanceForm_Load(object sender, EventArgs e) { colorBalance = new Adjustments(); redTrackBar.Value = 0; redValue.Text = "0"; greenTrackBar.Value = 0; greenValue.Text = "0"; blueTrackBar.Value = 0; blueValue.Text = "0"; }
private void ExposureForm_Load(object sender, EventArgs e) { exposure = new Adjustments(); exposureTrackBar.Minimum = -200; exposureTrackBar.Maximum = 200; exposureTrackBar.Value = 0; exposureValue.Text = "0,00"; gammaTrackBar.Minimum = 1; gammaTrackBar.Maximum = 799; gammaTrackBar.Value = 400; gammaValue.Text = "1,00"; }