Esempio n. 1
0
 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 ZoomPanel(IFProcessor ifProcessor, MPXProcessor mpxProcessor, AFProcessor afProcessor)
 {
     InitializeComponent();
     _ifProcessor = ifProcessor;
     _mpxProcessor = mpxProcessor;
     _afProcessor = afProcessor;
     enableFilterCheckBox.Checked = _ifProcessor.EnableFilter && ifProcessor.Control.Visible;
     enableFilterCheckBox.Enabled = ifProcessor.Control.Visible;
     enableIFCheckBox.Checked = ifProcessor.Control.Visible;
     enableMPXCheckBox.Checked = mpxProcessor.Control.Visible;
     enableAudioCheckBox.Checked = afProcessor.Control.Visible;
 }
Esempio n. 3
0
 public ZoomPanel(IFProcessor ifProcessor, MPXProcessor mpxProcessor, AFProcessor afProcessor)
 {
     InitializeComponent();
     _ifProcessor  = ifProcessor;
     _mpxProcessor = mpxProcessor;
     _afProcessor  = afProcessor;
     enableFilterCheckBox.Checked = _ifProcessor.EnableFilter && ifProcessor.Control.Visible;
     enableFilterCheckBox.Enabled = ifProcessor.Control.Visible;
     enableIFCheckBox.Checked     = ifProcessor.Control.Visible;
     enableMPXCheckBox.Checked    = mpxProcessor.Control.Visible;
     enableAudioCheckBox.Checked  = afProcessor.Control.Visible;
 }
Esempio n. 4
0
        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);
        }