public void Initialize(ISharpControl control) { this._ifProcessor = new IFProcessor(control); this._ifProcessor.EnableFilter = Utils.GetBooleanSetting("enableZoomFFTFilter"); this._ifProcessor.Control.Visible = Utils.GetBooleanSetting("enableZoomIF"); this._mpxProcessor = new MPXProcessor(control); this._mpxProcessor.ControlEnabled = Utils.GetBooleanSetting("enableZoomMPX"); this._afProcessor = new AFProcessor(control); this._afProcessor.Control.Visible = Utils.GetBooleanSetting("enableZoomAF"); this._controlPanel = new ZoomPanel(this._ifProcessor, this._mpxProcessor, this._afProcessor); }
public void Initialize(ISharpControl control) { _ifProcessor = new IFProcessor(control); _ifProcessor.EnableFilter = Utils.GetBooleanSetting("enableZoomFFTFilter"); _ifProcessor.Control.Visible = Utils.GetBooleanSetting("enableZoomIF"); _mpxProcessor = new MPXProcessor(control); _mpxProcessor.Control.Visible = Utils.GetBooleanSetting("enableZoomMPX"); _afProcessor = new AFProcessor(control); _afProcessor.Control.Visible = Utils.GetBooleanSetting("enableZoomAF"); _controlPanel = new ZoomPanel(_ifProcessor, _mpxProcessor, _afProcessor); }