public ProcessorPanel(INoiseProcessor iControl, INoiseProcessor aControl) { this._iControl = iControl; this._aControl = aControl; this.InitializeComponent(); this.ifThresholdTrackBar.Value = this._iControl.NoiseThreshold; this.ifEnableCheckBox.Checked = this._iControl.Enabled; this.audioThresholdTrackBar.Value = this._aControl.NoiseThreshold; this.audioEnableCheckBox.Checked = this._aControl.Enabled; this.ifThresholdTrackBar_Scroll((object) null, (EventArgs) null); this.audioThresholdTrackBar_Scroll((object) null, (EventArgs) null); }
public ProcessorPanel(INoiseProcessor iControl, INoiseProcessor aControl) { this._iControl = iControl; this._aControl = aControl; this.InitializeComponent(); this.ifThresholdTrackBar.Value = this._iControl.NoiseThreshold; this.ifEnableCheckBox.Checked = this._iControl.Enabled; this.audioThresholdTrackBar.Value = this._aControl.NoiseThreshold; this.audioEnableCheckBox.Checked = this._aControl.Enabled; this.ifThresholdTrackBar_Scroll(null, null); this.audioThresholdTrackBar_Scroll(null, null); }
public ProcessorPanel(INoiseProcessor iControl, INoiseProcessor aControl) { _iControl = iControl; _aControl = aControl; InitializeComponent(); ifThresholdTrackBar.Value = _iControl.NoiseThreshold; ifEnableCheckBox.Checked = _iControl.Enabled; audioThresholdTrackBar.Value = _aControl.NoiseThreshold; audioEnableCheckBox.Checked = _aControl.Enabled; ifThresholdTrackBar_Scroll(null, null); audioThresholdTrackBar_Scroll(null, null); }
public NoiseReductionPanel(INoiseProcessor iControl, INoiseProcessor aControl, NoiseBlankerProcessor processor) { this._iControl = iControl; this._aControl = aControl; this._processor = processor; this.InitializeComponent(); this.ifThresholdTrackBar.Value = this._iControl.NoiseThreshold; this.ifEnableCheckBox.Checked = this._iControl.Enabled; this.audioThresholdTrackBar.Value = this._aControl.NoiseThreshold; this.audioEnableCheckbox.Checked = this._aControl.Enabled; this.ifThresholdTrackBar_Scroll(null, null); this.audioThresholdTrackBar_Scroll(null, null); this.thresholdTrackBar.Value = this._processor.NoiseThreshold; this.pulseWidthTrackBar.Value = (int)(this._processor.PulseWidth * 10.0); this.enableCheckBox.Checked = this._processor.Enabled; this.thresholdTrackBar_Scroll(null, null); this.pulseWidthTrackBar_Scroll(null, null); }