private void btnResetGain_Click(object sender, EventArgs e) { UpDownGain.Value = (decimal)camera1.GainInitValue; UpDownGain.Refresh(); }
private void trackBarGain_Scroll(object sender, EventArgs e) { UpDownGain.Value = trackBarGain.Value; UpDownGain.Refresh(); }