private void MoveNextPanel()
 {
     if (this._nextPanel != null)
     {
         CollapsiblePanel nextPanel = this._nextPanel;
         Point            location  = base.Location;
         int x = location.X;
         location           = base.Location;
         nextPanel.Location = new Point(x, location.Y + base.Size.Height);
     }
 }
Exemple #2
0
        private void CreatePluginCollapsiblePanel(ISharpPlugin plugin)
        {
            var panelContents = plugin.GuiControl;

            if (panelContents != null)
            {
                panelContents.Padding = new Padding(0, 20, 0, 0);

                var newPanel = new CollapsiblePanel.CollapsiblePanel();
                newPanel.PanelTitle = plugin.DisplayName + " (Plugin)";

                newPanel.PanelState = CollapsiblePanel.PanelStateOptions.Collapsed;
                newPanel.Controls.Add(panelContents);

                if (displayCollapsiblePanel.NextPanel == null)
                {
                    displayCollapsiblePanel.NextPanel = newPanel;
                }
                else
                {
                    newPanel.NextPanel = displayCollapsiblePanel.NextPanel;
                    displayCollapsiblePanel.NextPanel = newPanel;
                }

                newPanel.Width = displayCollapsiblePanel.Width;
                newPanel.ExpandedHeight = panelContents.Height;

                panelContents.Width = newPanel.Width;

                controlPanel.Controls.Add(newPanel);
            }
        }
Exemple #3
0
 private void InitializeComponent()
 {
     this.components = (IContainer) new Container();
       ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (MainForm));
       this.openDlg = new OpenFileDialog();
       this.iqTimer = new System.Windows.Forms.Timer(this.components);
       this.fftContrastTrackBar = new TrackBar();
       this.fftZoomTrackBar = new TrackBar();
       this.label19 = new Label();
       this.label20 = new Label();
       this.controlPanel = new Panel();
       this.sourceCollapsiblePanel = new CollapsiblePanel();
       this.tableLayoutPanel6 = new TableLayoutPanel();
       this.iqSourceComboBox = new ComboBox();
       this.radioCollapsiblePanel = new CollapsiblePanel();
       this.radioTableLayoutPanel = new TableLayoutPanel();
       this.swapIQCheckBox = new CheckBox();
       this.frequencyShiftCheckBox = new CheckBox();
       this.tableLayoutPanel7 = new TableLayoutPanel();
       this.amRadioButton = new RadioButton();
       this.nfmRadioButton = new RadioButton();
       this.lsbRadioButton = new RadioButton();
       this.usbRadioButton = new RadioButton();
       this.wfmRadioButton = new RadioButton();
       this.dsbRadioButton = new RadioButton();
       this.cwRadioButton = new RadioButton();
       this.rawRadioButton = new RadioButton();
       this.useSquelchCheckBox = new CheckBox();
       this.stepSizeComboBox = new ComboBox();
       this.cwShiftNumericUpDown = new NumericUpDown();
       this.label18 = new Label();
       this.label15 = new Label();
       this.squelchNumericUpDown = new NumericUpDown();
       this.filterBandwidthNumericUpDown = new NumericUpDown();
       this.label1 = new Label();
       this.label5 = new Label();
       this.filterOrderNumericUpDown = new NumericUpDown();
       this.frequencyShiftNumericUpDown = new NumericUpDown();
       this.filterTypeComboBox = new ComboBox();
       this.label16 = new Label();
       this.correctIQCheckBox = new CheckBox();
       this.snapFrequencyCheckBox = new CheckBox();
       this.lockCarrierCheckBox = new CheckBox();
       this.fmStereoCheckBox = new CheckBox();
       this.useAntiFadingCheckBox = new CheckBox();
       this.audioCollapsiblePanel = new CollapsiblePanel();
       this.tableLayoutPanel1 = new TableLayoutPanel();
       this.label13 = new Label();
       this.sampleRateComboBox = new ComboBox();
       this.label11 = new Label();
       this.inputDeviceComboBox = new ComboBox();
       this.label12 = new Label();
       this.outputDeviceComboBox = new ComboBox();
       this.latencyNumericUpDown = new NumericUpDown();
       this.label6 = new Label();
       this.unityGainCheckBox = new CheckBox();
       this.filterAudioCheckBox = new CheckBox();
       this.agcCollapsiblePanel = new CollapsiblePanel();
       this.tableLayoutPanel2 = new TableLayoutPanel();
       this.agcCheckBox = new CheckBox();
       this.agcSlopeNumericUpDown = new NumericUpDown();
       this.agcUseHangCheckBox = new CheckBox();
       this.label22 = new Label();
       this.label4 = new Label();
       this.agcDecayNumericUpDown = new NumericUpDown();
       this.label10 = new Label();
       this.agcThresholdNumericUpDown = new NumericUpDown();
       this.fftCollapsiblePanel = new CollapsiblePanel();
       this.tableLayoutPanel3 = new TableLayoutPanel();
       this.label7 = new Label();
       this.viewComboBox = new ComboBox();
       this.label8 = new Label();
       this.fftWindowComboBox = new ComboBox();
       this.label21 = new Label();
       this.fftResolutionComboBox = new ComboBox();
       this.groupBox1 = new GroupBox();
       this.tableLayoutPanel5 = new TableLayoutPanel();
       this.label28 = new Label();
       this.fftSpeedTrackBar = new TrackBar();
       this.smoothingGroupBox = new GroupBox();
       this.tableLayoutPanel4 = new TableLayoutPanel();
       this.label23 = new Label();
       this.wDecayTrackBar = new TrackBar();
       this.wAttackTrackBar = new TrackBar();
       this.label25 = new Label();
       this.sDecayTrackBar = new TrackBar();
       this.sAttackTrackBar = new TrackBar();
       this.label24 = new Label();
       this.label26 = new Label();
       this.markPeaksCheckBox = new CheckBox();
       this.useTimestampsCheckBox = new CheckBox();
       this.label14 = new Label();
       this.gradientButton = new Button();
       this.label3 = new Label();
       this.spectrumStyleComboBox = new ComboBox();
       this.fftOffsetTrackBar = new TrackBar();
       this.fftRangeTrackBar = new TrackBar();
       this.audioGainTrackBar = new TrackBar();
       this.label17 = new Label();
       this.scrollPanel = new Panel();
       this.vfoFrequencyEdit = new FrequencyEdit();
       this.rightTableLayoutPanel = new TableLayoutPanel();
       this.label2 = new Label();
       this.centerPanel = new Panel();
       this.spectrumPanel = new Panel();
       this.spectrumSplitter = new Splitter();
       this.waterfall = new Waterfall();
       this.spectrumAnalyzer = new SpectrumAnalyzer();
       this.bottomSplitter = new Splitter();
       this.bottomPluginPanel = new TableLayoutPanel();
       this.topSplitter = new Splitter();
       this.topPluginPanel = new TableLayoutPanel();
       this.rightSplitter = new Splitter();
       this.leftSplitter = new Splitter();
       this.leftPluginPanel = new TableLayoutPanel();
       this.rightPluginPanel = new TableLayoutPanel();
       this.settingsTableLayoutPanel = new TableLayoutPanel();
       this.playStopButton = new Button();
       this.configureSourceButton = new Button();
       this.toggleMenuButton = new Button();
       this.muteButton = new Button();
       this.centerButton = new Button();
       this.menuSpacerPanel = new Panel();
       this.fftContrastTrackBar.BeginInit();
       this.fftZoomTrackBar.BeginInit();
       this.controlPanel.SuspendLayout();
       this.sourceCollapsiblePanel.Content.SuspendLayout();
       this.sourceCollapsiblePanel.SuspendLayout();
       this.tableLayoutPanel6.SuspendLayout();
       this.radioCollapsiblePanel.Content.SuspendLayout();
       this.radioCollapsiblePanel.SuspendLayout();
       this.radioTableLayoutPanel.SuspendLayout();
       this.tableLayoutPanel7.SuspendLayout();
       this.cwShiftNumericUpDown.BeginInit();
       this.squelchNumericUpDown.BeginInit();
       this.filterBandwidthNumericUpDown.BeginInit();
       this.filterOrderNumericUpDown.BeginInit();
       this.frequencyShiftNumericUpDown.BeginInit();
       this.audioCollapsiblePanel.Content.SuspendLayout();
       this.audioCollapsiblePanel.SuspendLayout();
       this.tableLayoutPanel1.SuspendLayout();
       this.latencyNumericUpDown.BeginInit();
       this.agcCollapsiblePanel.Content.SuspendLayout();
       this.agcCollapsiblePanel.SuspendLayout();
       this.tableLayoutPanel2.SuspendLayout();
       this.agcSlopeNumericUpDown.BeginInit();
       this.agcDecayNumericUpDown.BeginInit();
       this.agcThresholdNumericUpDown.BeginInit();
       this.fftCollapsiblePanel.Content.SuspendLayout();
       this.fftCollapsiblePanel.SuspendLayout();
       this.tableLayoutPanel3.SuspendLayout();
       this.groupBox1.SuspendLayout();
       this.tableLayoutPanel5.SuspendLayout();
       this.fftSpeedTrackBar.BeginInit();
       this.smoothingGroupBox.SuspendLayout();
       this.tableLayoutPanel4.SuspendLayout();
       this.wDecayTrackBar.BeginInit();
       this.wAttackTrackBar.BeginInit();
       this.sDecayTrackBar.BeginInit();
       this.sAttackTrackBar.BeginInit();
       this.fftOffsetTrackBar.BeginInit();
       this.fftRangeTrackBar.BeginInit();
       this.audioGainTrackBar.BeginInit();
       this.scrollPanel.SuspendLayout();
       this.rightTableLayoutPanel.SuspendLayout();
       this.centerPanel.SuspendLayout();
       this.spectrumPanel.SuspendLayout();
       this.settingsTableLayoutPanel.SuspendLayout();
       this.SuspendLayout();
       this.openDlg.DefaultExt = "wav";
       this.openDlg.Filter = "WAV files|*.wav";
       this.iqTimer.Enabled = true;
       this.iqTimer.Interval = 500;
       this.iqTimer.Tick += new EventHandler(this.iqTimer_Tick);
       this.fftContrastTrackBar.Anchor = AnchorStyles.Top | AnchorStyles.Bottom;
       this.fftContrastTrackBar.Location = new Point(3, 175);
       this.fftContrastTrackBar.Maximum = 24;
       this.fftContrastTrackBar.Minimum = -24;
       this.fftContrastTrackBar.Name = "fftContrastTrackBar";
       this.fftContrastTrackBar.Orientation = Orientation.Vertical;
       this.fftContrastTrackBar.RightToLeftLayout = true;
       this.fftContrastTrackBar.Size = new Size(45, 140);
       this.fftContrastTrackBar.TabIndex = 1;
       this.fftContrastTrackBar.TickFrequency = 6;
       this.fftContrastTrackBar.TickStyle = TickStyle.Both;
       this.fftContrastTrackBar.ValueChanged += new EventHandler(this.fftContrastTrackBar_Changed);
       this.fftZoomTrackBar.Anchor = AnchorStyles.Top | AnchorStyles.Bottom;
       this.fftZoomTrackBar.Location = new Point(3, 16);
       this.fftZoomTrackBar.Maximum = 50;
       this.fftZoomTrackBar.Name = "fftZoomTrackBar";
       this.fftZoomTrackBar.Orientation = Orientation.Vertical;
       this.fftZoomTrackBar.RightToLeftLayout = true;
       this.fftZoomTrackBar.Size = new Size(45, 140);
       this.fftZoomTrackBar.TabIndex = 0;
       this.fftZoomTrackBar.TickFrequency = 5;
       this.fftZoomTrackBar.TickStyle = TickStyle.Both;
       this.fftZoomTrackBar.ValueChanged += new EventHandler(this.fftZoomTrackBar_ValueChanged);
       this.label19.Anchor = AnchorStyles.None;
       this.label19.AutoSize = true;
       this.label19.Location = new Point(9, 0);
       this.label19.Name = "label19";
       this.label19.Size = new Size(34, 13);
       this.label19.TabIndex = 19;
       this.label19.Text = "Zoom";
       this.label19.TextAlign = ContentAlignment.MiddleCenter;
       this.label20.Anchor = AnchorStyles.None;
       this.label20.AutoSize = true;
       this.label20.Location = new Point(3, 159);
       this.label20.Name = "label20";
       this.label20.Size = new Size(46, 13);
       this.label20.TabIndex = 20;
       this.label20.Text = "Contrast";
       this.label20.TextAlign = ContentAlignment.MiddleCenter;
       this.controlPanel.AutoSize = true;
       this.controlPanel.AutoSizeMode = AutoSizeMode.GrowAndShrink;
       this.controlPanel.Controls.Add((Control) this.sourceCollapsiblePanel);
       this.controlPanel.Controls.Add((Control) this.radioCollapsiblePanel);
       this.controlPanel.Controls.Add((Control) this.audioCollapsiblePanel);
       this.controlPanel.Controls.Add((Control) this.fftCollapsiblePanel);
       this.controlPanel.Controls.Add((Control) this.agcCollapsiblePanel);
       this.controlPanel.Location = new Point(0, 0);
       this.controlPanel.Margin = new Padding(0);
       this.controlPanel.Name = "controlPanel";
       this.controlPanel.Size = new Size(227, 1184);
       this.controlPanel.TabIndex = 25;
       this.sourceCollapsiblePanel.Content.Controls.Add((Control) this.tableLayoutPanel6);
       this.sourceCollapsiblePanel.Content.Location = new Point(0, 24);
       this.sourceCollapsiblePanel.Content.Margin = new Padding(2);
       this.sourceCollapsiblePanel.Content.Name = "Content";
       this.sourceCollapsiblePanel.Content.Size = new Size(224, 31);
       this.sourceCollapsiblePanel.Content.TabIndex = 1;
       this.sourceCollapsiblePanel.Location = new Point(0, 0);
       this.sourceCollapsiblePanel.Margin = new Padding(0);
       this.sourceCollapsiblePanel.Name = "sourceCollapsiblePanel";
       this.sourceCollapsiblePanel.NextPanel = this.radioCollapsiblePanel;
       this.sourceCollapsiblePanel.PanelTitle = "Source";
       this.sourceCollapsiblePanel.Size = new Size(224, 55);
       this.sourceCollapsiblePanel.TabIndex = 4;
       this.tableLayoutPanel6.ColumnCount = 1;
       this.tableLayoutPanel6.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f));
       this.tableLayoutPanel6.Controls.Add((Control) this.iqSourceComboBox, 0, 0);
       this.tableLayoutPanel6.Dock = DockStyle.Fill;
       this.tableLayoutPanel6.Location = new Point(0, 0);
       this.tableLayoutPanel6.Name = "tableLayoutPanel6";
       this.tableLayoutPanel6.RowCount = 1;
       this.tableLayoutPanel6.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
       this.tableLayoutPanel6.RowStyles.Add(new RowStyle(SizeType.Absolute, 31f));
       this.tableLayoutPanel6.Size = new Size(224, 31);
       this.tableLayoutPanel6.TabIndex = 0;
       this.iqSourceComboBox.Anchor = AnchorStyles.Left | AnchorStyles.Right;
       this.iqSourceComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
       this.iqSourceComboBox.DropDownWidth = 250;
       this.iqSourceComboBox.FormattingEnabled = true;
       this.iqSourceComboBox.Location = new Point(3, 5);
       this.iqSourceComboBox.Name = "iqSourceComboBox";
       this.iqSourceComboBox.Size = new Size(218, 21);
       this.iqSourceComboBox.TabIndex = 1;
       this.iqSourceComboBox.SelectedIndexChanged += new EventHandler(this.iqSourceComboBox_SelectedIndexChanged);
       this.radioCollapsiblePanel.Content.Controls.Add((Control) this.radioTableLayoutPanel);
       this.radioCollapsiblePanel.Content.Location = new Point(0, 24);
       this.radioCollapsiblePanel.Content.Name = "Content";
       this.radioCollapsiblePanel.Content.Size = new Size(224, 304);
       this.radioCollapsiblePanel.Content.TabIndex = 1;
       this.radioCollapsiblePanel.Location = new Point(0, 55);
       this.radioCollapsiblePanel.Margin = new Padding(0);
       this.radioCollapsiblePanel.Name = "radioCollapsiblePanel";
       this.radioCollapsiblePanel.NextPanel = this.audioCollapsiblePanel;
       this.radioCollapsiblePanel.PanelTitle = "Radio";
       this.radioCollapsiblePanel.Size = new Size(224, 328);
       this.radioCollapsiblePanel.TabIndex = 0;
       this.radioTableLayoutPanel.ColumnCount = 4;
       this.radioTableLayoutPanel.ColumnStyles.Add(new ColumnStyle());
       this.radioTableLayoutPanel.ColumnStyles.Add(new ColumnStyle());
       this.radioTableLayoutPanel.ColumnStyles.Add(new ColumnStyle());
       this.radioTableLayoutPanel.ColumnStyles.Add(new ColumnStyle());
       this.radioTableLayoutPanel.Controls.Add((Control) this.swapIQCheckBox, 2, 10);
       this.radioTableLayoutPanel.Controls.Add((Control) this.frequencyShiftCheckBox, 0, 1);
       this.radioTableLayoutPanel.Controls.Add((Control) this.tableLayoutPanel7, 0, 0);
       this.radioTableLayoutPanel.Controls.Add((Control) this.useSquelchCheckBox, 0, 5);
       this.radioTableLayoutPanel.Controls.Add((Control) this.stepSizeComboBox, 2, 8);
       this.radioTableLayoutPanel.Controls.Add((Control) this.cwShiftNumericUpDown, 2, 6);
       this.radioTableLayoutPanel.Controls.Add((Control) this.label18, 2, 7);
       this.radioTableLayoutPanel.Controls.Add((Control) this.label15, 2, 5);
       this.radioTableLayoutPanel.Controls.Add((Control) this.squelchNumericUpDown, 0, 6);
       this.radioTableLayoutPanel.Controls.Add((Control) this.filterBandwidthNumericUpDown, 0, 4);
       this.radioTableLayoutPanel.Controls.Add((Control) this.label1, 0, 3);
       this.radioTableLayoutPanel.Controls.Add((Control) this.label5, 2, 3);
       this.radioTableLayoutPanel.Controls.Add((Control) this.filterOrderNumericUpDown, 2, 4);
       this.radioTableLayoutPanel.Controls.Add((Control) this.frequencyShiftNumericUpDown, 1, 1);
       this.radioTableLayoutPanel.Controls.Add((Control) this.filterTypeComboBox, 1, 2);
       this.radioTableLayoutPanel.Controls.Add((Control) this.label16, 0, 2);
       this.radioTableLayoutPanel.Controls.Add((Control) this.correctIQCheckBox, 2, 9);
       this.radioTableLayoutPanel.Controls.Add((Control) this.snapFrequencyCheckBox, 0, 8);
       this.radioTableLayoutPanel.Controls.Add((Control) this.lockCarrierCheckBox, 0, 9);
       this.radioTableLayoutPanel.Controls.Add((Control) this.fmStereoCheckBox, 0, 7);
       this.radioTableLayoutPanel.Controls.Add((Control) this.useAntiFadingCheckBox, 0, 10);
       this.radioTableLayoutPanel.Dock = DockStyle.Fill;
       this.radioTableLayoutPanel.Location = new Point(0, 0);
       this.radioTableLayoutPanel.Name = "radioTableLayoutPanel";
       this.radioTableLayoutPanel.RowCount = 11;
       this.radioTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
       this.radioTableLayoutPanel.RowStyles.Add(new RowStyle());
       this.radioTableLayoutPanel.RowStyles.Add(new RowStyle());
       this.radioTableLayoutPanel.RowStyles.Add(new RowStyle());
       this.radioTableLayoutPanel.RowStyles.Add(new RowStyle());
       this.radioTableLayoutPanel.RowStyles.Add(new RowStyle());
       this.radioTableLayoutPanel.RowStyles.Add(new RowStyle());
       this.radioTableLayoutPanel.RowStyles.Add(new RowStyle());
       this.radioTableLayoutPanel.RowStyles.Add(new RowStyle());
       this.radioTableLayoutPanel.RowStyles.Add(new RowStyle());
       this.radioTableLayoutPanel.RowStyles.Add(new RowStyle());
       this.radioTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 20f));
       this.radioTableLayoutPanel.Size = new Size(224, 304);
       this.radioTableLayoutPanel.TabIndex = 34;
       this.swapIQCheckBox.Anchor = AnchorStyles.Right;
       this.swapIQCheckBox.AutoSize = true;
       this.radioTableLayoutPanel.SetColumnSpan((Control) this.swapIQCheckBox, 2);
       this.swapIQCheckBox.Location = new Point(143, 284);
       this.swapIQCheckBox.Name = "swapIQCheckBox";
       this.swapIQCheckBox.RightToLeft = RightToLeft.Yes;
       this.swapIQCheckBox.Size = new Size(79, 17);
       this.swapIQCheckBox.TabIndex = 25;
       this.swapIQCheckBox.Text = "Swap I && Q";
       this.swapIQCheckBox.UseVisualStyleBackColor = true;
       this.swapIQCheckBox.CheckedChanged += new EventHandler(this.swapIQCheckBox_CheckedChanged);
       this.frequencyShiftCheckBox.Anchor = AnchorStyles.Left;
       this.frequencyShiftCheckBox.AutoSize = true;
       this.frequencyShiftCheckBox.Location = new Point(3, 69);
       this.frequencyShiftCheckBox.Name = "frequencyShiftCheckBox";
       this.frequencyShiftCheckBox.Size = new Size(47, 17);
       this.frequencyShiftCheckBox.TabIndex = 7;
       this.frequencyShiftCheckBox.Text = "Shift";
       this.frequencyShiftCheckBox.UseVisualStyleBackColor = true;
       this.frequencyShiftCheckBox.CheckedChanged += new EventHandler(this.frequencyShiftCheckBox_CheckStateChanged);
       this.tableLayoutPanel7.ColumnCount = 4;
       this.radioTableLayoutPanel.SetColumnSpan((Control) this.tableLayoutPanel7, 4);
       this.tableLayoutPanel7.ColumnStyles.Add(new ColumnStyle());
       this.tableLayoutPanel7.ColumnStyles.Add(new ColumnStyle());
       this.tableLayoutPanel7.ColumnStyles.Add(new ColumnStyle());
       this.tableLayoutPanel7.ColumnStyles.Add(new ColumnStyle());
       this.tableLayoutPanel7.Controls.Add((Control) this.amRadioButton, 1, 0);
       this.tableLayoutPanel7.Controls.Add((Control) this.nfmRadioButton, 0, 0);
       this.tableLayoutPanel7.Controls.Add((Control) this.lsbRadioButton, 2, 0);
       this.tableLayoutPanel7.Controls.Add((Control) this.usbRadioButton, 3, 0);
       this.tableLayoutPanel7.Controls.Add((Control) this.wfmRadioButton, 0, 1);
       this.tableLayoutPanel7.Controls.Add((Control) this.dsbRadioButton, 1, 1);
       this.tableLayoutPanel7.Controls.Add((Control) this.cwRadioButton, 2, 1);
       this.tableLayoutPanel7.Controls.Add((Control) this.rawRadioButton, 3, 1);
       this.tableLayoutPanel7.Dock = DockStyle.Fill;
       this.tableLayoutPanel7.Location = new Point(3, 3);
       this.tableLayoutPanel7.Name = "tableLayoutPanel7";
       this.tableLayoutPanel7.RowCount = 2;
       this.tableLayoutPanel7.RowStyles.Add(new RowStyle(SizeType.Percent, 50f));
       this.tableLayoutPanel7.RowStyles.Add(new RowStyle(SizeType.Percent, 50f));
       this.tableLayoutPanel7.Size = new Size(219, 57);
       this.tableLayoutPanel7.TabIndex = 32;
       this.amRadioButton.Anchor = AnchorStyles.Left;
       this.amRadioButton.AutoSize = true;
       this.amRadioButton.Location = new Point(60, 5);
       this.amRadioButton.Name = "amRadioButton";
       this.amRadioButton.Size = new Size(41, 17);
       this.amRadioButton.TabIndex = 1;
       this.amRadioButton.Text = "AM";
       this.amRadioButton.UseVisualStyleBackColor = true;
       this.amRadioButton.CheckedChanged += new EventHandler(this.modeRadioButton_CheckStateChanged);
       this.nfmRadioButton.Anchor = AnchorStyles.Left;
       this.nfmRadioButton.AutoSize = true;
       this.nfmRadioButton.Location = new Point(3, 5);
       this.nfmRadioButton.Name = "nfmRadioButton";
       this.nfmRadioButton.Size = new Size(48, 17);
       this.nfmRadioButton.TabIndex = 0;
       this.nfmRadioButton.Text = "NFM";
       this.nfmRadioButton.UseVisualStyleBackColor = true;
       this.nfmRadioButton.CheckedChanged += new EventHandler(this.modeRadioButton_CheckStateChanged);
       this.lsbRadioButton.Anchor = AnchorStyles.Left;
       this.lsbRadioButton.AutoSize = true;
       this.lsbRadioButton.Location = new Point(113, 5);
       this.lsbRadioButton.Name = "lsbRadioButton";
       this.lsbRadioButton.Size = new Size(45, 17);
       this.lsbRadioButton.TabIndex = 2;
       this.lsbRadioButton.Text = "LSB";
       this.lsbRadioButton.UseVisualStyleBackColor = true;
       this.lsbRadioButton.CheckedChanged += new EventHandler(this.modeRadioButton_CheckStateChanged);
       this.usbRadioButton.Anchor = AnchorStyles.Left;
       this.usbRadioButton.AutoSize = true;
       this.usbRadioButton.Location = new Point(164, 5);
       this.usbRadioButton.Name = "usbRadioButton";
       this.usbRadioButton.Size = new Size(47, 17);
       this.usbRadioButton.TabIndex = 3;
       this.usbRadioButton.Text = "USB";
       this.usbRadioButton.UseVisualStyleBackColor = true;
       this.usbRadioButton.CheckedChanged += new EventHandler(this.modeRadioButton_CheckStateChanged);
       this.wfmRadioButton.Anchor = AnchorStyles.Left;
       this.wfmRadioButton.AutoSize = true;
       this.wfmRadioButton.Location = new Point(3, 34);
       this.wfmRadioButton.Name = "wfmRadioButton";
       this.wfmRadioButton.Size = new Size(51, 17);
       this.wfmRadioButton.TabIndex = 4;
       this.wfmRadioButton.Text = "WFM";
       this.wfmRadioButton.UseVisualStyleBackColor = true;
       this.wfmRadioButton.CheckedChanged += new EventHandler(this.modeRadioButton_CheckStateChanged);
       this.dsbRadioButton.Anchor = AnchorStyles.Left;
       this.dsbRadioButton.AutoSize = true;
       this.dsbRadioButton.Location = new Point(60, 34);
       this.dsbRadioButton.Name = "dsbRadioButton";
       this.dsbRadioButton.Size = new Size(47, 17);
       this.dsbRadioButton.TabIndex = 5;
       this.dsbRadioButton.Text = "DSB";
       this.dsbRadioButton.UseVisualStyleBackColor = true;
       this.dsbRadioButton.CheckedChanged += new EventHandler(this.modeRadioButton_CheckStateChanged);
       this.cwRadioButton.Anchor = AnchorStyles.Left;
       this.cwRadioButton.AutoSize = true;
       this.cwRadioButton.Location = new Point(113, 34);
       this.cwRadioButton.Name = "cwRadioButton";
       this.cwRadioButton.Size = new Size(43, 17);
       this.cwRadioButton.TabIndex = 6;
       this.cwRadioButton.Text = "CW";
       this.cwRadioButton.UseVisualStyleBackColor = true;
       this.cwRadioButton.CheckedChanged += new EventHandler(this.modeRadioButton_CheckStateChanged);
       this.rawRadioButton.Anchor = AnchorStyles.Left;
       this.rawRadioButton.AutoSize = true;
       this.rawRadioButton.Location = new Point(164, 34);
       this.rawRadioButton.Name = "rawRadioButton";
       this.rawRadioButton.Size = new Size(51, 17);
       this.rawRadioButton.TabIndex = 6;
       this.rawRadioButton.Text = "RAW";
       this.rawRadioButton.UseVisualStyleBackColor = true;
       this.rawRadioButton.CheckedChanged += new EventHandler(this.modeRadioButton_CheckStateChanged);
       this.useSquelchCheckBox.Anchor = AnchorStyles.Left;
       this.useSquelchCheckBox.AutoSize = true;
       this.radioTableLayoutPanel.SetColumnSpan((Control) this.useSquelchCheckBox, 2);
       this.useSquelchCheckBox.Location = new Point(3, 162);
       this.useSquelchCheckBox.Name = "useSquelchCheckBox";
       this.useSquelchCheckBox.Size = new Size(65, 17);
       this.useSquelchCheckBox.TabIndex = 15;
       this.useSquelchCheckBox.Text = "Squelch";
       this.useSquelchCheckBox.UseVisualStyleBackColor = true;
       this.useSquelchCheckBox.CheckedChanged += new EventHandler(this.useSquelchCheckBox_CheckedChanged);
       this.stepSizeComboBox.Anchor = AnchorStyles.Left | AnchorStyles.Right;
       this.radioTableLayoutPanel.SetColumnSpan((Control) this.stepSizeComboBox, 2);
       this.stepSizeComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
       this.stepSizeComboBox.FormattingEnabled = true;
       this.stepSizeComboBox.Location = new Point(114, 234);
       this.stepSizeComboBox.Name = "stepSizeComboBox";
       this.stepSizeComboBox.Size = new Size(108, 21);
       this.stepSizeComboBox.TabIndex = 21;
       this.stepSizeComboBox.SelectedIndexChanged += new EventHandler(this.stepSizeComboBox_SelectedIndexChanged);
       this.cwShiftNumericUpDown.Anchor = AnchorStyles.Left | AnchorStyles.Right;
       this.radioTableLayoutPanel.SetColumnSpan((Control) this.cwShiftNumericUpDown, 2);
       this.cwShiftNumericUpDown.Enabled = false;
       this.cwShiftNumericUpDown.Location = new Point(114, 185);
       NumericUpDown numericUpDown1 = this.cwShiftNumericUpDown;
       int[] bits1 = new int[4];
       bits1[0] = 2000;
       Decimal num1 = new Decimal(bits1);
       numericUpDown1.Maximum = num1;
       this.cwShiftNumericUpDown.Minimum = new Decimal(new int[4]
       {
     2000,
     0,
     0,
     int.MinValue
       });
       this.cwShiftNumericUpDown.Name = "cwShiftNumericUpDown";
       this.cwShiftNumericUpDown.Size = new Size(108, 20);
       this.cwShiftNumericUpDown.TabIndex = 18;
       this.cwShiftNumericUpDown.TextAlign = HorizontalAlignment.Right;
       NumericUpDown numericUpDown2 = this.cwShiftNumericUpDown;
       int[] bits2 = new int[4];
       bits2[0] = 600;
       Decimal num2 = new Decimal(bits2);
       numericUpDown2.Value = num2;
       this.cwShiftNumericUpDown.ValueChanged += new EventHandler(this.cwShiftNumericUpDown_ValueChanged);
       this.label18.Anchor = AnchorStyles.Left;
       this.label18.AutoSize = true;
       this.radioTableLayoutPanel.SetColumnSpan((Control) this.label18, 2);
       this.label18.Location = new Point(114, 213);
       this.label18.Name = "label18";
       this.label18.Size = new Size(52, 13);
       this.label18.TabIndex = 19;
       this.label18.Text = "Step Size";
       this.label18.TextAlign = ContentAlignment.MiddleLeft;
       this.label15.Anchor = AnchorStyles.Left;
       this.label15.AutoSize = true;
       this.radioTableLayoutPanel.SetColumnSpan((Control) this.label15, 2);
       this.label15.Location = new Point(114, 164);
       this.label15.Name = "label15";
       this.label15.Size = new Size(49, 13);
       this.label15.TabIndex = 16;
       this.label15.Text = "CW Shift";
       this.label15.TextAlign = ContentAlignment.MiddleLeft;
       this.squelchNumericUpDown.Anchor = AnchorStyles.Left | AnchorStyles.Right;
       this.radioTableLayoutPanel.SetColumnSpan((Control) this.squelchNumericUpDown, 2);
       this.squelchNumericUpDown.Enabled = false;
       this.squelchNumericUpDown.Location = new Point(3, 185);
       this.squelchNumericUpDown.Name = "squelchNumericUpDown";
       this.squelchNumericUpDown.Size = new Size(105, 20);
       this.squelchNumericUpDown.TabIndex = 17;
       this.squelchNumericUpDown.TextAlign = HorizontalAlignment.Right;
       this.squelchNumericUpDown.ValueChanged += new EventHandler(this.squelchNumericUpDown_ValueChanged);
       this.filterBandwidthNumericUpDown.Anchor = AnchorStyles.Left | AnchorStyles.Right;
       this.radioTableLayoutPanel.SetColumnSpan((Control) this.filterBandwidthNumericUpDown, 2);
       NumericUpDown numericUpDown3 = this.filterBandwidthNumericUpDown;
       int[] bits3 = new int[4];
       bits3[0] = 10;
       Decimal num3 = new Decimal(bits3);
       numericUpDown3.Increment = num3;
       this.filterBandwidthNumericUpDown.Location = new Point(3, 136);
       NumericUpDown numericUpDown4 = this.filterBandwidthNumericUpDown;
       int[] bits4 = new int[4];
       bits4[0] = 250000;
       Decimal num4 = new Decimal(bits4);
       numericUpDown4.Maximum = num4;
       NumericUpDown numericUpDown5 = this.filterBandwidthNumericUpDown;
       int[] bits5 = new int[4];
       bits5[0] = 10;
       Decimal num5 = new Decimal(bits5);
       numericUpDown5.Minimum = num5;
       this.filterBandwidthNumericUpDown.Name = "filterBandwidthNumericUpDown";
       this.filterBandwidthNumericUpDown.Size = new Size(105, 20);
       this.filterBandwidthNumericUpDown.TabIndex = 13;
       this.filterBandwidthNumericUpDown.TextAlign = HorizontalAlignment.Right;
       NumericUpDown numericUpDown6 = this.filterBandwidthNumericUpDown;
       int[] bits6 = new int[4];
       bits6[0] = 10000;
       Decimal num6 = new Decimal(bits6);
       numericUpDown6.Value = num6;
       this.filterBandwidthNumericUpDown.ValueChanged += new EventHandler(this.filterBandwidthNumericUpDown_ValueChanged);
       this.label1.Anchor = AnchorStyles.Left;
       this.label1.AutoSize = true;
       this.radioTableLayoutPanel.SetColumnSpan((Control) this.label1, 2);
       this.label1.Location = new Point(3, 120);
       this.label1.Name = "label1";
       this.label1.Size = new Size(57, 13);
       this.label1.TabIndex = 11;
       this.label1.Text = "Bandwidth";
       this.label1.TextAlign = ContentAlignment.MiddleLeft;
       this.label5.Anchor = AnchorStyles.Left;
       this.label5.AutoSize = true;
       this.radioTableLayoutPanel.SetColumnSpan((Control) this.label5, 2);
       this.label5.Location = new Point(114, 120);
       this.label5.Name = "label5";
       this.label5.Size = new Size(33, 13);
       this.label5.TabIndex = 12;
       this.label5.Text = "Order";
       this.label5.TextAlign = ContentAlignment.MiddleLeft;
       this.filterOrderNumericUpDown.Anchor = AnchorStyles.Left | AnchorStyles.Right;
       this.radioTableLayoutPanel.SetColumnSpan((Control) this.filterOrderNumericUpDown, 2);
       NumericUpDown numericUpDown7 = this.filterOrderNumericUpDown;
       int[] bits7 = new int[4];
       bits7[0] = 10;
       Decimal num7 = new Decimal(bits7);
       numericUpDown7.Increment = num7;
       this.filterOrderNumericUpDown.Location = new Point(114, 136);
       NumericUpDown numericUpDown8 = this.filterOrderNumericUpDown;
       int[] bits8 = new int[4];
       bits8[0] = 9999;
       Decimal num8 = new Decimal(bits8);
       numericUpDown8.Maximum = num8;
       NumericUpDown numericUpDown9 = this.filterOrderNumericUpDown;
       int[] bits9 = new int[4];
       bits9[0] = 10;
       Decimal num9 = new Decimal(bits9);
       numericUpDown9.Minimum = num9;
       this.filterOrderNumericUpDown.Name = "filterOrderNumericUpDown";
       this.filterOrderNumericUpDown.Size = new Size(108, 20);
       this.filterOrderNumericUpDown.TabIndex = 14;
       this.filterOrderNumericUpDown.TextAlign = HorizontalAlignment.Right;
       NumericUpDown numericUpDown10 = this.filterOrderNumericUpDown;
       int[] bits10 = new int[4];
       bits10[0] = 400;
       Decimal num10 = new Decimal(bits10);
       numericUpDown10.Value = num10;
       this.filterOrderNumericUpDown.ValueChanged += new EventHandler(this.filterOrderNumericUpDown_ValueChanged);
       this.frequencyShiftNumericUpDown.Anchor = AnchorStyles.Left | AnchorStyles.Right;
       this.radioTableLayoutPanel.SetColumnSpan((Control) this.frequencyShiftNumericUpDown, 3);
       this.frequencyShiftNumericUpDown.Enabled = false;
       this.frequencyShiftNumericUpDown.Font = new Font("Microsoft Sans Serif", 11.25f, FontStyle.Bold, GraphicsUnit.Point, (byte) 0);
       NumericUpDown numericUpDown11 = this.frequencyShiftNumericUpDown;
       int[] bits11 = new int[4];
       bits11[0] = 1000;
       Decimal num11 = new Decimal(bits11);
       numericUpDown11.Increment = num11;
       this.frequencyShiftNumericUpDown.Location = new Point(56, 66);
       this.frequencyShiftNumericUpDown.Maximum = new Decimal(new int[4]
       {
     276447232,
     23283,
     0,
     0
       });
       this.frequencyShiftNumericUpDown.Minimum = new Decimal(new int[4]
       {
     276447232,
     23283,
     0,
     int.MinValue
       });
       this.frequencyShiftNumericUpDown.Name = "frequencyShiftNumericUpDown";
       this.frequencyShiftNumericUpDown.Size = new Size(166, 24);
       this.frequencyShiftNumericUpDown.TabIndex = 8;
       this.frequencyShiftNumericUpDown.TextAlign = HorizontalAlignment.Right;
       this.frequencyShiftNumericUpDown.ThousandsSeparator = true;
       this.frequencyShiftNumericUpDown.ValueChanged += new EventHandler(this.frequencyShiftNumericUpDown_ValueChanged);
       this.filterTypeComboBox.Anchor = AnchorStyles.Left | AnchorStyles.Right;
       this.radioTableLayoutPanel.SetColumnSpan((Control) this.filterTypeComboBox, 3);
       this.filterTypeComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
       this.filterTypeComboBox.FormattingEnabled = true;
       this.filterTypeComboBox.Items.AddRange(new object[6]
       {
     (object) "Hamming",
     (object) "Blackman",
     (object) "Blackman-Harris 4",
     (object) "Blackman-Harris 7",
     (object) "Hann-Poisson",
     (object) "Youssef"
       });
       this.filterTypeComboBox.Location = new Point(56, 96);
       this.filterTypeComboBox.Name = "filterTypeComboBox";
       this.filterTypeComboBox.Size = new Size(166, 21);
       this.filterTypeComboBox.TabIndex = 10;
       this.filterTypeComboBox.SelectedIndexChanged += new EventHandler(this.filterTypeComboBox_SelectedIndexChanged);
       this.label16.Anchor = AnchorStyles.Left;
       this.label16.AutoSize = true;
       this.label16.Location = new Point(3, 100);
       this.label16.Name = "label16";
       this.label16.Size = new Size(29, 13);
       this.label16.TabIndex = 9;
       this.label16.Text = "Filter";
       this.label16.TextAlign = ContentAlignment.MiddleLeft;
       this.correctIQCheckBox.Anchor = AnchorStyles.Right;
       this.correctIQCheckBox.AutoSize = true;
       this.radioTableLayoutPanel.SetColumnSpan((Control) this.correctIQCheckBox, 2);
       this.correctIQCheckBox.Location = new Point(148, 261);
       this.correctIQCheckBox.Name = "correctIQCheckBox";
       this.correctIQCheckBox.RightToLeft = RightToLeft.Yes;
       this.correctIQCheckBox.Size = new Size(74, 17);
       this.correctIQCheckBox.TabIndex = 22;
       this.correctIQCheckBox.Text = "Correct IQ";
       this.correctIQCheckBox.UseVisualStyleBackColor = true;
       this.correctIQCheckBox.CheckedChanged += new EventHandler(this.autoCorrectIQCheckBox_CheckStateChanged);
       this.snapFrequencyCheckBox.Anchor = AnchorStyles.Right;
       this.snapFrequencyCheckBox.AutoSize = true;
       this.radioTableLayoutPanel.SetColumnSpan((Control) this.snapFrequencyCheckBox, 2);
       this.snapFrequencyCheckBox.Location = new Point(23, 236);
       this.snapFrequencyCheckBox.Name = "snapFrequencyCheckBox";
       this.snapFrequencyCheckBox.RightToLeft = RightToLeft.Yes;
       this.snapFrequencyCheckBox.Size = new Size(85, 17);
       this.snapFrequencyCheckBox.TabIndex = 20;
       this.snapFrequencyCheckBox.Text = "Snap to Grid";
       this.snapFrequencyCheckBox.UseVisualStyleBackColor = true;
       this.snapFrequencyCheckBox.CheckedChanged += new EventHandler(this.stepSizeComboBox_SelectedIndexChanged);
       this.lockCarrierCheckBox.Anchor = AnchorStyles.Right;
       this.lockCarrierCheckBox.AutoSize = true;
       this.lockCarrierCheckBox.CheckAlign = ContentAlignment.MiddleRight;
       this.radioTableLayoutPanel.SetColumnSpan((Control) this.lockCarrierCheckBox, 2);
       this.lockCarrierCheckBox.Location = new Point(25, 261);
       this.lockCarrierCheckBox.Name = "lockCarrierCheckBox";
       this.lockCarrierCheckBox.Size = new Size(83, 17);
       this.lockCarrierCheckBox.TabIndex = 33;
       this.lockCarrierCheckBox.Text = "Lock Carrier";
       this.lockCarrierCheckBox.UseVisualStyleBackColor = true;
       this.lockCarrierCheckBox.CheckedChanged += new EventHandler(this.lockCarrierCheckBox_CheckedChanged);
       this.fmStereoCheckBox.Anchor = AnchorStyles.Right;
       this.fmStereoCheckBox.AutoSize = true;
       this.radioTableLayoutPanel.SetColumnSpan((Control) this.fmStereoCheckBox, 2);
       this.fmStereoCheckBox.Enabled = false;
       this.fmStereoCheckBox.Location = new Point(33, 211);
       this.fmStereoCheckBox.Name = "fmStereoCheckBox";
       this.fmStereoCheckBox.RightToLeft = RightToLeft.Yes;
       this.fmStereoCheckBox.Size = new Size(75, 17);
       this.fmStereoCheckBox.TabIndex = 24;
       this.fmStereoCheckBox.Text = "FM Stereo";
       this.fmStereoCheckBox.UseVisualStyleBackColor = true;
       this.fmStereoCheckBox.CheckedChanged += new EventHandler(this.fmStereoCheckBox_CheckedChanged);
       this.useAntiFadingCheckBox.Anchor = AnchorStyles.Right;
       this.useAntiFadingCheckBox.AutoSize = true;
       this.useAntiFadingCheckBox.CheckAlign = ContentAlignment.MiddleRight;
       this.radioTableLayoutPanel.SetColumnSpan((Control) this.useAntiFadingCheckBox, 2);
       this.useAntiFadingCheckBox.Location = new Point(29, 284);
       this.useAntiFadingCheckBox.Name = "useAntiFadingCheckBox";
       this.useAntiFadingCheckBox.Size = new Size(79, 17);
       this.useAntiFadingCheckBox.TabIndex = 34;
       this.useAntiFadingCheckBox.Text = "Anti-Fading";
       this.useAntiFadingCheckBox.UseVisualStyleBackColor = true;
       this.useAntiFadingCheckBox.CheckedChanged += new EventHandler(this.useAntiFadingCheckBox_CheckedChanged);
       this.audioCollapsiblePanel.Content.Controls.Add((Control) this.tableLayoutPanel1);
       this.audioCollapsiblePanel.Content.Location = new Point(0, 24);
       this.audioCollapsiblePanel.Content.Name = "Content";
       this.audioCollapsiblePanel.Content.Size = new Size(224, 136);
       this.audioCollapsiblePanel.Content.TabIndex = 1;
       this.audioCollapsiblePanel.Location = new Point(0, 383);
       this.audioCollapsiblePanel.Name = "audioCollapsiblePanel";
       this.audioCollapsiblePanel.NextPanel = this.agcCollapsiblePanel;
       this.audioCollapsiblePanel.PanelTitle = "Audio";
       this.audioCollapsiblePanel.Size = new Size(224, 160);
       this.audioCollapsiblePanel.TabIndex = 1;
       this.tableLayoutPanel1.ColumnCount = 2;
       this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 40f));
       this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 60f));
       this.tableLayoutPanel1.Controls.Add((Control) this.label13, 0, 0);
       this.tableLayoutPanel1.Controls.Add((Control) this.sampleRateComboBox, 1, 0);
       this.tableLayoutPanel1.Controls.Add((Control) this.label11, 0, 1);
       this.tableLayoutPanel1.Controls.Add((Control) this.inputDeviceComboBox, 1, 1);
       this.tableLayoutPanel1.Controls.Add((Control) this.label12, 0, 2);
       this.tableLayoutPanel1.Controls.Add((Control) this.outputDeviceComboBox, 1, 2);
       this.tableLayoutPanel1.Controls.Add((Control) this.latencyNumericUpDown, 1, 3);
       this.tableLayoutPanel1.Controls.Add((Control) this.label6, 0, 3);
       this.tableLayoutPanel1.Controls.Add((Control) this.unityGainCheckBox, 0, 4);
       this.tableLayoutPanel1.Controls.Add((Control) this.filterAudioCheckBox, 1, 4);
       this.tableLayoutPanel1.Dock = DockStyle.Fill;
       this.tableLayoutPanel1.Location = new Point(0, 0);
       this.tableLayoutPanel1.Name = "tableLayoutPanel1";
       this.tableLayoutPanel1.RowCount = 5;
       this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
       this.tableLayoutPanel1.RowStyles.Add(new RowStyle());
       this.tableLayoutPanel1.RowStyles.Add(new RowStyle());
       this.tableLayoutPanel1.RowStyles.Add(new RowStyle());
       this.tableLayoutPanel1.RowStyles.Add(new RowStyle());
       this.tableLayoutPanel1.Size = new Size(224, 136);
       this.tableLayoutPanel1.TabIndex = 31;
       this.label13.Anchor = AnchorStyles.Left;
       this.label13.AutoSize = true;
       this.label13.Location = new Point(3, 10);
       this.label13.Name = "label13";
       this.label13.Size = new Size(60, 13);
       this.label13.TabIndex = 28;
       this.label13.Text = "Samplerate";
       this.sampleRateComboBox.Anchor = AnchorStyles.Left | AnchorStyles.Right;
       this.sampleRateComboBox.FormattingEnabled = true;
       this.sampleRateComboBox.Items.AddRange(new object[14]
       {
     (object) "8000 sample/sec",
     (object) "11025 sample/sec",
     (object) "16000 sample/sec",
     (object) "22050 sample/sec",
     (object) "24000 sample/sec",
     (object) "32000 sample/sec",
     (object) "44100 sample/sec",
     (object) "48000 sample/sec",
     (object) "80000 sample/sec",
     (object) "96000 sample/sec",
     (object) "120000 sample/sec",
     (object) "125000 sample/sec",
     (object) "150000 sample/sec",
     (object) "192000 sample/sec"
       });
       this.sampleRateComboBox.Location = new Point(92, 6);
       this.sampleRateComboBox.Name = "sampleRateComboBox";
       this.sampleRateComboBox.Size = new Size(129, 21);
       this.sampleRateComboBox.TabIndex = 1;
       this.label11.Anchor = AnchorStyles.Left;
       this.label11.AutoSize = true;
       this.label11.Location = new Point(3, 40);
       this.label11.Name = "label11";
       this.label11.Size = new Size(31, 13);
       this.label11.TabIndex = 24;
       this.label11.Text = "Input";
       this.inputDeviceComboBox.Anchor = AnchorStyles.Left | AnchorStyles.Right;
       this.inputDeviceComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
       this.inputDeviceComboBox.DropDownWidth = 300;
       this.inputDeviceComboBox.FormattingEnabled = true;
       this.inputDeviceComboBox.Location = new Point(92, 36);
       this.inputDeviceComboBox.Name = "inputDeviceComboBox";
       this.inputDeviceComboBox.Size = new Size(129, 21);
       this.inputDeviceComboBox.TabIndex = 2;
       this.label12.Anchor = AnchorStyles.Left;
       this.label12.AutoSize = true;
       this.label12.Location = new Point(3, 67);
       this.label12.Name = "label12";
       this.label12.Size = new Size(39, 13);
       this.label12.TabIndex = 26;
       this.label12.Text = "Output";
       this.outputDeviceComboBox.Anchor = AnchorStyles.Left | AnchorStyles.Right;
       this.outputDeviceComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
       this.outputDeviceComboBox.DropDownWidth = 300;
       this.outputDeviceComboBox.FormattingEnabled = true;
       this.outputDeviceComboBox.Location = new Point(92, 63);
       this.outputDeviceComboBox.Name = "outputDeviceComboBox";
       this.outputDeviceComboBox.Size = new Size(129, 21);
       this.outputDeviceComboBox.TabIndex = 3;
       this.latencyNumericUpDown.Anchor = AnchorStyles.Left | AnchorStyles.Right;
       this.latencyNumericUpDown.Location = new Point(92, 90);
       NumericUpDown numericUpDown12 = this.latencyNumericUpDown;
       int[] bits12 = new int[4];
       bits12[0] = 2000;
       Decimal num12 = new Decimal(bits12);
       numericUpDown12.Maximum = num12;
       NumericUpDown numericUpDown13 = this.latencyNumericUpDown;
       int[] bits13 = new int[4];
       bits13[0] = 1;
       Decimal num13 = new Decimal(bits13);
       numericUpDown13.Minimum = num13;
       this.latencyNumericUpDown.Name = "latencyNumericUpDown";
       this.latencyNumericUpDown.Size = new Size(129, 20);
       this.latencyNumericUpDown.TabIndex = 4;
       this.latencyNumericUpDown.TextAlign = HorizontalAlignment.Right;
       NumericUpDown numericUpDown14 = this.latencyNumericUpDown;
       int[] bits14 = new int[4];
       bits14[0] = 1;
       Decimal num14 = new Decimal(bits14);
       numericUpDown14.Value = num14;
       this.label6.Anchor = AnchorStyles.Left;
       this.label6.AutoSize = true;
       this.label6.Location = new Point(3, 93);
       this.label6.Name = "label6";
       this.label6.Size = new Size(67, 13);
       this.label6.TabIndex = 30;
       this.label6.Text = "Latency (ms)";
       this.unityGainCheckBox.Anchor = AnchorStyles.Left;
       this.unityGainCheckBox.AutoSize = true;
       this.unityGainCheckBox.Location = new Point(3, 116);
       this.unityGainCheckBox.Name = "unityGainCheckBox";
       this.unityGainCheckBox.Size = new Size(75, 17);
       this.unityGainCheckBox.TabIndex = 5;
       this.unityGainCheckBox.Text = "Unity Gain";
       this.unityGainCheckBox.UseVisualStyleBackColor = true;
       this.unityGainCheckBox.CheckStateChanged += new EventHandler(this.unityGainCheckBox_CheckStateChanged);
       this.filterAudioCheckBox.Anchor = AnchorStyles.Left;
       this.filterAudioCheckBox.AutoSize = true;
       this.filterAudioCheckBox.Location = new Point(92, 116);
       this.filterAudioCheckBox.Name = "filterAudioCheckBox";
       this.filterAudioCheckBox.Size = new Size(78, 17);
       this.filterAudioCheckBox.TabIndex = 6;
       this.filterAudioCheckBox.Text = "Filter Audio";
       this.filterAudioCheckBox.UseVisualStyleBackColor = true;
       this.filterAudioCheckBox.CheckedChanged += new EventHandler(this.filterAudioCheckBox_CheckStateChanged);
       this.agcCollapsiblePanel.Content.Controls.Add((Control) this.tableLayoutPanel2);
       this.agcCollapsiblePanel.Content.Location = new Point(0, 24);
       this.agcCollapsiblePanel.Content.Name = "Content";
       this.agcCollapsiblePanel.Content.Size = new Size(224, 106);
       this.agcCollapsiblePanel.Content.TabIndex = 1;
       this.agcCollapsiblePanel.Location = new Point(0, 543);
       this.agcCollapsiblePanel.Name = "agcCollapsiblePanel";
       this.agcCollapsiblePanel.NextPanel = this.fftCollapsiblePanel;
       this.agcCollapsiblePanel.PanelTitle = "AGC";
       this.agcCollapsiblePanel.Size = new Size(224, 130);
       this.agcCollapsiblePanel.TabIndex = 2;
       this.tableLayoutPanel2.ColumnCount = 2;
       this.tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 40f));
       this.tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 60f));
       this.tableLayoutPanel2.Controls.Add((Control) this.agcCheckBox, 0, 0);
       this.tableLayoutPanel2.Controls.Add((Control) this.agcSlopeNumericUpDown, 1, 3);
       this.tableLayoutPanel2.Controls.Add((Control) this.agcUseHangCheckBox, 1, 0);
       this.tableLayoutPanel2.Controls.Add((Control) this.label22, 0, 3);
       this.tableLayoutPanel2.Controls.Add((Control) this.label4, 0, 1);
       this.tableLayoutPanel2.Controls.Add((Control) this.agcDecayNumericUpDown, 1, 2);
       this.tableLayoutPanel2.Controls.Add((Control) this.label10, 0, 2);
       this.tableLayoutPanel2.Controls.Add((Control) this.agcThresholdNumericUpDown, 1, 1);
       this.tableLayoutPanel2.Dock = DockStyle.Fill;
       this.tableLayoutPanel2.Location = new Point(0, 0);
       this.tableLayoutPanel2.Name = "tableLayoutPanel2";
       this.tableLayoutPanel2.RowCount = 4;
       this.tableLayoutPanel2.RowStyles.Add(new RowStyle());
       this.tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
       this.tableLayoutPanel2.RowStyles.Add(new RowStyle());
       this.tableLayoutPanel2.RowStyles.Add(new RowStyle());
       this.tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 20f));
       this.tableLayoutPanel2.Size = new Size(224, 106);
       this.tableLayoutPanel2.TabIndex = 14;
       this.agcCheckBox.Anchor = AnchorStyles.Left;
       this.agcCheckBox.AutoSize = true;
       this.agcCheckBox.Location = new Point(3, 3);
       this.agcCheckBox.Name = "agcCheckBox";
       this.agcCheckBox.Size = new Size(70, 17);
       this.agcCheckBox.TabIndex = 0;
       this.agcCheckBox.Text = "Use AGC";
       this.agcCheckBox.UseVisualStyleBackColor = true;
       this.agcCheckBox.CheckedChanged += new EventHandler(this.agcCheckBox_CheckedChanged);
       this.agcSlopeNumericUpDown.Anchor = AnchorStyles.Left | AnchorStyles.Right;
       this.agcSlopeNumericUpDown.Location = new Point(92, 83);
       NumericUpDown numericUpDown15 = this.agcSlopeNumericUpDown;
       int[] bits15 = new int[4];
       bits15[0] = 10;
       Decimal num15 = new Decimal(bits15);
       numericUpDown15.Maximum = num15;
       this.agcSlopeNumericUpDown.Name = "agcSlopeNumericUpDown";
       this.agcSlopeNumericUpDown.Size = new Size(129, 20);
       this.agcSlopeNumericUpDown.TabIndex = 4;
       this.agcSlopeNumericUpDown.TextAlign = HorizontalAlignment.Right;
       NumericUpDown numericUpDown16 = this.agcSlopeNumericUpDown;
       int[] bits16 = new int[4];
       bits16[0] = 10;
       Decimal num16 = new Decimal(bits16);
       numericUpDown16.Value = num16;
       this.agcSlopeNumericUpDown.ValueChanged += new EventHandler(this.agcSlopeNumericUpDown_ValueChanged);
       this.agcUseHangCheckBox.Anchor = AnchorStyles.Left;
       this.agcUseHangCheckBox.AutoSize = true;
       this.agcUseHangCheckBox.Location = new Point(92, 3);
       this.agcUseHangCheckBox.Name = "agcUseHangCheckBox";
       this.agcUseHangCheckBox.Size = new Size(74, 17);
       this.agcUseHangCheckBox.TabIndex = 1;
       this.agcUseHangCheckBox.Text = "Use Hang";
       this.agcUseHangCheckBox.UseVisualStyleBackColor = true;
       this.agcUseHangCheckBox.CheckedChanged += new EventHandler(this.agcUseHangCheckBox_CheckedChanged);
       this.label22.Anchor = AnchorStyles.Left;
       this.label22.AutoSize = true;
       this.label22.Location = new Point(3, 86);
       this.label22.Name = "label22";
       this.label22.Size = new Size(56, 13);
       this.label22.TabIndex = 13;
       this.label22.Text = "Slope (dB)";
       this.label4.Anchor = AnchorStyles.Left;
       this.label4.AutoSize = true;
       this.label4.Location = new Point(3, 32);
       this.label4.Name = "label4";
       this.label4.Size = new Size(76, 13);
       this.label4.TabIndex = 7;
       this.label4.Text = "Threshold (dB)";
       this.agcDecayNumericUpDown.Anchor = AnchorStyles.Left | AnchorStyles.Right;
       this.agcDecayNumericUpDown.Location = new Point(92, 57);
       NumericUpDown numericUpDown17 = this.agcDecayNumericUpDown;
       int[] bits17 = new int[4];
       bits17[0] = 2000;
       Decimal num17 = new Decimal(bits17);
       numericUpDown17.Maximum = num17;
       NumericUpDown numericUpDown18 = this.agcDecayNumericUpDown;
       int[] bits18 = new int[4];
       bits18[0] = 10;
       Decimal num18 = new Decimal(bits18);
       numericUpDown18.Minimum = num18;
       this.agcDecayNumericUpDown.Name = "agcDecayNumericUpDown";
       this.agcDecayNumericUpDown.Size = new Size(129, 20);
       this.agcDecayNumericUpDown.TabIndex = 3;
       this.agcDecayNumericUpDown.TextAlign = HorizontalAlignment.Right;
       NumericUpDown numericUpDown19 = this.agcDecayNumericUpDown;
       int[] bits19 = new int[4];
       bits19[0] = 2000;
       Decimal num19 = new Decimal(bits19);
       numericUpDown19.Value = num19;
       this.agcDecayNumericUpDown.ValueChanged += new EventHandler(this.agcDecayNumericUpDown_ValueChanged);
       this.label10.Anchor = AnchorStyles.Left;
       this.label10.AutoSize = true;
       this.label10.Location = new Point(3, 60);
       this.label10.Name = "label10";
       this.label10.Size = new Size(60, 13);
       this.label10.TabIndex = 11;
       this.label10.Text = "Decay (ms)";
       this.agcThresholdNumericUpDown.Anchor = AnchorStyles.Left | AnchorStyles.Right;
       this.agcThresholdNumericUpDown.Font = new Font("Microsoft Sans Serif", 10f, FontStyle.Bold, GraphicsUnit.Point, (byte) 0);
       this.agcThresholdNumericUpDown.Location = new Point(92, 27);
       this.agcThresholdNumericUpDown.Maximum = new Decimal(new int[4]);
       this.agcThresholdNumericUpDown.Minimum = new Decimal(new int[4]
       {
     160,
     0,
     0,
     int.MinValue
       });
       this.agcThresholdNumericUpDown.Name = "agcThresholdNumericUpDown";
       this.agcThresholdNumericUpDown.Size = new Size(129, 23);
       this.agcThresholdNumericUpDown.TabIndex = 2;
       this.agcThresholdNumericUpDown.TextAlign = HorizontalAlignment.Right;
       this.agcThresholdNumericUpDown.ValueChanged += new EventHandler(this.agcThresholdNumericUpDown_ValueChanged);
       this.fftCollapsiblePanel.Content.Controls.Add((Control) this.tableLayoutPanel3);
       this.fftCollapsiblePanel.Content.Location = new Point(0, 24);
       this.fftCollapsiblePanel.Content.Name = "Content";
       this.fftCollapsiblePanel.Content.Size = new Size(224, 484);
       this.fftCollapsiblePanel.Content.TabIndex = 1;
       this.fftCollapsiblePanel.Location = new Point(0, 673);
       this.fftCollapsiblePanel.Name = "fftCollapsiblePanel";
       this.fftCollapsiblePanel.NextPanel = (CollapsiblePanel) null;
       this.fftCollapsiblePanel.PanelTitle = "FFT Display";
       this.fftCollapsiblePanel.Size = new Size(224, 508);
       this.fftCollapsiblePanel.TabIndex = 3;
       this.tableLayoutPanel3.ColumnCount = 4;
       this.tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 40f));
       this.tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 10f));
       this.tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 35f));
       this.tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 15f));
       this.tableLayoutPanel3.Controls.Add((Control) this.label7, 0, 0);
       this.tableLayoutPanel3.Controls.Add((Control) this.viewComboBox, 1, 0);
       this.tableLayoutPanel3.Controls.Add((Control) this.label8, 0, 1);
       this.tableLayoutPanel3.Controls.Add((Control) this.fftWindowComboBox, 1, 1);
       this.tableLayoutPanel3.Controls.Add((Control) this.label21, 0, 2);
       this.tableLayoutPanel3.Controls.Add((Control) this.fftResolutionComboBox, 1, 2);
       this.tableLayoutPanel3.Controls.Add((Control) this.groupBox1, 0, 7);
       this.tableLayoutPanel3.Controls.Add((Control) this.smoothingGroupBox, 0, 6);
       this.tableLayoutPanel3.Controls.Add((Control) this.markPeaksCheckBox, 0, 5);
       this.tableLayoutPanel3.Controls.Add((Control) this.useTimestampsCheckBox, 0, 4);
       this.tableLayoutPanel3.Controls.Add((Control) this.label14, 2, 4);
       this.tableLayoutPanel3.Controls.Add((Control) this.gradientButton, 3, 4);
       this.tableLayoutPanel3.Controls.Add((Control) this.label3, 0, 3);
       this.tableLayoutPanel3.Controls.Add((Control) this.spectrumStyleComboBox, 1, 3);
       this.tableLayoutPanel3.Dock = DockStyle.Fill;
       this.tableLayoutPanel3.Location = new Point(0, 0);
       this.tableLayoutPanel3.Name = "tableLayoutPanel3";
       this.tableLayoutPanel3.RowCount = 8;
       this.tableLayoutPanel3.RowStyles.Add(new RowStyle());
       this.tableLayoutPanel3.RowStyles.Add(new RowStyle());
       this.tableLayoutPanel3.RowStyles.Add(new RowStyle());
       this.tableLayoutPanel3.RowStyles.Add(new RowStyle());
       this.tableLayoutPanel3.RowStyles.Add(new RowStyle());
       this.tableLayoutPanel3.RowStyles.Add(new RowStyle());
       this.tableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Percent, 75f));
       this.tableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Percent, 25f));
       this.tableLayoutPanel3.Size = new Size(224, 484);
       this.tableLayoutPanel3.TabIndex = 33;
       this.label7.Anchor = AnchorStyles.Left;
       this.label7.AutoSize = true;
       this.label7.Location = new Point(3, 7);
       this.label7.Name = "label7";
       this.label7.Size = new Size(30, 13);
       this.label7.TabIndex = 12;
       this.label7.Text = "View";
       this.viewComboBox.Anchor = AnchorStyles.Left | AnchorStyles.Right;
       this.tableLayoutPanel3.SetColumnSpan((Control) this.viewComboBox, 3);
       this.viewComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
       this.viewComboBox.FormattingEnabled = true;
       this.viewComboBox.Items.AddRange(new object[4]
       {
     (object) "Spectrum Analyzer",
     (object) "Waterfall",
     (object) "Both",
     (object) "None"
       });
       this.viewComboBox.Location = new Point(92, 3);
       this.viewComboBox.Name = "viewComboBox";
       this.viewComboBox.Size = new Size(129, 21);
       this.viewComboBox.TabIndex = 0;
       this.viewComboBox.SelectedIndexChanged += new EventHandler(this.viewComboBox_SelectedIndexChanged);
       this.label8.Anchor = AnchorStyles.Left;
       this.label8.AutoSize = true;
       this.label8.Location = new Point(3, 34);
       this.label8.Name = "label8";
       this.label8.Size = new Size(46, 13);
       this.label8.TabIndex = 14;
       this.label8.Text = "Window";
       this.fftWindowComboBox.Anchor = AnchorStyles.Left | AnchorStyles.Right;
       this.tableLayoutPanel3.SetColumnSpan((Control) this.fftWindowComboBox, 3);
       this.fftWindowComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
       this.fftWindowComboBox.FormattingEnabled = true;
       this.fftWindowComboBox.Items.AddRange(new object[7]
       {
     (object) "None",
     (object) "Hamming",
     (object) "Blackman",
     (object) "Blackman-Harris 4",
     (object) "Blackman-Harris 7",
     (object) "Hann-Poisson",
     (object) "Youssef"
       });
       this.fftWindowComboBox.Location = new Point(92, 30);
       this.fftWindowComboBox.Name = "fftWindowComboBox";
       this.fftWindowComboBox.Size = new Size(129, 21);
       this.fftWindowComboBox.TabIndex = 1;
       this.fftWindowComboBox.SelectedIndexChanged += new EventHandler(this.fftWindowComboBox_SelectedIndexChanged);
       this.label21.Anchor = AnchorStyles.Left;
       this.label21.AutoSize = true;
       this.label21.Location = new Point(3, 61);
       this.label21.Name = "label21";
       this.label21.Size = new Size(57, 13);
       this.label21.TabIndex = 18;
       this.label21.Text = "Resolution";
       this.fftResolutionComboBox.Anchor = AnchorStyles.Left | AnchorStyles.Right;
       this.tableLayoutPanel3.SetColumnSpan((Control) this.fftResolutionComboBox, 3);
       this.fftResolutionComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
       this.fftResolutionComboBox.FormattingEnabled = true;
       this.fftResolutionComboBox.Items.AddRange(new object[14]
       {
     (object) "512",
     (object) "1024",
     (object) "2048",
     (object) "4096",
     (object) "8192",
     (object) "16384",
     (object) "32768",
     (object) "65536",
     (object) "131072",
     (object) "262144",
     (object) "524288",
     (object) "1048576",
     (object) "2097152",
     (object) "4194304"
       });
       this.fftResolutionComboBox.Location = new Point(92, 57);
       this.fftResolutionComboBox.Name = "fftResolutionComboBox";
       this.fftResolutionComboBox.Size = new Size(129, 21);
       this.fftResolutionComboBox.TabIndex = 2;
       this.fftResolutionComboBox.SelectedIndexChanged += new EventHandler(this.fftResolutionComboBox_SelectedIndexChanged);
       this.tableLayoutPanel3.SetColumnSpan((Control) this.groupBox1, 4);
       this.groupBox1.Controls.Add((Control) this.tableLayoutPanel5);
       this.groupBox1.Dock = DockStyle.Fill;
       this.groupBox1.Location = new Point(3, 406);
       this.groupBox1.Name = "groupBox1";
       this.groupBox1.Size = new Size(218, 75);
       this.groupBox1.TabIndex = 32;
       this.groupBox1.TabStop = false;
       this.groupBox1.Text = "Spectrum";
       this.tableLayoutPanel5.ColumnCount = 2;
       this.tableLayoutPanel5.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 40f));
       this.tableLayoutPanel5.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 60f));
       this.tableLayoutPanel5.Controls.Add((Control) this.label28, 0, 0);
       this.tableLayoutPanel5.Controls.Add((Control) this.fftSpeedTrackBar, 1, 0);
       this.tableLayoutPanel5.Dock = DockStyle.Fill;
       this.tableLayoutPanel5.Location = new Point(3, 16);
       this.tableLayoutPanel5.Name = "tableLayoutPanel5";
       this.tableLayoutPanel5.RowCount = 1;
       this.tableLayoutPanel5.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
       this.tableLayoutPanel5.RowStyles.Add(new RowStyle(SizeType.Absolute, 56f));
       this.tableLayoutPanel5.Size = new Size(212, 56);
       this.tableLayoutPanel5.TabIndex = 31;
       this.label28.Anchor = AnchorStyles.Left;
       this.label28.AutoSize = true;
       this.label28.Location = new Point(3, 21);
       this.label28.Name = "label28";
       this.label28.Size = new Size(38, 13);
       this.label28.TabIndex = 29;
       this.label28.Text = "Speed";
       this.fftSpeedTrackBar.Anchor = AnchorStyles.Left | AnchorStyles.Right;
       this.fftSpeedTrackBar.Location = new Point(87, 5);
       this.fftSpeedTrackBar.Maximum = 100;
       this.fftSpeedTrackBar.Minimum = 1;
       this.fftSpeedTrackBar.Name = "fftSpeedTrackBar";
       this.fftSpeedTrackBar.RightToLeftLayout = true;
       this.fftSpeedTrackBar.Size = new Size(122, 45);
       this.fftSpeedTrackBar.TabIndex = 2;
       this.fftSpeedTrackBar.TickFrequency = 10;
       this.fftSpeedTrackBar.TickStyle = TickStyle.Both;
       this.fftSpeedTrackBar.Value = 50;
       this.fftSpeedTrackBar.ValueChanged += new EventHandler(this.fftSpeedTrackBar_ValueChanged);
       this.tableLayoutPanel3.SetColumnSpan((Control) this.smoothingGroupBox, 4);
       this.smoothingGroupBox.Controls.Add((Control) this.tableLayoutPanel4);
       this.smoothingGroupBox.Dock = DockStyle.Fill;
       this.smoothingGroupBox.Location = new Point(3, 163);
       this.smoothingGroupBox.Name = "smoothingGroupBox";
       this.smoothingGroupBox.Size = new Size(218, 237);
       this.smoothingGroupBox.TabIndex = 31;
       this.smoothingGroupBox.TabStop = false;
       this.smoothingGroupBox.Text = "Smoothing";
       this.tableLayoutPanel4.ColumnCount = 2;
       this.tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 40f));
       this.tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 60f));
       this.tableLayoutPanel4.Controls.Add((Control) this.label23, 0, 0);
       this.tableLayoutPanel4.Controls.Add((Control) this.wDecayTrackBar, 1, 3);
       this.tableLayoutPanel4.Controls.Add((Control) this.wAttackTrackBar, 1, 2);
       this.tableLayoutPanel4.Controls.Add((Control) this.label25, 0, 3);
       this.tableLayoutPanel4.Controls.Add((Control) this.sDecayTrackBar, 1, 1);
       this.tableLayoutPanel4.Controls.Add((Control) this.sAttackTrackBar, 1, 0);
       this.tableLayoutPanel4.Controls.Add((Control) this.label24, 0, 1);
       this.tableLayoutPanel4.Controls.Add((Control) this.label26, 0, 2);
       this.tableLayoutPanel4.Dock = DockStyle.Fill;
       this.tableLayoutPanel4.Location = new Point(3, 16);
       this.tableLayoutPanel4.Name = "tableLayoutPanel4";
       this.tableLayoutPanel4.RowCount = 4;
       this.tableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Percent, 25f));
       this.tableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Percent, 25f));
       this.tableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Percent, 25f));
       this.tableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Percent, 25f));
       this.tableLayoutPanel4.Size = new Size(212, 218);
       this.tableLayoutPanel4.TabIndex = 27;
       this.label23.Anchor = AnchorStyles.Left;
       this.label23.AutoSize = true;
       this.label23.Location = new Point(3, 20);
       this.label23.Name = "label23";
       this.label23.Size = new Size(48, 13);
       this.label23.TabIndex = 23;
       this.label23.Text = "S-Attack";
       this.wDecayTrackBar.Anchor = AnchorStyles.Left | AnchorStyles.Right;
       this.wDecayTrackBar.Location = new Point(87, 167);
       this.wDecayTrackBar.Maximum = 50;
       this.wDecayTrackBar.Name = "wDecayTrackBar";
       this.wDecayTrackBar.Size = new Size(122, 45);
       this.wDecayTrackBar.TabIndex = 8;
       this.wDecayTrackBar.TickFrequency = 5;
       this.wDecayTrackBar.TickStyle = TickStyle.Both;
       this.wDecayTrackBar.ValueChanged += new EventHandler(this.wDecayTrackBar_ValueChanged);
       this.wAttackTrackBar.Anchor = AnchorStyles.Left | AnchorStyles.Right;
       this.wAttackTrackBar.Location = new Point(87, 112);
       this.wAttackTrackBar.Maximum = 50;
       this.wAttackTrackBar.Name = "wAttackTrackBar";
       this.wAttackTrackBar.Size = new Size(122, 45);
       this.wAttackTrackBar.TabIndex = 7;
       this.wAttackTrackBar.TickFrequency = 5;
       this.wAttackTrackBar.TickStyle = TickStyle.Both;
       this.wAttackTrackBar.ValueChanged += new EventHandler(this.wAttackTrackBar_ValueChanged);
       this.label25.Anchor = AnchorStyles.Left;
       this.label25.AutoSize = true;
       this.label25.Location = new Point(3, 183);
       this.label25.Name = "label25";
       this.label25.Size = new Size(52, 13);
       this.label25.TabIndex = 26;
       this.label25.Text = "W-Decay";
       this.sDecayTrackBar.Anchor = AnchorStyles.Left | AnchorStyles.Right;
       this.sDecayTrackBar.Location = new Point(87, 58);
       this.sDecayTrackBar.Maximum = 50;
       this.sDecayTrackBar.Name = "sDecayTrackBar";
       this.sDecayTrackBar.Size = new Size(122, 45);
       this.sDecayTrackBar.TabIndex = 6;
       this.sDecayTrackBar.TickFrequency = 5;
       this.sDecayTrackBar.TickStyle = TickStyle.Both;
       this.sDecayTrackBar.ValueChanged += new EventHandler(this.sDecayTrackBar_ValueChanged);
       this.sAttackTrackBar.Anchor = AnchorStyles.Left | AnchorStyles.Right;
       this.sAttackTrackBar.Location = new Point(87, 4);
       this.sAttackTrackBar.Maximum = 50;
       this.sAttackTrackBar.Name = "sAttackTrackBar";
       this.sAttackTrackBar.Size = new Size(122, 45);
       this.sAttackTrackBar.TabIndex = 5;
       this.sAttackTrackBar.TickFrequency = 5;
       this.sAttackTrackBar.TickStyle = TickStyle.Both;
       this.sAttackTrackBar.ValueChanged += new EventHandler(this.sAttackTrackBar_ValueChanged);
       this.label24.Anchor = AnchorStyles.Left;
       this.label24.AutoSize = true;
       this.label24.Location = new Point(3, 74);
       this.label24.Name = "label24";
       this.label24.Size = new Size(48, 13);
       this.label24.TabIndex = 24;
       this.label24.Text = "S-Decay";
       this.label26.Anchor = AnchorStyles.Left;
       this.label26.AutoSize = true;
       this.label26.Location = new Point(3, 128);
       this.label26.Name = "label26";
       this.label26.Size = new Size(52, 13);
       this.label26.TabIndex = 25;
       this.label26.Text = "W-Attack";
       this.markPeaksCheckBox.Anchor = AnchorStyles.Right;
       this.markPeaksCheckBox.AutoSize = true;
       this.markPeaksCheckBox.Location = new Point(3, 140);
       this.markPeaksCheckBox.Name = "markPeaksCheckBox";
       this.markPeaksCheckBox.Size = new Size(83, 17);
       this.markPeaksCheckBox.TabIndex = 23;
       this.markPeaksCheckBox.Text = "Mark Peaks";
       this.markPeaksCheckBox.UseVisualStyleBackColor = true;
       this.markPeaksCheckBox.CheckedChanged += new EventHandler(this.markPeaksCheckBox_CheckedChanged);
       this.useTimestampsCheckBox.Anchor = AnchorStyles.Left;
       this.useTimestampsCheckBox.AutoSize = true;
       this.tableLayoutPanel3.SetColumnSpan((Control) this.useTimestampsCheckBox, 2);
       this.useTimestampsCheckBox.Location = new Point(3, 114);
       this.useTimestampsCheckBox.Name = "useTimestampsCheckBox";
       this.useTimestampsCheckBox.Size = new Size(90, 17);
       this.useTimestampsCheckBox.TabIndex = 3;
       this.useTimestampsCheckBox.Text = "Time Markers";
       this.useTimestampsCheckBox.UseVisualStyleBackColor = true;
       this.useTimestampsCheckBox.CheckedChanged += new EventHandler(this.useTimestampCheckBox_CheckedChanged);
       this.label14.Anchor = AnchorStyles.Right;
       this.label14.AutoSize = true;
       this.label14.Location = new Point(139, 116);
       this.label14.Name = "label14";
       this.label14.Size = new Size(47, 13);
       this.label14.TabIndex = 16;
       this.label14.Text = "Gradient";
       this.gradientButton.Anchor = AnchorStyles.Right;
       this.gradientButton.Location = new Point(197, 111);
       this.gradientButton.Name = "gradientButton";
       this.gradientButton.Size = new Size(24, 23);
       this.gradientButton.TabIndex = 4;
       this.gradientButton.Text = "...";
       this.gradientButton.UseVisualStyleBackColor = true;
       this.gradientButton.Click += new EventHandler(this.gradientButton_Click);
       this.label3.Anchor = AnchorStyles.Left;
       this.label3.AutoSize = true;
       this.label3.Location = new Point(3, 88);
       this.label3.Name = "label3";
       this.label3.Size = new Size(78, 13);
       this.label3.TabIndex = 33;
       this.label3.Text = "Spectrum Style";
       this.spectrumStyleComboBox.Anchor = AnchorStyles.Left | AnchorStyles.Right;
       this.tableLayoutPanel3.SetColumnSpan((Control) this.spectrumStyleComboBox, 3);
       this.spectrumStyleComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
       this.spectrumStyleComboBox.FormattingEnabled = true;
       this.spectrumStyleComboBox.Items.AddRange(new object[6]
       {
     (object) "Dots",
     (object) "Simple Curve",
     (object) "Solid Fill",
     (object) "Static Gradient",
     (object) "Dynamic Gradient",
     (object) "Min Max"
       });
       this.spectrumStyleComboBox.Location = new Point(92, 84);
       this.spectrumStyleComboBox.Name = "spectrumStyleComboBox";
       this.spectrumStyleComboBox.Size = new Size(129, 21);
       this.spectrumStyleComboBox.TabIndex = 34;
       this.spectrumStyleComboBox.SelectedIndexChanged += new EventHandler(this.spectrumStyleComboBox_SelectedIndexChanged);
       this.fftOffsetTrackBar.Anchor = AnchorStyles.Top | AnchorStyles.Bottom;
       this.fftOffsetTrackBar.Location = new Point(3, 500);
       this.fftOffsetTrackBar.Maximum = 15;
       this.fftOffsetTrackBar.Name = "fftOffsetTrackBar";
       this.fftOffsetTrackBar.Orientation = Orientation.Vertical;
       this.fftOffsetTrackBar.Size = new Size(45, 142);
       this.fftOffsetTrackBar.TabIndex = 27;
       this.fftOffsetTrackBar.TickStyle = TickStyle.Both;
       this.fftOffsetTrackBar.Scroll += new EventHandler(this.fftOffsetTrackBar_Scroll);
       this.fftRangeTrackBar.Anchor = AnchorStyles.Top | AnchorStyles.Bottom;
       this.fftRangeTrackBar.LargeChange = 10;
       this.fftRangeTrackBar.Location = new Point(3, 334);
       this.fftRangeTrackBar.Maximum = 15;
       this.fftRangeTrackBar.Minimum = 1;
       this.fftRangeTrackBar.Name = "fftRangeTrackBar";
       this.fftRangeTrackBar.Orientation = Orientation.Vertical;
       this.fftRangeTrackBar.Size = new Size(45, 140);
       this.fftRangeTrackBar.TabIndex = 28;
       this.fftRangeTrackBar.TickStyle = TickStyle.Both;
       this.fftRangeTrackBar.Value = 13;
       this.fftRangeTrackBar.Scroll += new EventHandler(this.fftRangeTrackBar_Scroll);
       this.audioGainTrackBar.Anchor = AnchorStyles.Left | AnchorStyles.Right;
       this.audioGainTrackBar.Location = new Point(147, 3);
       this.audioGainTrackBar.Maximum = 60;
       this.audioGainTrackBar.Minimum = 25;
       this.audioGainTrackBar.Name = "audioGainTrackBar";
       this.audioGainTrackBar.Size = new Size(143, 45);
       this.audioGainTrackBar.TabIndex = 0;
       this.audioGainTrackBar.TickFrequency = 5;
       this.audioGainTrackBar.TickStyle = TickStyle.Both;
       this.audioGainTrackBar.Value = 40;
       this.audioGainTrackBar.ValueChanged += new EventHandler(this.audioGainTrackBar_ValueChanged);
       this.label17.Anchor = AnchorStyles.None;
       this.label17.AutoSize = true;
       this.label17.Location = new Point(6, 318);
       this.label17.Name = "label17";
       this.label17.Size = new Size(39, 13);
       this.label17.TabIndex = 27;
       this.label17.Text = "Range";
       this.label17.TextAlign = ContentAlignment.MiddleCenter;
       this.scrollPanel.AutoScroll = true;
       this.scrollPanel.Controls.Add((Control) this.controlPanel);
       this.scrollPanel.Dock = DockStyle.Left;
       this.scrollPanel.Location = new Point(10, 61);
       this.scrollPanel.Margin = new Padding(3, 0, 3, 0);
       this.scrollPanel.Name = "scrollPanel";
       this.scrollPanel.Size = new Size(246, 645);
       this.scrollPanel.TabIndex = 28;
       this.vfoFrequencyEdit.Anchor = AnchorStyles.Left;
       this.vfoFrequencyEdit.AutoSize = true;
       this.vfoFrequencyEdit.AutoSizeMode = AutoSizeMode.GrowAndShrink;
       this.vfoFrequencyEdit.BackColor = Color.Transparent;
       this.vfoFrequencyEdit.Frequency = 0L;
       this.vfoFrequencyEdit.Location = new Point(296, 13);
       this.vfoFrequencyEdit.Name = "vfoFrequencyEdit";
       this.vfoFrequencyEdit.Size = new Size(274, 25);
       this.vfoFrequencyEdit.StepSize = 0;
       this.vfoFrequencyEdit.TabIndex = 1;
       this.vfoFrequencyEdit.FrequencyChanged += new EventHandler(this.vfoFrequencyEdit_FrequencyChanged);
       this.vfoFrequencyEdit.FrequencyChanging += new EventHandler<FrequencyChangingEventArgs>(this.vfoFrequencyEdit_FrequencyChanging);
       this.rightTableLayoutPanel.AutoSize = true;
       this.rightTableLayoutPanel.AutoSizeMode = AutoSizeMode.GrowAndShrink;
       this.rightTableLayoutPanel.ColumnCount = 1;
       this.rightTableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f));
       this.rightTableLayoutPanel.Controls.Add((Control) this.label2, 0, 6);
       this.rightTableLayoutPanel.Controls.Add((Control) this.label19, 0, 0);
       this.rightTableLayoutPanel.Controls.Add((Control) this.label20, 0, 2);
       this.rightTableLayoutPanel.Controls.Add((Control) this.label17, 0, 4);
       this.rightTableLayoutPanel.Controls.Add((Control) this.fftZoomTrackBar, 0, 1);
       this.rightTableLayoutPanel.Controls.Add((Control) this.fftContrastTrackBar, 0, 3);
       this.rightTableLayoutPanel.Controls.Add((Control) this.fftOffsetTrackBar, 0, 7);
       this.rightTableLayoutPanel.Controls.Add((Control) this.fftRangeTrackBar, 0, 5);
       this.rightTableLayoutPanel.Dock = DockStyle.Right;
       this.rightTableLayoutPanel.Location = new Point(885, 61);
       this.rightTableLayoutPanel.Margin = new Padding(0);
       this.rightTableLayoutPanel.Name = "rightTableLayoutPanel";
       this.rightTableLayoutPanel.RowCount = 8;
       this.rightTableLayoutPanel.RowStyles.Add(new RowStyle());
       this.rightTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 25f));
       this.rightTableLayoutPanel.RowStyles.Add(new RowStyle());
       this.rightTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 25f));
       this.rightTableLayoutPanel.RowStyles.Add(new RowStyle());
       this.rightTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 25f));
       this.rightTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 20f));
       this.rightTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 25f));
       this.rightTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 20f));
       this.rightTableLayoutPanel.Size = new Size(52, 645);
       this.rightTableLayoutPanel.TabIndex = 33;
       this.label2.Anchor = AnchorStyles.None;
       this.label2.AutoSize = true;
       this.label2.Location = new Point(8, 480);
       this.label2.Name = "label2";
       this.label2.Size = new Size(35, 13);
       this.label2.TabIndex = 28;
       this.label2.Text = "Offset";
       this.label2.TextAlign = ContentAlignment.MiddleCenter;
       this.centerPanel.BackColor = Color.Black;
       this.centerPanel.Controls.Add((Control) this.spectrumPanel);
       this.centerPanel.Controls.Add((Control) this.bottomSplitter);
       this.centerPanel.Controls.Add((Control) this.bottomPluginPanel);
       this.centerPanel.Controls.Add((Control) this.topSplitter);
       this.centerPanel.Controls.Add((Control) this.topPluginPanel);
       this.centerPanel.Controls.Add((Control) this.rightSplitter);
       this.centerPanel.Controls.Add((Control) this.leftSplitter);
       this.centerPanel.Controls.Add((Control) this.leftPluginPanel);
       this.centerPanel.Controls.Add((Control) this.rightPluginPanel);
       this.centerPanel.Dock = DockStyle.Fill;
       this.centerPanel.Location = new Point(256, 61);
       this.centerPanel.Margin = new Padding(0);
       this.centerPanel.Name = "centerPanel";
       this.centerPanel.Size = new Size(629, 645);
       this.centerPanel.TabIndex = 4;
       this.spectrumPanel.Controls.Add((Control) this.spectrumSplitter);
       this.spectrumPanel.Controls.Add((Control) this.waterfall);
       this.spectrumPanel.Controls.Add((Control) this.spectrumAnalyzer);
       this.spectrumPanel.Dock = DockStyle.Fill;
       this.spectrumPanel.Location = new Point(4, 4);
       this.spectrumPanel.Name = "spectrumPanel";
       this.spectrumPanel.Size = new Size(621, 637);
       this.spectrumPanel.TabIndex = 38;
       this.spectrumSplitter.BackColor = SystemColors.Control;
       this.spectrumSplitter.Dock = DockStyle.Top;
       this.spectrumSplitter.Location = new Point(0, 324);
       this.spectrumSplitter.MinExtra = 0;
       this.spectrumSplitter.MinSize = 0;
       this.spectrumSplitter.Name = "spectrumSplitter";
       this.spectrumSplitter.Size = new Size(621, 4);
       this.spectrumSplitter.TabIndex = 1;
       this.spectrumSplitter.TabStop = false;
       this.waterfall.Attack = 0.9f;
       this.waterfall.BandType = BandType.Center;
       this.waterfall.CenterFrequency = 0L;
       this.waterfall.Contrast = 0;
       this.waterfall.Decay = 0.5f;
       this.waterfall.DisplayOffset = 0;
       this.waterfall.DisplayRange = 130;
       this.waterfall.Dock = DockStyle.Fill;
       this.waterfall.EnableFilter = true;
       this.waterfall.EnableFilterMove = true;
       this.waterfall.EnableFrequencyMarker = true;
       this.waterfall.EnableHotTracking = true;
       this.waterfall.EnableSideFilterResize = false;
       this.waterfall.FilterBandwidth = 10000;
       this.waterfall.FilterOffset = 0;
       this.waterfall.Frequency = 0L;
       this.waterfall.Location = new Point(0, 324);
       this.waterfall.Name = "waterfall";
       this.waterfall.Size = new Size(621, 313);
       this.waterfall.SpectrumWidth = 48000;
       this.waterfall.StepSize = 0;
       this.waterfall.TabIndex = 0;
       this.waterfall.TimestampInterval = 100;
       this.waterfall.UseSmoothing = true;
       this.waterfall.UseSnap = false;
       this.waterfall.UseTimestamps = false;
       this.waterfall.Zoom = 0;
       this.waterfall.FrequencyChanged += new ManualFrequencyChangeEventHandler(this.panview_FrequencyChanged);
       this.waterfall.CenterFrequencyChanged += new ManualFrequencyChangeEventHandler(this.panview_CenterFrequencyChanged);
       this.waterfall.BandwidthChanged += new ManualBandwidthChangeEventHandler(this.panview_BandwidthChanged);
       this.waterfall.CustomPaint += new CustomPaintEventHandler(this.waterfall_CustomPaint);
       this.spectrumAnalyzer.Attack = 0.9f;
       this.spectrumAnalyzer.BandType = BandType.Center;
       this.spectrumAnalyzer.CenterFrequency = 0L;
       this.spectrumAnalyzer.Contrast = 0;
       this.spectrumAnalyzer.Decay = 0.3f;
       this.spectrumAnalyzer.DisplayOffset = 0;
       this.spectrumAnalyzer.DisplayRange = 130;
       this.spectrumAnalyzer.Dock = DockStyle.Top;
       this.spectrumAnalyzer.EnableFilter = true;
       this.spectrumAnalyzer.EnableFilterMove = true;
       this.spectrumAnalyzer.EnableFrequencyMarker = true;
       this.spectrumAnalyzer.EnableHotTracking = true;
       this.spectrumAnalyzer.EnableSideFilterResize = false;
       this.spectrumAnalyzer.FilterBandwidth = 10000;
       this.spectrumAnalyzer.FilterOffset = 100;
       this.spectrumAnalyzer.Frequency = 0L;
       this.spectrumAnalyzer.Location = new Point(0, 0);
       this.spectrumAnalyzer.MarkPeaks = false;
       this.spectrumAnalyzer.Name = "spectrumAnalyzer";
       this.spectrumAnalyzer.Size = new Size(621, 324);
       this.spectrumAnalyzer.SpectrumStyle = SpectrumStyle.StaticGradient;
       this.spectrumAnalyzer.SpectrumWidth = 48000;
       this.spectrumAnalyzer.StatusText = (string) null;
       this.spectrumAnalyzer.StepSize = 1000;
       this.spectrumAnalyzer.TabIndex = 0;
       this.spectrumAnalyzer.UseSmoothing = true;
       this.spectrumAnalyzer.UseSnap = false;
       this.spectrumAnalyzer.Zoom = 0;
       this.spectrumAnalyzer.FrequencyChanged += new ManualFrequencyChangeEventHandler(this.panview_FrequencyChanged);
       this.spectrumAnalyzer.CenterFrequencyChanged += new ManualFrequencyChangeEventHandler(this.panview_CenterFrequencyChanged);
       this.spectrumAnalyzer.BandwidthChanged += new ManualBandwidthChangeEventHandler(this.panview_BandwidthChanged);
       this.spectrumAnalyzer.CustomPaint += new CustomPaintEventHandler(this.spectrumAnalyzer_CustomPaint);
       this.bottomSplitter.BackColor = SystemColors.Control;
       this.bottomSplitter.Dock = DockStyle.Bottom;
       this.bottomSplitter.Location = new Point(4, 641);
       this.bottomSplitter.MinSize = 0;
       this.bottomSplitter.Name = "bottomSplitter";
       this.bottomSplitter.Size = new Size(621, 4);
       this.bottomSplitter.TabIndex = 42;
       this.bottomSplitter.TabStop = false;
       this.bottomSplitter.SplitterMoved += new SplitterEventHandler(this.pluginSplitter_SplitterMoved);
       this.bottomPluginPanel.BackColor = SystemColors.Control;
       this.bottomPluginPanel.ColumnCount = 1;
       this.bottomPluginPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f));
       this.bottomPluginPanel.Dock = DockStyle.Bottom;
       this.bottomPluginPanel.Location = new Point(4, 645);
       this.bottomPluginPanel.Margin = new Padding(0);
       this.bottomPluginPanel.Name = "bottomPluginPanel";
       this.bottomPluginPanel.RowCount = 1;
       this.bottomPluginPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
       this.bottomPluginPanel.Size = new Size(621, 0);
       this.bottomPluginPanel.TabIndex = 41;
       this.topSplitter.BackColor = SystemColors.Control;
       this.topSplitter.Dock = DockStyle.Top;
       this.topSplitter.Location = new Point(4, 0);
       this.topSplitter.MinSize = 0;
       this.topSplitter.Name = "topSplitter";
       this.topSplitter.Size = new Size(621, 4);
       this.topSplitter.TabIndex = 40;
       this.topSplitter.TabStop = false;
       this.topSplitter.SplitterMoved += new SplitterEventHandler(this.pluginSplitter_SplitterMoved);
       this.topPluginPanel.BackColor = SystemColors.Control;
       this.topPluginPanel.ColumnCount = 1;
       this.topPluginPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f));
       this.topPluginPanel.Dock = DockStyle.Top;
       this.topPluginPanel.Location = new Point(4, 0);
       this.topPluginPanel.Margin = new Padding(0);
       this.topPluginPanel.Name = "topPluginPanel";
       this.topPluginPanel.RowCount = 1;
       this.topPluginPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
       this.topPluginPanel.Size = new Size(621, 0);
       this.topPluginPanel.TabIndex = 39;
       this.rightSplitter.BackColor = SystemColors.Control;
       this.rightSplitter.Dock = DockStyle.Right;
       this.rightSplitter.Location = new Point(625, 0);
       this.rightSplitter.MinSize = 0;
       this.rightSplitter.Name = "rightSplitter";
       this.rightSplitter.Size = new Size(4, 645);
       this.rightSplitter.TabIndex = 37;
       this.rightSplitter.TabStop = false;
       this.rightSplitter.SplitterMoved += new SplitterEventHandler(this.pluginSplitter_SplitterMoved);
       this.leftSplitter.BackColor = SystemColors.Control;
       this.leftSplitter.Location = new Point(0, 0);
       this.leftSplitter.MinSize = 0;
       this.leftSplitter.Name = "leftSplitter";
       this.leftSplitter.Size = new Size(4, 645);
       this.leftSplitter.TabIndex = 36;
       this.leftSplitter.TabStop = false;
       this.leftSplitter.SplitterMoved += new SplitterEventHandler(this.pluginSplitter_SplitterMoved);
       this.leftPluginPanel.BackColor = SystemColors.Control;
       this.leftPluginPanel.ColumnCount = 1;
       this.leftPluginPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f));
       this.leftPluginPanel.Dock = DockStyle.Left;
       this.leftPluginPanel.Location = new Point(0, 0);
       this.leftPluginPanel.Margin = new Padding(0);
       this.leftPluginPanel.Name = "leftPluginPanel";
       this.leftPluginPanel.RowCount = 1;
       this.leftPluginPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
       this.leftPluginPanel.Size = new Size(0, 645);
       this.leftPluginPanel.TabIndex = 1;
       this.rightPluginPanel.BackColor = SystemColors.Control;
       this.rightPluginPanel.ColumnCount = 1;
       this.rightPluginPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f));
       this.rightPluginPanel.Dock = DockStyle.Right;
       this.rightPluginPanel.Location = new Point(629, 0);
       this.rightPluginPanel.Margin = new Padding(0);
       this.rightPluginPanel.Name = "rightPluginPanel";
       this.rightPluginPanel.RowCount = 1;
       this.rightPluginPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
       this.rightPluginPanel.Size = new Size(0, 645);
       this.rightPluginPanel.TabIndex = 3;
       this.settingsTableLayoutPanel.ColumnCount = 7;
       this.settingsTableLayoutPanel.ColumnStyles.Add(new ColumnStyle());
       this.settingsTableLayoutPanel.ColumnStyles.Add(new ColumnStyle());
       this.settingsTableLayoutPanel.ColumnStyles.Add(new ColumnStyle());
       this.settingsTableLayoutPanel.ColumnStyles.Add(new ColumnStyle());
       this.settingsTableLayoutPanel.ColumnStyles.Add(new ColumnStyle());
       this.settingsTableLayoutPanel.ColumnStyles.Add(new ColumnStyle());
       this.settingsTableLayoutPanel.ColumnStyles.Add(new ColumnStyle());
       this.settingsTableLayoutPanel.Controls.Add((Control) this.playStopButton, 1, 0);
       this.settingsTableLayoutPanel.Controls.Add((Control) this.configureSourceButton, 2, 0);
       this.settingsTableLayoutPanel.Controls.Add((Control) this.toggleMenuButton, 0, 0);
       this.settingsTableLayoutPanel.Controls.Add((Control) this.muteButton, 3, 0);
       this.settingsTableLayoutPanel.Controls.Add((Control) this.audioGainTrackBar, 4, 0);
       this.settingsTableLayoutPanel.Controls.Add((Control) this.vfoFrequencyEdit, 5, 0);
       this.settingsTableLayoutPanel.Controls.Add((Control) this.centerButton, 6, 0);
       this.settingsTableLayoutPanel.Dock = DockStyle.Top;
       this.settingsTableLayoutPanel.Location = new Point(10, 10);
       this.settingsTableLayoutPanel.Margin = new Padding(0);
       this.settingsTableLayoutPanel.Name = "settingsTableLayoutPanel";
       this.settingsTableLayoutPanel.RowCount = 1;
       this.settingsTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
       this.settingsTableLayoutPanel.Size = new Size(927, 51);
       this.settingsTableLayoutPanel.TabIndex = 33;
       this.playStopButton.Anchor = AnchorStyles.None;
       this.playStopButton.FlatAppearance.BorderSize = 0;
       this.playStopButton.FlatStyle = FlatStyle.Flat;
       this.playStopButton.Image = (Image) Resources.sdr_start;
       this.playStopButton.Location = new Point(39, 10);
       this.playStopButton.Name = "playStopButton";
       this.playStopButton.Size = new Size(30, 30);
       this.playStopButton.TabIndex = 0;
       this.playStopButton.Click += new EventHandler(this.playStopButton_Click);
       this.configureSourceButton.Anchor = AnchorStyles.None;
       this.configureSourceButton.FlatAppearance.BorderSize = 0;
       this.configureSourceButton.FlatStyle = FlatStyle.Flat;
       this.configureSourceButton.Image = (Image) Resources.config_gear;
       this.configureSourceButton.Location = new Point(75, 12);
       this.configureSourceButton.Name = "configureSourceButton";
       this.configureSourceButton.Size = new Size(30, 26);
       this.configureSourceButton.TabIndex = 0;
       this.configureSourceButton.UseVisualStyleBackColor = true;
       this.configureSourceButton.Click += new EventHandler(this.frontendGuiButton_Click);
       this.toggleMenuButton.Anchor = AnchorStyles.None;
       this.toggleMenuButton.FlatAppearance.BorderSize = 0;
       this.toggleMenuButton.FlatStyle = FlatStyle.Flat;
       this.toggleMenuButton.Image = (Image) Resources.toggle_menu;
       this.toggleMenuButton.Location = new Point(3, 10);
       this.toggleMenuButton.Name = "toggleMenuButton";
       this.toggleMenuButton.Size = new Size(30, 30);
       this.toggleMenuButton.TabIndex = 0;
       this.toggleMenuButton.Click += new EventHandler(this.toggleMenuButton_Click);
       this.muteButton.Anchor = AnchorStyles.None;
       this.muteButton.FlatAppearance.BorderSize = 0;
       this.muteButton.FlatStyle = FlatStyle.Flat;
       this.muteButton.Image = (Image) Resources.audio_unmuted;
       this.muteButton.Location = new Point(111, 10);
       this.muteButton.Name = "muteButton";
       this.muteButton.Size = new Size(30, 30);
       this.muteButton.TabIndex = 1;
       this.muteButton.UseVisualStyleBackColor = true;
       this.muteButton.Click += new EventHandler(this.muteButton_Click);
       this.centerButton.Anchor = AnchorStyles.Left;
       this.centerButton.FlatAppearance.BorderSize = 0;
       this.centerButton.FlatStyle = FlatStyle.Flat;
       this.centerButton.Image = (Image) Resources.free_tuning;
       this.centerButton.Location = new Point(576, 10);
       this.centerButton.Name = "centerButton";
       this.centerButton.Size = new Size(30, 30);
       this.centerButton.TabIndex = 2;
       this.centerButton.Click += new EventHandler(this.centerButton_Click);
       this.menuSpacerPanel.Dock = DockStyle.Left;
       this.menuSpacerPanel.Location = new Point(256, 61);
       this.menuSpacerPanel.Name = "menuSpacerPanel";
       this.menuSpacerPanel.Size = new Size(3, 645);
       this.menuSpacerPanel.TabIndex = 34;
       this.AutoScaleDimensions = new SizeF(96f, 96f);
       this.AutoScaleMode = AutoScaleMode.Dpi;
       this.ClientSize = new Size(947, 716);
       this.Controls.Add((Control) this.menuSpacerPanel);
       this.Controls.Add((Control) this.centerPanel);
       this.Controls.Add((Control) this.rightTableLayoutPanel);
       this.Controls.Add((Control) this.scrollPanel);
       this.Controls.Add((Control) this.settingsTableLayoutPanel);
       this.Icon = (Icon) componentResourceManager.GetObject("$this.Icon");
       this.KeyPreview = true;
       this.Name = "MainForm";
       this.Padding = new Padding(10);
       this.SizeGripStyle = SizeGripStyle.Show;
       this.StartPosition = FormStartPosition.Manual;
       this.Text = "SDR#";
       this.Closing += new CancelEventHandler(this.MainForm_Closing);
       this.Load += new EventHandler(this.MainForm_Load);
       this.Move += new EventHandler(this.MainForm_Move);
       this.Resize += new EventHandler(this.MainForm_Resize);
       this.fftContrastTrackBar.EndInit();
       this.fftZoomTrackBar.EndInit();
       this.controlPanel.ResumeLayout(false);
       this.sourceCollapsiblePanel.Content.ResumeLayout(false);
       this.sourceCollapsiblePanel.ResumeLayout(false);
       this.sourceCollapsiblePanel.PerformLayout();
       this.tableLayoutPanel6.ResumeLayout(false);
       this.radioCollapsiblePanel.Content.ResumeLayout(false);
       this.radioCollapsiblePanel.ResumeLayout(false);
       this.radioCollapsiblePanel.PerformLayout();
       this.radioTableLayoutPanel.ResumeLayout(false);
       this.radioTableLayoutPanel.PerformLayout();
       this.tableLayoutPanel7.ResumeLayout(false);
       this.tableLayoutPanel7.PerformLayout();
       this.cwShiftNumericUpDown.EndInit();
       this.squelchNumericUpDown.EndInit();
       this.filterBandwidthNumericUpDown.EndInit();
       this.filterOrderNumericUpDown.EndInit();
       this.frequencyShiftNumericUpDown.EndInit();
       this.audioCollapsiblePanel.Content.ResumeLayout(false);
       this.audioCollapsiblePanel.ResumeLayout(false);
       this.audioCollapsiblePanel.PerformLayout();
       this.tableLayoutPanel1.ResumeLayout(false);
       this.tableLayoutPanel1.PerformLayout();
       this.latencyNumericUpDown.EndInit();
       this.agcCollapsiblePanel.Content.ResumeLayout(false);
       this.agcCollapsiblePanel.ResumeLayout(false);
       this.agcCollapsiblePanel.PerformLayout();
       this.tableLayoutPanel2.ResumeLayout(false);
       this.tableLayoutPanel2.PerformLayout();
       this.agcSlopeNumericUpDown.EndInit();
       this.agcDecayNumericUpDown.EndInit();
       this.agcThresholdNumericUpDown.EndInit();
       this.fftCollapsiblePanel.Content.ResumeLayout(false);
       this.fftCollapsiblePanel.ResumeLayout(false);
       this.fftCollapsiblePanel.PerformLayout();
       this.tableLayoutPanel3.ResumeLayout(false);
       this.tableLayoutPanel3.PerformLayout();
       this.groupBox1.ResumeLayout(false);
       this.tableLayoutPanel5.ResumeLayout(false);
       this.tableLayoutPanel5.PerformLayout();
       this.fftSpeedTrackBar.EndInit();
       this.smoothingGroupBox.ResumeLayout(false);
       this.tableLayoutPanel4.ResumeLayout(false);
       this.tableLayoutPanel4.PerformLayout();
       this.wDecayTrackBar.EndInit();
       this.wAttackTrackBar.EndInit();
       this.sDecayTrackBar.EndInit();
       this.sAttackTrackBar.EndInit();
       this.fftOffsetTrackBar.EndInit();
       this.fftRangeTrackBar.EndInit();
       this.audioGainTrackBar.EndInit();
       this.scrollPanel.ResumeLayout(false);
       this.scrollPanel.PerformLayout();
       this.rightTableLayoutPanel.ResumeLayout(false);
       this.rightTableLayoutPanel.PerformLayout();
       this.centerPanel.ResumeLayout(false);
       this.spectrumPanel.ResumeLayout(false);
       this.settingsTableLayoutPanel.ResumeLayout(false);
       this.settingsTableLayoutPanel.PerformLayout();
       this.ResumeLayout(false);
       this.PerformLayout();
 }
Exemple #4
0
 private void CreatePluginCollapsiblePanel(ISharpPlugin plugin)
 {
     UserControl guiControl = plugin.GuiControl;
       if (guiControl == null)
     return;
       CollapsiblePanel collapsiblePanel1 = new CollapsiblePanel();
       collapsiblePanel1.PanelTitle = plugin.DisplayName + " *";
       collapsiblePanel1.Content.Controls.Add((Control) guiControl);
       collapsiblePanel1.Height = guiControl.Height;
       collapsiblePanel1.Width = this.fftCollapsiblePanel.Width;
       collapsiblePanel1.PanelState = PanelStateOptions.Collapsed;
       guiControl.Dock = DockStyle.Fill;
       CollapsiblePanel collapsiblePanel2 = this.fftCollapsiblePanel;
       while (collapsiblePanel2.NextPanel != null)
     collapsiblePanel2 = collapsiblePanel2.NextPanel;
       collapsiblePanel2.NextPanel = collapsiblePanel1;
       this.controlPanel.Controls.Add((Control) collapsiblePanel1);
 }