Пример #1
0
 public DialogConfigure(FrequencyScannerPanel frequencyScannerPanel)
 {
     this.InitializeComponent();
     this._frequencyScannerPanel               = frequencyScannerPanel;
     this.autoSkipCheckBox.Checked             = this._frequencyScannerPanel.AutoSkipEnabled;
     this.skipIntervalNumericUpDown.Value      = this._frequencyScannerPanel.AutoSkipInterval;
     this.autoLockCheckBox.Checked             = this._frequencyScannerPanel.AutoLockEnabled;
     this.LockIntervalNumericUpDown.Value      = this._frequencyScannerPanel.AutoLockInterval;
     this.autoClearCheckBox.Checked            = this._frequencyScannerPanel.AutoClearEnabled;
     this.activityNumericUpDown.Value          = (decimal)this._frequencyScannerPanel.AutoClearActivityLevel;
     this.autoClearIntervalNumericUpDown.Value = this._frequencyScannerPanel.AutoClearInterval;
     this.channelDetectMetodCheckBox.Checked   = this._frequencyScannerPanel.ChannelDetectMetod;
     this.useMuteCheckBox.Checked              = this._frequencyScannerPanel.UseMute;
     this.unMuteNumericUpDown.Value            = this._frequencyScannerPanel.UnMuteDelay;
     this.maximumChannelCheckBox.Checked       = this._frequencyScannerPanel.MaxLevelSelect;
     this.debugCheckBox.Checked                = this._frequencyScannerPanel.ShowDebugInfo;
     this.maxAlphaNumericUpDown.Value          = this._frequencyScannerPanel.MaxButtonsAlpha;
     this.minAlphaNumericUpDown.Value          = this._frequencyScannerPanel.MinButtonsAlpha;
     this.pluginPositionComboBox.SelectedIndex = this._frequencyScannerPanel.ScannerPluginPosition;
 }
Пример #2
0
 public void Initialize(ISharpControl control)
 {
     this._controlInterface      = control;
     this._frequencyScannerPanel = new FrequencyScannerPanel(this._controlInterface);
 }