/// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DSPTestForm));
     this.chkMu                   = new System.Windows.Forms.CheckBox();
     this.grpWBIQ                 = new System.Windows.Forms.GroupBox();
     this.checkBoxIQEnable        = new System.Windows.Forms.CheckBox();
     this.udMu                    = new System.Windows.Forms.NumericUpDown();
     this.btnSAMPLL               = new System.Windows.Forms.Button();
     this.txtSAMPLL               = new System.Windows.Forms.TextBox();
     this.txtIQWReal              = new System.Windows.Forms.TextBox();
     this.btnIQW                  = new System.Windows.Forms.Button();
     this.txtIQWImag              = new System.Windows.Forms.TextBox();
     this.grpRXDCBlock            = new System.Windows.Forms.GroupBox();
     this.checkBoxRXDCBlockEnable = new System.Windows.Forms.CheckBox();
     this.udDCBlock               = new System.Windows.Forms.NumericUpDown();
     this.chkAudioMox             = new System.Windows.Forms.CheckBox();
     this.grpMN                   = new System.Windows.Forms.GroupBoxTS();
     this.NotchFreq               = new System.Windows.Forms.Label();
     this.udMNFreq                = new System.Windows.Forms.NumericUpDownTS();
     this.checkBoxMNEnable        = new System.Windows.Forms.CheckBox();
     this.grpDSPLMSNR             = new System.Windows.Forms.GroupBoxTS();
     this.lblLMSNRLeak            = new System.Windows.Forms.LabelTS();
     this.udLMSNRLeak             = new System.Windows.Forms.NumericUpDownTS();
     this.lblLMSNRgain            = new System.Windows.Forms.LabelTS();
     this.udLMSNRgain             = new System.Windows.Forms.NumericUpDownTS();
     this.udLMSNRdelay            = new System.Windows.Forms.NumericUpDownTS();
     this.lblLMSNRdelay           = new System.Windows.Forms.LabelTS();
     this.udLMSNRtaps             = new System.Windows.Forms.NumericUpDownTS();
     this.lblLMSNRtaps            = new System.Windows.Forms.LabelTS();
     this.grpDSPLMSANF            = new System.Windows.Forms.GroupBoxTS();
     this.lblLMSANFLeak           = new System.Windows.Forms.LabelTS();
     this.udLMSANFLeak            = new System.Windows.Forms.NumericUpDownTS();
     this.lblLMSANFgain           = new System.Windows.Forms.LabelTS();
     this.udLMSANFgain            = new System.Windows.Forms.NumericUpDownTS();
     this.lblLMSANFdelay          = new System.Windows.Forms.LabelTS();
     this.udLMSANFdelay           = new System.Windows.Forms.NumericUpDownTS();
     this.lblLMSANFTaps           = new System.Windows.Forms.LabelTS();
     this.udLMSANFtaps            = new System.Windows.Forms.NumericUpDownTS();
     this.grpWBIQ.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.udMu)).BeginInit();
     this.grpRXDCBlock.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.udDCBlock)).BeginInit();
     this.grpMN.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.udMNFreq)).BeginInit();
     this.grpDSPLMSNR.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.udLMSNRLeak)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.udLMSNRgain)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.udLMSNRdelay)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.udLMSNRtaps)).BeginInit();
     this.grpDSPLMSANF.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.udLMSANFLeak)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.udLMSANFgain)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.udLMSANFdelay)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.udLMSANFtaps)).BeginInit();
     this.SuspendLayout();
     //
     // chkMu
     //
     this.chkMu.Appearance      = System.Windows.Forms.Appearance.Button;
     this.chkMu.Location        = new System.Drawing.Point(8, 24);
     this.chkMu.Name            = "chkMu";
     this.chkMu.Size            = new System.Drawing.Size(48, 24);
     this.chkMu.TabIndex        = 0;
     this.chkMu.Text            = "Mu";
     this.chkMu.TextAlign       = System.Drawing.ContentAlignment.MiddleCenter;
     this.chkMu.CheckedChanged += new System.EventHandler(this.chkMu_CheckedChanged);
     //
     // grpWBIQ
     //
     this.grpWBIQ.Controls.Add(this.checkBoxIQEnable);
     this.grpWBIQ.Controls.Add(this.udMu);
     this.grpWBIQ.Controls.Add(this.chkMu);
     this.grpWBIQ.Location = new System.Drawing.Point(8, 8);
     this.grpWBIQ.Name     = "grpWBIQ";
     this.grpWBIQ.Size     = new System.Drawing.Size(272, 64);
     this.grpWBIQ.TabIndex = 1;
     this.grpWBIQ.TabStop  = false;
     this.grpWBIQ.Text     = "WBIQ";
     //
     // checkBoxIQEnable
     //
     this.checkBoxIQEnable.Location        = new System.Drawing.Point(176, 23);
     this.checkBoxIQEnable.Name            = "checkBoxIQEnable";
     this.checkBoxIQEnable.Size            = new System.Drawing.Size(80, 24);
     this.checkBoxIQEnable.TabIndex        = 2;
     this.checkBoxIQEnable.Text            = "IQ disable";
     this.checkBoxIQEnable.CheckedChanged += new System.EventHandler(this.checkBoxIQEnable_CheckedChanged);
     //
     // udMu
     //
     this.udMu.DecimalPlaces = 8;
     this.udMu.Increment     = new decimal(new int[] {
         1,
         0,
         0,
         327680
     });
     this.udMu.Location = new System.Drawing.Point(80, 24);
     this.udMu.Maximum  = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.udMu.Name     = "udMu";
     this.udMu.Size     = new System.Drawing.Size(80, 20);
     this.udMu.TabIndex = 1;
     this.udMu.Value    = new decimal(new int[] {
         5,
         0,
         0,
         196608
     });
     this.udMu.ValueChanged += new System.EventHandler(this.udMu_ValueChanged);
     //
     // btnSAMPLL
     //
     this.btnSAMPLL.Location = new System.Drawing.Point(8, 224);
     this.btnSAMPLL.Name     = "btnSAMPLL";
     this.btnSAMPLL.Size     = new System.Drawing.Size(75, 23);
     this.btnSAMPLL.TabIndex = 36;
     this.btnSAMPLL.Text     = "SAM PLL";
     this.btnSAMPLL.Click   += new System.EventHandler(this.btnSAMPLL_Click);
     //
     // txtSAMPLL
     //
     this.txtSAMPLL.Location = new System.Drawing.Point(96, 224);
     this.txtSAMPLL.Name     = "txtSAMPLL";
     this.txtSAMPLL.Size     = new System.Drawing.Size(56, 20);
     this.txtSAMPLL.TabIndex = 38;
     //
     // txtIQWReal
     //
     this.txtIQWReal.Location = new System.Drawing.Point(248, 216);
     this.txtIQWReal.Name     = "txtIQWReal";
     this.txtIQWReal.Size     = new System.Drawing.Size(56, 20);
     this.txtIQWReal.TabIndex = 40;
     //
     // btnIQW
     //
     this.btnIQW.Location = new System.Drawing.Point(192, 216);
     this.btnIQW.Name     = "btnIQW";
     this.btnIQW.Size     = new System.Drawing.Size(48, 23);
     this.btnIQW.TabIndex = 39;
     this.btnIQW.Text     = "IQ W";
     this.btnIQW.Click   += new System.EventHandler(this.btnIQW_Click);
     //
     // txtIQWImag
     //
     this.txtIQWImag.Location = new System.Drawing.Point(248, 240);
     this.txtIQWImag.Name     = "txtIQWImag";
     this.txtIQWImag.Size     = new System.Drawing.Size(56, 20);
     this.txtIQWImag.TabIndex = 41;
     //
     // grpRXDCBlock
     //
     this.grpRXDCBlock.Controls.Add(this.checkBoxRXDCBlockEnable);
     this.grpRXDCBlock.Controls.Add(this.udDCBlock);
     this.grpRXDCBlock.Location = new System.Drawing.Point(257, 80);
     this.grpRXDCBlock.Name     = "grpRXDCBlock";
     this.grpRXDCBlock.Size     = new System.Drawing.Size(105, 128);
     this.grpRXDCBlock.TabIndex = 44;
     this.grpRXDCBlock.TabStop  = false;
     this.grpRXDCBlock.Text     = "RX DC Block";
     this.grpRXDCBlock.Enter   += new System.EventHandler(this.groupBox1_Enter);
     //
     // checkBoxRXDCBlockEnable
     //
     this.checkBoxRXDCBlockEnable.AutoSize = true;
     this.checkBoxRXDCBlockEnable.Location = new System.Drawing.Point(8, 31);
     this.checkBoxRXDCBlockEnable.Name     = "checkBoxRXDCBlockEnable";
     this.checkBoxRXDCBlockEnable.Size     = new System.Drawing.Size(83, 17);
     this.checkBoxRXDCBlockEnable.TabIndex = 44;
     this.checkBoxRXDCBlockEnable.Text     = "DCB enable";
     this.checkBoxRXDCBlockEnable.UseVisualStyleBackColor = true;
     this.checkBoxRXDCBlockEnable.CheckedChanged         += new System.EventHandler(this.checkBoxRXDCBlockEnable_CheckedChanged);
     //
     // udDCBlock
     //
     this.udDCBlock.DecimalPlaces = 8;
     this.udDCBlock.Increment     = new decimal(new int[] {
         1,
         0,
         0,
         327680
     });
     this.udDCBlock.Location = new System.Drawing.Point(9, 65);
     this.udDCBlock.Maximum  = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.udDCBlock.Name     = "udDCBlock";
     this.udDCBlock.Size     = new System.Drawing.Size(80, 20);
     this.udDCBlock.TabIndex = 43;
     this.udDCBlock.Value    = new decimal(new int[] {
         5,
         0,
         0,
         196608
     });
     this.udDCBlock.ValueChanged += new System.EventHandler(this.udDCBlock_ValueChanged);
     //
     // chkAudioMox
     //
     this.chkAudioMox.Appearance      = System.Windows.Forms.Appearance.Button;
     this.chkAudioMox.Location        = new System.Drawing.Point(310, 216);
     this.chkAudioMox.Name            = "chkAudioMox";
     this.chkAudioMox.Size            = new System.Drawing.Size(48, 38);
     this.chkAudioMox.TabIndex        = 45;
     this.chkAudioMox.Text            = "Audio MOX";
     this.chkAudioMox.TextAlign       = System.Drawing.ContentAlignment.MiddleCenter;
     this.chkAudioMox.CheckedChanged += new System.EventHandler(this.chkAudioMox_CheckedChanged);
     //
     // grpMN
     //
     this.grpMN.Controls.Add(this.NotchFreq);
     this.grpMN.Controls.Add(this.udMNFreq);
     this.grpMN.Controls.Add(this.checkBoxMNEnable);
     this.grpMN.Location = new System.Drawing.Point(286, 8);
     this.grpMN.Name     = "grpMN";
     this.grpMN.Size     = new System.Drawing.Size(278, 66);
     this.grpMN.TabIndex = 46;
     this.grpMN.TabStop  = false;
     this.grpMN.Text     = "ManualNotch";
     //
     // NotchFreq
     //
     this.NotchFreq.AutoSize = true;
     this.NotchFreq.Location = new System.Drawing.Point(21, 26);
     this.NotchFreq.Name     = "NotchFreq";
     this.NotchFreq.Size     = new System.Drawing.Size(47, 13);
     this.NotchFreq.TabIndex = 2;
     this.NotchFreq.Text     = "Freq(Hz)";
     //
     // udMNFreq
     //
     this.udMNFreq.Increment = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.udMNFreq.Location = new System.Drawing.Point(75, 23);
     this.udMNFreq.Maximum  = new decimal(new int[] {
         4000,
         0,
         0,
         0
     });
     this.udMNFreq.Minimum = new decimal(new int[] {
         100,
         0,
         0,
         0
     });
     this.udMNFreq.Name     = "udMNFreq";
     this.udMNFreq.Size     = new System.Drawing.Size(57, 20);
     this.udMNFreq.TabIndex = 1;
     this.udMNFreq.Value    = new decimal(new int[] {
         400,
         0,
         0,
         0
     });
     this.udMNFreq.ValueChanged += new System.EventHandler(this.udMNFreq_ValueChanged);
     //
     // checkBoxMNEnable
     //
     this.checkBoxMNEnable.AutoSize = true;
     this.checkBoxMNEnable.Location = new System.Drawing.Point(152, 24);
     this.checkBoxMNEnable.Name     = "checkBoxMNEnable";
     this.checkBoxMNEnable.Size     = new System.Drawing.Size(82, 17);
     this.checkBoxMNEnable.TabIndex = 0;
     this.checkBoxMNEnable.Text     = "Man. Notch";
     this.checkBoxMNEnable.UseVisualStyleBackColor = true;
     this.checkBoxMNEnable.CheckedChanged         += new System.EventHandler(this.checkBoxMNEnable_CheckedChanged);
     //
     // grpDSPLMSNR
     //
     this.grpDSPLMSNR.Controls.Add(this.lblLMSNRLeak);
     this.grpDSPLMSNR.Controls.Add(this.udLMSNRLeak);
     this.grpDSPLMSNR.Controls.Add(this.lblLMSNRgain);
     this.grpDSPLMSNR.Controls.Add(this.udLMSNRgain);
     this.grpDSPLMSNR.Controls.Add(this.udLMSNRdelay);
     this.grpDSPLMSNR.Controls.Add(this.lblLMSNRdelay);
     this.grpDSPLMSNR.Controls.Add(this.udLMSNRtaps);
     this.grpDSPLMSNR.Controls.Add(this.lblLMSNRtaps);
     this.grpDSPLMSNR.Location = new System.Drawing.Point(8, 80);
     this.grpDSPLMSNR.Name     = "grpDSPLMSNR";
     this.grpDSPLMSNR.Size     = new System.Drawing.Size(112, 128);
     this.grpDSPLMSNR.TabIndex = 35;
     this.grpDSPLMSNR.TabStop  = false;
     this.grpDSPLMSNR.Text     = "NR";
     //
     // lblLMSNRLeak
     //
     this.lblLMSNRLeak.Image    = null;
     this.lblLMSNRLeak.Location = new System.Drawing.Point(8, 96);
     this.lblLMSNRLeak.Name     = "lblLMSNRLeak";
     this.lblLMSNRLeak.Size     = new System.Drawing.Size(40, 16);
     this.lblLMSNRLeak.TabIndex = 11;
     this.lblLMSNRLeak.Text     = "Leak:";
     //
     // udLMSNRLeak
     //
     this.udLMSNRLeak.Enabled   = false;
     this.udLMSNRLeak.Increment = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.udLMSNRLeak.Location = new System.Drawing.Point(56, 96);
     this.udLMSNRLeak.Maximum  = new decimal(new int[] {
         1000,
         0,
         0,
         0
     });
     this.udLMSNRLeak.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.udLMSNRLeak.Name     = "udLMSNRLeak";
     this.udLMSNRLeak.Size     = new System.Drawing.Size(48, 20);
     this.udLMSNRLeak.TabIndex = 10;
     this.udLMSNRLeak.Value    = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.udLMSNRLeak.ValueChanged += new System.EventHandler(this.udLMSNR_ValueChanged);
     //
     // lblLMSNRgain
     //
     this.lblLMSNRgain.Image    = null;
     this.lblLMSNRgain.Location = new System.Drawing.Point(8, 72);
     this.lblLMSNRgain.Name     = "lblLMSNRgain";
     this.lblLMSNRgain.Size     = new System.Drawing.Size(40, 16);
     this.lblLMSNRgain.TabIndex = 9;
     this.lblLMSNRgain.Text     = "Gain:";
     //
     // udLMSNRgain
     //
     this.udLMSNRgain.Increment = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.udLMSNRgain.Location = new System.Drawing.Point(56, 72);
     this.udLMSNRgain.Maximum  = new decimal(new int[] {
         200,
         0,
         0,
         0
     });
     this.udLMSNRgain.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.udLMSNRgain.Name     = "udLMSNRgain";
     this.udLMSNRgain.Size     = new System.Drawing.Size(48, 20);
     this.udLMSNRgain.TabIndex = 7;
     this.udLMSNRgain.Value    = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.udLMSNRgain.ValueChanged += new System.EventHandler(this.udLMSNR_ValueChanged);
     //
     // udLMSNRdelay
     //
     this.udLMSNRdelay.Enabled   = false;
     this.udLMSNRdelay.Increment = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.udLMSNRdelay.Location = new System.Drawing.Point(56, 48);
     this.udLMSNRdelay.Maximum  = new decimal(new int[] {
         127,
         0,
         0,
         0
     });
     this.udLMSNRdelay.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.udLMSNRdelay.Name     = "udLMSNRdelay";
     this.udLMSNRdelay.Size     = new System.Drawing.Size(48, 20);
     this.udLMSNRdelay.TabIndex = 6;
     this.udLMSNRdelay.Value    = new decimal(new int[] {
         50,
         0,
         0,
         0
     });
     this.udLMSNRdelay.ValueChanged += new System.EventHandler(this.udLMSNR_ValueChanged);
     //
     // lblLMSNRdelay
     //
     this.lblLMSNRdelay.Image    = null;
     this.lblLMSNRdelay.Location = new System.Drawing.Point(8, 48);
     this.lblLMSNRdelay.Name     = "lblLMSNRdelay";
     this.lblLMSNRdelay.Size     = new System.Drawing.Size(40, 16);
     this.lblLMSNRdelay.TabIndex = 5;
     this.lblLMSNRdelay.Text     = "Delay:";
     //
     // udLMSNRtaps
     //
     this.udLMSNRtaps.Enabled   = false;
     this.udLMSNRtaps.Increment = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.udLMSNRtaps.Location = new System.Drawing.Point(56, 24);
     this.udLMSNRtaps.Maximum  = new decimal(new int[] {
         127,
         0,
         0,
         0
     });
     this.udLMSNRtaps.Minimum = new decimal(new int[] {
         31,
         0,
         0,
         0
     });
     this.udLMSNRtaps.Name     = "udLMSNRtaps";
     this.udLMSNRtaps.Size     = new System.Drawing.Size(48, 20);
     this.udLMSNRtaps.TabIndex = 5;
     this.udLMSNRtaps.Value    = new decimal(new int[] {
         65,
         0,
         0,
         0
     });
     this.udLMSNRtaps.ValueChanged += new System.EventHandler(this.udLMSNR_ValueChanged);
     //
     // lblLMSNRtaps
     //
     this.lblLMSNRtaps.Image    = null;
     this.lblLMSNRtaps.Location = new System.Drawing.Point(8, 24);
     this.lblLMSNRtaps.Name     = "lblLMSNRtaps";
     this.lblLMSNRtaps.Size     = new System.Drawing.Size(40, 16);
     this.lblLMSNRtaps.TabIndex = 3;
     this.lblLMSNRtaps.Text     = "Taps:";
     //
     // grpDSPLMSANF
     //
     this.grpDSPLMSANF.Controls.Add(this.lblLMSANFLeak);
     this.grpDSPLMSANF.Controls.Add(this.udLMSANFLeak);
     this.grpDSPLMSANF.Controls.Add(this.lblLMSANFgain);
     this.grpDSPLMSANF.Controls.Add(this.udLMSANFgain);
     this.grpDSPLMSANF.Controls.Add(this.lblLMSANFdelay);
     this.grpDSPLMSANF.Controls.Add(this.udLMSANFdelay);
     this.grpDSPLMSANF.Controls.Add(this.lblLMSANFTaps);
     this.grpDSPLMSANF.Controls.Add(this.udLMSANFtaps);
     this.grpDSPLMSANF.Location = new System.Drawing.Point(128, 80);
     this.grpDSPLMSANF.Name     = "grpDSPLMSANF";
     this.grpDSPLMSANF.Size     = new System.Drawing.Size(120, 128);
     this.grpDSPLMSANF.TabIndex = 34;
     this.grpDSPLMSANF.TabStop  = false;
     this.grpDSPLMSANF.Text     = "ANF";
     //
     // lblLMSANFLeak
     //
     this.lblLMSANFLeak.Image    = null;
     this.lblLMSANFLeak.Location = new System.Drawing.Point(8, 96);
     this.lblLMSANFLeak.Name     = "lblLMSANFLeak";
     this.lblLMSANFLeak.Size     = new System.Drawing.Size(40, 16);
     this.lblLMSANFLeak.TabIndex = 9;
     this.lblLMSANFLeak.Text     = "Leak:";
     //
     // udLMSANFLeak
     //
     this.udLMSANFLeak.Enabled   = false;
     this.udLMSANFLeak.Increment = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.udLMSANFLeak.Location = new System.Drawing.Point(56, 96);
     this.udLMSANFLeak.Maximum  = new decimal(new int[] {
         1000,
         0,
         0,
         0
     });
     this.udLMSANFLeak.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.udLMSANFLeak.Name     = "udLMSANFLeak";
     this.udLMSANFLeak.Size     = new System.Drawing.Size(48, 20);
     this.udLMSANFLeak.TabIndex = 8;
     this.udLMSANFLeak.Value    = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.udLMSANFLeak.ValueChanged += new System.EventHandler(this.udLMSANF_ValueChanged);
     //
     // lblLMSANFgain
     //
     this.lblLMSANFgain.Image    = null;
     this.lblLMSANFgain.Location = new System.Drawing.Point(8, 72);
     this.lblLMSANFgain.Name     = "lblLMSANFgain";
     this.lblLMSANFgain.Size     = new System.Drawing.Size(40, 16);
     this.lblLMSANFgain.TabIndex = 6;
     this.lblLMSANFgain.Text     = "Gain:";
     //
     // udLMSANFgain
     //
     this.udLMSANFgain.Increment = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.udLMSANFgain.Location = new System.Drawing.Point(56, 72);
     this.udLMSANFgain.Maximum  = new decimal(new int[] {
         200,
         0,
         0,
         0
     });
     this.udLMSANFgain.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.udLMSANFgain.Name     = "udLMSANFgain";
     this.udLMSANFgain.Size     = new System.Drawing.Size(48, 20);
     this.udLMSANFgain.TabIndex = 3;
     this.udLMSANFgain.Value    = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.udLMSANFgain.ValueChanged += new System.EventHandler(this.udLMSANF_ValueChanged);
     //
     // lblLMSANFdelay
     //
     this.lblLMSANFdelay.Image    = null;
     this.lblLMSANFdelay.Location = new System.Drawing.Point(8, 48);
     this.lblLMSANFdelay.Name     = "lblLMSANFdelay";
     this.lblLMSANFdelay.Size     = new System.Drawing.Size(40, 16);
     this.lblLMSANFdelay.TabIndex = 4;
     this.lblLMSANFdelay.Text     = "Delay:";
     //
     // udLMSANFdelay
     //
     this.udLMSANFdelay.Enabled   = false;
     this.udLMSANFdelay.Increment = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.udLMSANFdelay.Location = new System.Drawing.Point(56, 48);
     this.udLMSANFdelay.Maximum  = new decimal(new int[] {
         127,
         0,
         0,
         0
     });
     this.udLMSANFdelay.Minimum = new decimal(new int[] {
         16,
         0,
         0,
         0
     });
     this.udLMSANFdelay.Name     = "udLMSANFdelay";
     this.udLMSANFdelay.Size     = new System.Drawing.Size(48, 20);
     this.udLMSANFdelay.TabIndex = 2;
     this.udLMSANFdelay.Value    = new decimal(new int[] {
         50,
         0,
         0,
         0
     });
     this.udLMSANFdelay.ValueChanged += new System.EventHandler(this.udLMSANF_ValueChanged);
     //
     // lblLMSANFTaps
     //
     this.lblLMSANFTaps.Image    = null;
     this.lblLMSANFTaps.Location = new System.Drawing.Point(8, 24);
     this.lblLMSANFTaps.Name     = "lblLMSANFTaps";
     this.lblLMSANFTaps.Size     = new System.Drawing.Size(40, 16);
     this.lblLMSANFTaps.TabIndex = 2;
     this.lblLMSANFTaps.Text     = "Taps:";
     //
     // udLMSANFtaps
     //
     this.udLMSANFtaps.Enabled   = false;
     this.udLMSANFtaps.Increment = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.udLMSANFtaps.Location = new System.Drawing.Point(56, 24);
     this.udLMSANFtaps.Maximum  = new decimal(new int[] {
         127,
         0,
         0,
         0
     });
     this.udLMSANFtaps.Minimum = new decimal(new int[] {
         31,
         0,
         0,
         0
     });
     this.udLMSANFtaps.Name     = "udLMSANFtaps";
     this.udLMSANFtaps.Size     = new System.Drawing.Size(48, 20);
     this.udLMSANFtaps.TabIndex = 1;
     this.udLMSANFtaps.Value    = new decimal(new int[] {
         65,
         0,
         0,
         0
     });
     this.udLMSANFtaps.ValueChanged += new System.EventHandler(this.udLMSANF_ValueChanged);
     //
     // DSPTestForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(567, 266);
     this.Controls.Add(this.grpMN);
     this.Controls.Add(this.chkAudioMox);
     this.Controls.Add(this.grpRXDCBlock);
     this.Controls.Add(this.txtIQWImag);
     this.Controls.Add(this.txtIQWReal);
     this.Controls.Add(this.btnIQW);
     this.Controls.Add(this.txtSAMPLL);
     this.Controls.Add(this.btnSAMPLL);
     this.Controls.Add(this.grpDSPLMSNR);
     this.Controls.Add(this.grpDSPLMSANF);
     this.Controls.Add(this.grpWBIQ);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "DSPTestForm";
     this.Text = "DSP Test Form";
     this.grpWBIQ.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.udMu)).EndInit();
     this.grpRXDCBlock.ResumeLayout(false);
     this.grpRXDCBlock.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.udDCBlock)).EndInit();
     this.grpMN.ResumeLayout(false);
     this.grpMN.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.udMNFreq)).EndInit();
     this.grpDSPLMSNR.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.udLMSNRLeak)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.udLMSNRgain)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.udLMSNRdelay)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.udLMSNRtaps)).EndInit();
     this.grpDSPLMSANF.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.udLMSANFLeak)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.udLMSANFgain)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.udLMSANFdelay)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.udLMSANFtaps)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #2
0
        public void RestoreSettings()
        {
            ArrayList temp = new ArrayList();                           // list of all first level controls

            ControlList(this, ref temp);

            ArrayList checkbox_list      = new ArrayList();
            ArrayList combobox_list      = new ArrayList();
            ArrayList numericupdown_list = new ArrayList();
            ArrayList radiobutton_list   = new ArrayList();
            ArrayList textbox_list       = new ArrayList();
            ArrayList trackbar_list      = new ArrayList();
            ArrayList colorbutton_list   = new ArrayList();

            //ArrayList controls = new ArrayList();	// list of controls to restore
            foreach (Control c in temp)
            {
                if (c.GetType() == typeof(CheckBoxTS))                                  // the control is a CheckBoxTS
                {
                    checkbox_list.Add(c);
                }
                else if (c.GetType() == typeof(ComboBoxTS))                             // the control is a ComboBox
                {
                    combobox_list.Add(c);
                }
                else if (c.GetType() == typeof(NumericUpDownTS))                // the control is a NumericUpDown
                {
                    numericupdown_list.Add(c);
                }
                else if (c.GetType() == typeof(RadioButtonTS))                  // the control is a RadioButton
                {
                    radiobutton_list.Add(c);
                }
                else if (c.GetType() == typeof(TextBoxTS))                              // the control is a TextBox
                {
                    textbox_list.Add(c);
                }
                else if (c.GetType() == typeof(TrackBarTS))                             // the control is a TrackBar (slider)
                {
                    trackbar_list.Add(c);
                }
                else if (c.GetType() == typeof(ColorButton))
                {
                    colorbutton_list.Add(c);
                }
            }
            temp.Clear();                       // now that we have the controls we want, delete first list

            ArrayList a = DB.GetVars("EQForm"); // Get the saved list of controls

            a.Sort();

            // restore saved values to the controls
            foreach (string s in a)                                     // string is in the format "name,value"
            {
                string[] vals = s.Split('/');
                if (vals.Length > 2)
                {
                    for (int i = 2; i < vals.Length; i++)
                    {
                        vals[1] += "/" + vals[i];
                    }
                }

                string name = vals[0];
                string val  = vals[1];

                if (s.StartsWith("chk"))                                // control is a CheckBoxTS
                {
                    for (int i = 0; i < checkbox_list.Count; i++)
                    {                                    // look through each control to find the matching name
                        CheckBoxTS c = (CheckBoxTS)checkbox_list[i];
                        if (c.Name.Equals(name))         // name found
                        {
                            c.Checked = bool.Parse(val); // restore value
                            i         = checkbox_list.Count + 1;
                        }
                        if (i == checkbox_list.Count)
                        {
                            MessageBox.Show("Control not found: " + name);
                        }
                    }
                }
                else if (s.StartsWith("combo"))                 // control is a ComboBox
                {
                    for (int i = 0; i < combobox_list.Count; i++)
                    {                            // look through each control to find the matching name
                        ComboBoxTS c = (ComboBoxTS)combobox_list[i];
                        if (c.Name.Equals(name)) // name found
                        {
                            c.Text = val;        // restore value
                            i      = combobox_list.Count + 1;
                        }
                        if (i == combobox_list.Count)
                        {
                            MessageBox.Show("Control not found: " + name);
                        }
                    }
                }
                else if (s.StartsWith("ud"))
                {
                    for (int i = 0; i < numericupdown_list.Count; i++)
                    {                            // look through each control to find the matching name
                        NumericUpDownTS c = (NumericUpDownTS)numericupdown_list[i];
                        if (c.Name.Equals(name)) // name found
                        {
                            decimal num = decimal.Parse(val);

                            if (num > c.Maximum)
                            {
                                num = c.Maximum;                                                        // check endpoints
                            }
                            else if (num < c.Minimum)
                            {
                                num = c.Minimum;
                            }
                            c.Value = num;                                              // restore value
                            i       = numericupdown_list.Count + 1;
                        }
                        if (i == numericupdown_list.Count)
                        {
                            MessageBox.Show("Control not found: " + name);
                        }
                    }
                }
                else if (s.StartsWith("rad"))
                {                       // look through each control to find the matching name
                    for (int i = 0; i < radiobutton_list.Count; i++)
                    {
                        RadioButtonTS c = (RadioButtonTS)radiobutton_list[i];
                        if (c.Name.Equals(name))                                // name found
                        {
                            if (!val.ToLower().Equals("true") && !val.ToLower().Equals("false"))
                            {
                                val = "True";
                            }
                            c.Checked = bool.Parse(val);                                // restore value
                            i         = radiobutton_list.Count + 1;
                        }
                        if (i == radiobutton_list.Count)
                        {
                            MessageBox.Show("Control not found: " + name);
                        }
                    }
                }
                else if (s.StartsWith("txt"))
                {                       // look through each control to find the matching name
                    for (int i = 0; i < textbox_list.Count; i++)
                    {
                        TextBoxTS c = (TextBoxTS)textbox_list[i];
                        if (c.Name.Equals(name))                        // name found
                        {
                            c.Text = val;                               // restore value
                            i      = textbox_list.Count + 1;
                        }
                        if (i == textbox_list.Count)
                        {
                            MessageBox.Show("Control not found: " + name);
                        }
                    }
                }
                else if (s.StartsWith("tb"))
                {
                    // look through each control to find the matching name
                    for (int i = 0; i < trackbar_list.Count; i++)
                    {
                        TrackBarTS c = (TrackBarTS)trackbar_list[i];
                        if (c.Name.Equals(name))                                // name found
                        {
                            c.Value = Int32.Parse(val);
                            i       = trackbar_list.Count + 1;
                        }
                        if (i == trackbar_list.Count)
                        {
                            MessageBox.Show("Control not found: " + name);
                        }
                    }
                }
                else if (s.StartsWith("clrbtn"))
                {
                    string[] colors = val.Split('.');
                    if (colors.Length == 4)
                    {
                        int R, G, B, A;
                        R = Int32.Parse(colors[0]);
                        G = Int32.Parse(colors[1]);
                        B = Int32.Parse(colors[2]);
                        A = Int32.Parse(colors[3]);

                        for (int i = 0; i < colorbutton_list.Count; i++)
                        {
                            ColorButton c = (ColorButton)colorbutton_list[i];
                            if (c.Name.Equals(name))                                    // name found
                            {
                                c.Color = Color.FromArgb(A, R, G, B);
                                i       = colorbutton_list.Count + 1;
                            }
                            if (i == colorbutton_list.Count)
                            {
                                MessageBox.Show("Control not found: " + name);
                            }
                        }
                    }
                }
            }
        }
예제 #3
0
        public static void RestoreForm(Form form, string tablename, bool restore_size)
        {
            ArrayList temp = new ArrayList();                           // list of all first level controls

            //int VUskip = 0;
            ControlList(form, ref temp);

            ArrayList checkbox_list      = new ArrayList();
            ArrayList combobox_list      = new ArrayList();
            ArrayList numericupdown_list = new ArrayList();
            ArrayList radiobutton_list   = new ArrayList();
            ArrayList textbox_list       = new ArrayList();
            ArrayList trackbar_list      = new ArrayList();
            ArrayList colorbutton_list   = new ArrayList();

            //ArrayList controls = new ArrayList();	// list of controls to restore
            foreach (Control c in temp)
            {
                if (c.GetType() == typeof(CheckBoxTS))                  // the control is a CheckBoxTS
                {
                    checkbox_list.Add(c);
                }
                else if (c.GetType() == typeof(ComboBoxTS))             // the control is a ComboBox
                {
                    combobox_list.Add(c);
                }
                else if (c.GetType() == typeof(NumericUpDownTS))// the control is a NumericUpDown
                {
                    numericupdown_list.Add(c);
                }
                else if (c.GetType() == typeof(RadioButtonTS))  // the control is a RadioButton
                {
                    radiobutton_list.Add(c);
                }
                else if (c.GetType() == typeof(TextBoxTS))              // the control is a TextBox
                {
                    textbox_list.Add(c);
                }
                else if (c.GetType() == typeof(TrackBarTS))             // the control is a TrackBar (slider)
                {
                    trackbar_list.Add(c);
                }
                else if (c.GetType() == typeof(ColorButton))
                {
                    colorbutton_list.Add(c);
                }
            }



            temp.Clear();                        // now that we have the controls we want, delete first list

            ArrayList a = DB.GetVars(tablename); // Get the saved list of controls

            a.Sort();

            // restore saved values to the controls
            foreach (string s in a)                                     // string is in the format "name,value"
            {
                string[] vals = s.Split('/');
                if (vals.Length > 2)
                {
                    for (int i = 2; i < vals.Length; i++)
                    {
                        vals[1] += "/" + vals[i];
                    }
                }

                string name = vals[0];
                string val  = vals[1];

                switch (name)
                {
                case "Top":
                    form.StartPosition = FormStartPosition.Manual;
                    int top = int.Parse(val);

                    /*if(top < 0) top = 0;
                     * if(top > Screen.PrimaryScreen.Bounds.Height-form.Height && Screen.AllScreens.Length == 1)
                     *      top = Screen.PrimaryScreen.Bounds.Height-form.Height;*/
                    form.Top = top;
                    break;

                case "Left":
                    form.StartPosition = FormStartPosition.Manual;
                    int left = int.Parse(val);

                    /*if(left < 0) left = 0;
                     * if(left > Screen.PrimaryScreen.Bounds.Width-form.Width && Screen.AllScreens.Length == 1)
                     *      left = Screen.PrimaryScreen.Bounds.Width-form.Width;*/
                    form.Left = left;
                    break;

                case "Width":
                    if (restore_size)
                    {
                        int width = int.Parse(val);

                        /*if(width + form.Left > Screen.PrimaryScreen.Bounds.Width && Screen.AllScreens.Length == 1)
                         *      form.Left -= (width+form.Left-Screen.PrimaryScreen.Bounds.Width);*/
                        form.Width = width;
                    }
                    break;

                case "Height":
                    if (restore_size)
                    {
                        int height = int.Parse(val);

                        /*if(height + form.Top > Screen.PrimaryScreen.Bounds.Height && Screen.AllScreens.Length == 1)
                         *      form.Top -= (height+form.Top-Screen.PrimaryScreen.Bounds.Height);*/
                        form.Height = height;
                    }
                    break;
                }

                if (s.StartsWith("chk"))                                // control is a CheckBoxTS
                {
                    for (int i = 0; i < checkbox_list.Count; i++)
                    {                                    // look through each control to find the matching name
                        CheckBoxTS c = (CheckBoxTS)checkbox_list[i];
                        if (c.Name.Equals(name))         // name found
                        {
                            c.Checked = bool.Parse(val); // restore value
                            i         = checkbox_list.Count + 1;
                        }
                        if (i == checkbox_list.Count)
                        {
                            MessageBox.Show("Control not found: " + name);
                        }
                    }
                }
                else if (s.StartsWith("combo"))                 // control is a ComboBox
                {
                    for (int i = 0; i < combobox_list.Count; i++)
                    {                            // look through each control to find the matching name
                        ComboBoxTS c = (ComboBoxTS)combobox_list[i];
                        if (c.Name.Equals(name)) // name found
                        {
                            c.Text = val;        // restore value
                            i      = combobox_list.Count + 1;
                            if (c.Text != val)
                            {
                                Debug.WriteLine("Warning: " + form.Name + "." + name + " did not set to " + val);
                            }
                        }
                        if (i == combobox_list.Count)
                        {
                            MessageBox.Show("Control not found: " + name);
                        }
                    }
                }
                else if (s.StartsWith("ud"))
                {
                    for (int i = 0; i < numericupdown_list.Count; i++)
                    {                            // look through each control to find the matching name
                        NumericUpDownTS c = (NumericUpDownTS)numericupdown_list[i];
                        if (c.Name.Equals(name)) // name found
                        {
                            decimal num = decimal.Parse(val);

                            if (num > c.Maximum)
                            {
                                num = c.Maximum;                                                        // check endpoints
                            }
                            else if (num < c.Minimum)
                            {
                                num = c.Minimum;
                            }
                            c.Value = num;                                              // restore value
                            i       = numericupdown_list.Count + 1;
                        }
                        if (i == numericupdown_list.Count)
                        {
                            MessageBox.Show("Control not found: " + name);
                        }
                    }
                }
                else if (s.StartsWith("rad"))
                {                       // look through each control to find the matching name
                    for (int i = 0; i < radiobutton_list.Count; i++)
                    {
                        RadioButtonTS c = (RadioButtonTS)radiobutton_list[i];
                        if (c.Name.Equals(name))                                // name found
                        {
                            if (!val.ToLower().Equals("true") && !val.ToLower().Equals("false"))
                            {
                                val = "True";
                            }
                            c.Checked = bool.Parse(val);                                // restore value
                            i         = radiobutton_list.Count + 1;
                        }
                        if (i == radiobutton_list.Count)
                        {
                            MessageBox.Show("Control not found: " + name);
                        }
                    }
                }
                else if (s.StartsWith("txt"))
                {                       // look through each control to find the matching name
                    for (int i = 0; i < textbox_list.Count; i++)
                    {
                        TextBoxTS c = (TextBoxTS)textbox_list[i];
                        if (c.Name.Equals(name))                        // name found
                        {
                            c.Text = val;                               // restore value
                            i      = textbox_list.Count + 1;
                        }
                        if (i == textbox_list.Count)
                        {
                            MessageBox.Show("Control not found: " + name);
                        }
                    }
                }
                else if (s.StartsWith("tb"))
                {
                    // look through each control to find the matching name
                    for (int i = 0; i < trackbar_list.Count; i++)
                    {
                        TrackBarTS c = (TrackBarTS)trackbar_list[i];
                        if (c.Name.Equals(name))                                // name found
                        {
                            int num = int.Parse(val);
                            if (num > c.Maximum)
                            {
                                num = c.Maximum;
                            }
                            if (num < c.Minimum)
                            {
                                num = c.Minimum;
                            }
                            c.Value = num;
                            i       = trackbar_list.Count + 1;
                        }
                        if (i == trackbar_list.Count)
                        {
                            MessageBox.Show("Control not found: " + name);
                        }
                    }
                }
                else if (s.StartsWith("clrbtn"))
                {
                    string[] colors = val.Split('.');
                    if (colors.Length == 4)
                    {
                        int R, G, B, A;
                        R = Int32.Parse(colors[0]);
                        G = Int32.Parse(colors[1]);
                        B = Int32.Parse(colors[2]);
                        A = Int32.Parse(colors[3]);

                        for (int i = 0; i < colorbutton_list.Count; i++)
                        {
                            ColorButton c = (ColorButton)colorbutton_list[i];
                            if (c.Name.Equals(name))                                    // name found
                            {
                                c.Color = Color.FromArgb(A, R, G, B);
                                i       = colorbutton_list.Count + 1;
                            }
                            if (i == colorbutton_list.Count)
                            {
                                MessageBox.Show("Control not found: " + name);
                            }
                        }
                    }
                }
            }

            ForceFormOnScreen(form);
        }
예제 #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SpotOptions));
     this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
     this.btnTrack = new System.Windows.Forms.Button();
     this.udDAY    = new System.Windows.Forms.NumericUpDownTS();
     this.udWATTS  = new System.Windows.Forms.NumericUpDownTS();
     this.udSNR    = new System.Windows.Forms.NumericUpDownTS();
     this.udRCR    = new System.Windows.Forms.NumericUpDownTS();
     this.udMTA    = new System.Windows.Forms.NumericUpDownTS();
     this.udSSN    = new System.Windows.Forms.NumericUpDownTS();
     this.udMethod = new System.Windows.Forms.NumericUpDownTS();
     this.label5   = new System.Windows.Forms.Label();
     this.label1   = new System.Windows.Forms.Label();
     this.label3   = new System.Windows.Forms.Label();
     this.label4   = new System.Windows.Forms.Label();
     this.label6   = new System.Windows.Forms.Label();
     this.label7   = new System.Windows.Forms.Label();
     this.label8   = new System.Windows.Forms.Label();
     this.textBox1 = new System.Windows.Forms.TextBox();
     ((System.ComponentModel.ISupportInitialize)(this.udDAY)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.udWATTS)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.udSNR)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.udRCR)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.udMTA)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.udSSN)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.udMethod)).BeginInit();
     this.SuspendLayout();
     //
     // btnTrack
     //
     this.btnTrack.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnTrack.Location = new System.Drawing.Point(28, 211);
     this.btnTrack.Name     = "btnTrack";
     this.btnTrack.Size     = new System.Drawing.Size(75, 23);
     this.btnTrack.TabIndex = 99;
     this.btnTrack.Text     = "UPDATE";
     this.toolTip1.SetToolTip(this.btnTrack, "Update VOACAP map ");
     this.btnTrack.UseVisualStyleBackColor = true;
     this.btnTrack.Click += new System.EventHandler(this.btnTrack_Click);
     //
     // udDAY
     //
     this.udDAY.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.udDAY.Increment = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.udDAY.Location = new System.Drawing.Point(73, 173);
     this.udDAY.Maximum  = new decimal(new int[] {
         31,
         0,
         0,
         0
     });
     this.udDAY.Minimum = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     this.udDAY.Name     = "udDAY";
     this.udDAY.Size     = new System.Drawing.Size(46, 20);
     this.udDAY.TabIndex = 97;
     this.toolTip1.SetToolTip(this.udDAY, "Settings the correct Day of the month uses URSI coefficients\r\nSetting the Day to " +
                              "0 uses CCRI coefficients (which are considered to be better)\r\n");
     this.udDAY.Value = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     this.udDAY.ValueChanged += new System.EventHandler(this.numericUpDownTS1_ValueChanged);
     //
     // udWATTS
     //
     this.udWATTS.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.udWATTS.Increment = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.udWATTS.Location = new System.Drawing.Point(73, 147);
     this.udWATTS.Maximum  = new decimal(new int[] {
         1500,
         0,
         0,
         0
     });
     this.udWATTS.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.udWATTS.Name     = "udWATTS";
     this.udWATTS.Size     = new System.Drawing.Size(59, 20);
     this.udWATTS.TabIndex = 95;
     this.toolTip1.SetToolTip(this.udWATTS, "Watts 1 to 1500");
     this.udWATTS.Value = new decimal(new int[] {
         100,
         0,
         0,
         0
     });
     this.udWATTS.ValueChanged += new System.EventHandler(this.udWATTS_ValueChanged);
     //
     // udSNR
     //
     this.udSNR.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.udSNR.Increment = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.udSNR.Location = new System.Drawing.Point(73, 121);
     this.udSNR.Maximum  = new decimal(new int[] {
         100,
         0,
         0,
         0
     });
     this.udSNR.Minimum = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     this.udSNR.Name     = "udSNR";
     this.udSNR.Size     = new System.Drawing.Size(46, 20);
     this.udSNR.TabIndex = 93;
     this.toolTip1.SetToolTip(this.udSNR, "SNR dbm\r\nlower dbm values for CW (45) , higher values for AM (75)");
     this.udSNR.Value = new decimal(new int[] {
         50,
         0,
         0,
         0
     });
     this.udSNR.ValueChanged += new System.EventHandler(this.udSNR_ValueChanged);
     //
     // udRCR
     //
     this.udRCR.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.udRCR.Increment = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.udRCR.Location = new System.Drawing.Point(73, 95);
     this.udRCR.Maximum  = new decimal(new int[] {
         100,
         0,
         0,
         0
     });
     this.udRCR.Minimum = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     this.udRCR.Name     = "udRCR";
     this.udRCR.Size     = new System.Drawing.Size(46, 20);
     this.udRCR.TabIndex = 91;
     this.toolTip1.SetToolTip(this.udRCR, "Required Circuit reliability: default is 90%");
     this.udRCR.Value = new decimal(new int[] {
         89,
         0,
         0,
         0
     });
     this.udRCR.ValueChanged += new System.EventHandler(this.udRCR_ValueChanged);
     //
     // udMTA
     //
     this.udMTA.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.udMTA.DecimalPlaces = 3;
     this.udMTA.Increment     = new decimal(new int[] {
         1,
         0,
         0,
         65536
     });
     this.udMTA.Location = new System.Drawing.Point(73, 69);
     this.udMTA.Maximum  = new decimal(new int[] {
         6,
         0,
         0,
         0
     });
     this.udMTA.Minimum = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     this.udMTA.Name     = "udMTA";
     this.udMTA.Size     = new System.Drawing.Size(59, 20);
     this.udMTA.TabIndex = 89;
     this.toolTip1.SetToolTip(this.udMTA, "Min Takeoff Angle: default is normally 0.100 up to 3.000\r\n");
     this.udMTA.Value = new decimal(new int[] {
         30,
         0,
         0,
         65536
     });
     this.udMTA.ValueChanged += new System.EventHandler(this.udMTA_ValueChanged);
     //
     // udSSN
     //
     this.udSSN.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.udSSN.Increment = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.udSSN.Location = new System.Drawing.Point(73, 39);
     this.udSSN.Maximum  = new decimal(new int[] {
         90,
         0,
         0,
         0
     });
     this.udSSN.Minimum = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     this.udSSN.Name     = "udSSN";
     this.udSSN.Size     = new System.Drawing.Size(46, 20);
     this.udSSN.TabIndex = 88;
     this.toolTip1.SetToolTip(this.udSSN, "Enter the Smoothed Sunspot number based on SFI\r\nThis number is greatly reduced wh" +
                              "en the K index rises");
     this.udSSN.Value = new decimal(new int[] {
         30,
         0,
         0,
         0
     });
     this.udSSN.ValueChanged += new System.EventHandler(this.udSSN_ValueChanged);
     //
     // udMethod
     //
     this.udMethod.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.udMethod.Increment = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.udMethod.Location = new System.Drawing.Point(73, 13);
     this.udMethod.Maximum  = new decimal(new int[] {
         40,
         0,
         0,
         0
     });
     this.udMethod.Minimum = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     this.udMethod.Name     = "udMethod";
     this.udMethod.Size     = new System.Drawing.Size(46, 20);
     this.udMethod.TabIndex = 80;
     this.toolTip1.SetToolTip(this.udMethod, "Method: Voacap has different computation methods. \r\n30 is normally the default");
     this.udMethod.Value = new decimal(new int[] {
         30,
         0,
         0,
         0
     });
     this.udMethod.ValueChanged += new System.EventHandler(this.udMethod_ValueChanged);
     //
     // label5
     //
     this.label5.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(12, 13);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(43, 13);
     this.label5.TabIndex = 85;
     this.label5.Text     = "Method";
     //
     // label1
     //
     this.label1.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(12, 43);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(29, 13);
     this.label1.TabIndex = 86;
     this.label1.Text     = "SSN";
     //
     // label3
     //
     this.label3.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(12, 71);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(30, 13);
     this.label3.TabIndex = 90;
     this.label3.Text     = "MTA";
     //
     // label4
     //
     this.label4.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(11, 102);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(38, 13);
     this.label4.TabIndex = 92;
     this.label4.Text     = "RCR%";
     //
     // label6
     //
     this.label6.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(11, 128);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(30, 13);
     this.label6.TabIndex = 94;
     this.label6.Text     = "SNR";
     //
     // label7
     //
     this.label7.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(11, 154);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(35, 13);
     this.label7.TabIndex = 96;
     this.label7.Text     = "Watts";
     //
     // label8
     //
     this.label8.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label8.AutoSize = true;
     this.label8.Location = new System.Drawing.Point(12, 180);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(26, 13);
     this.label8.TabIndex = 98;
     this.label8.Text     = "Day";
     //
     // textBox1
     //
     this.textBox1.Location  = new System.Drawing.Point(161, 12);
     this.textBox1.Multiline = true;
     this.textBox1.Name      = "textBox1";
     this.textBox1.Size      = new System.Drawing.Size(194, 222);
     this.textBox1.TabIndex  = 100;
     this.textBox1.Text      = "When this Window is Open, all VOACAP settings come from this window except Freqeu" +
                               "ncy, Month, Hour\r\n\r\nClose this Window to use default VOCAP setup from dx spotter" +
                               " window.";
     //
     // SpotOptions
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(367, 246);
     this.Controls.Add(this.textBox1);
     this.Controls.Add(this.btnTrack);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.udDAY);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.udWATTS);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.udSNR);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.udRCR);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.udMTA);
     this.Controls.Add(this.udSSN);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.udMethod);
     this.Icon     = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name     = "SpotOptions";
     this.Text     = "VOACAP Override";
     this.Closing += new System.ComponentModel.CancelEventHandler(this.SpotOptions_Closing);
     ((System.ComponentModel.ISupportInitialize)(this.udDAY)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.udWATTS)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.udSNR)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.udRCR)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.udMTA)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.udSSN)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.udMethod)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #5
0
파일: XTRV.cs 프로젝트: ZipDriver/GSDR
        public void GetOptions()  // changes yt7pwr
        {
            try
            {
                // get list of live controls
                ArrayList temp = new ArrayList();                               // list of all first level controls
                ControlList(this, ref temp);
                ArrayList checkbox_list      = new ArrayList();
                ArrayList numericupdown_list = new ArrayList();
                ArrayList textbox_list       = new ArrayList();

                //ArrayList controls = new ArrayList();	                // list of controls to restore
                foreach (Control c in temp)
                {
                    if (c.GetType() == typeof(CheckBoxTS))                          // the control is a CheckBoxTS
                    {
                        checkbox_list.Add(c);
                    }
                    else if (c.GetType() == typeof(NumericUpDownTS))    // the control is a NumericUpDown
                    {
                        numericupdown_list.Add(c);
                    }
                    else if (c.GetType() == typeof(TextBoxTS))              // the control is a TextBox
                    {
                        textbox_list.Add(c);
                    }
                }

                temp.Clear();   // now that we have the controls we want, delete first list

                ArrayList a;
                a = DB.GetVars("XTRVsettings");                                             // Get the saved list of controls
                a.Sort();
                int num_controls = checkbox_list.Count +
                                   numericupdown_list.Count +
                                   textbox_list.Count;

                // restore saved values to the controls
                foreach (string s in a)                                             // string is in the format "name,value"
                {
                    string[] vals = s.Split('/');
                    if (vals.Length > 2)
                    {
                        for (int i = 2; i < vals.Length; i++)
                        {
                            vals[1] += "/" + vals[i];
                        }
                    }

                    string name = vals[0];
                    string val  = vals[1];

                    if (s.StartsWith("chk"))                                    // control is a CheckBoxTS
                    {
                        for (int i = 0; i < checkbox_list.Count; i++)
                        {                                    // look through each control to find the matching name
                            CheckBoxTS c = (CheckBoxTS)checkbox_list[i];
                            if (c.Name.Equals(name))         // name found
                            {
                                c.Checked = bool.Parse(val); // restore value
                                i         = checkbox_list.Count + 1;
                            }
                            if (i == checkbox_list.Count)
                            {
                                MessageBox.Show("Control not found: " + name);
                            }
                        }
                    }
                    else if (s.StartsWith("ud"))
                    {
                        for (int i = 0; i < numericupdown_list.Count; i++)
                        {                            // look through each control to find the matching name
                            NumericUpDownTS c = (NumericUpDownTS)numericupdown_list[i];
                            if (c.Name.Equals(name)) // name found
                            {
                                decimal num = decimal.Parse(val);

                                if (num > c.Maximum)
                                {
                                    num = c.Maximum;                    // check endpoints
                                }
                                else if (num < c.Minimum)
                                {
                                    num = c.Minimum;
                                }
                                c.Value = num;                                  // restore value
                                i       = numericupdown_list.Count + 1;
                            }
                            if (i == numericupdown_list.Count)
                            {
                                MessageBox.Show("Control not found: " + name);
                            }
                        }
                    }
                    else if (s.StartsWith("txt"))
                    {   // look through each control to find the matching name
                        for (int i = 0; i < textbox_list.Count; i++)
                        {
                            TextBoxTS c = (TextBoxTS)textbox_list[i];
                            if (c.Name.Equals(name))                    // name found
                            {
                                c.Text = val;                           // restore value
                                i      = textbox_list.Count + 1;
                            }
                            if (i == textbox_list.Count)
                            {
                                MessageBox.Show("Control not found: " + name);
                            }
                        }
                    }
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show("Error in XTRV GetOption function!\n" + ex.ToString());
            }
        }
예제 #6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WaveOptions));
     this.toolTip1            = new System.Windows.Forms.ToolTip(this.components);
     this.grpWaveDither       = new System.Windows.Forms.GroupBoxTS();
     this.udWaveDitherBits    = new System.Windows.Forms.NumericUpDownTS();
     this.chkWaveDither       = new System.Windows.Forms.CheckBoxTS();
     this.grpBitDepth         = new System.Windows.Forms.GroupBoxTS();
     this.radBitDepth8PCM     = new System.Windows.Forms.RadioButtonTS();
     this.radBitDepth16PCM    = new System.Windows.Forms.RadioButtonTS();
     this.radBitDepth24PCM    = new System.Windows.Forms.RadioButtonTS();
     this.radBitDepth32PCM    = new System.Windows.Forms.RadioButtonTS();
     this.radBitDepthIEEE     = new System.Windows.Forms.RadioButtonTS();
     this.grpAudioSampleRate1 = new System.Windows.Forms.GroupBoxTS();
     this.comboSampleRate     = new System.Windows.Forms.ComboBoxTS();
     this.groupBox1           = new System.Windows.Forms.GroupBoxTS();
     this.radTXPostProcessed  = new System.Windows.Forms.RadioButtonTS();
     this.radTXPreProcessed   = new System.Windows.Forms.RadioButtonTS();
     this.grpReceive          = new System.Windows.Forms.GroupBoxTS();
     this.radRXPostProcessed  = new System.Windows.Forms.RadioButtonTS();
     this.radRXPreProcessed   = new System.Windows.Forms.RadioButtonTS();
     this.grpWaveDither.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.udWaveDitherBits)).BeginInit();
     this.grpBitDepth.SuspendLayout();
     this.grpAudioSampleRate1.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.grpReceive.SuspendLayout();
     this.SuspendLayout();
     //
     // grpWaveDither
     //
     this.grpWaveDither.Controls.Add(this.udWaveDitherBits);
     this.grpWaveDither.Controls.Add(this.chkWaveDither);
     this.grpWaveDither.Location = new System.Drawing.Point(295, 120);
     this.grpWaveDither.Name     = "grpWaveDither";
     this.grpWaveDither.Size     = new System.Drawing.Size(96, 69);
     this.grpWaveDither.TabIndex = 38;
     this.grpWaveDither.TabStop  = false;
     this.grpWaveDither.Text     = "Dither";
     //
     // udWaveDitherBits
     //
     this.udWaveDitherBits.DecimalPlaces = 1;
     this.udWaveDitherBits.Increment     = new decimal(new int[] {
         1,
         0,
         0,
         65536
     });
     this.udWaveDitherBits.Location = new System.Drawing.Point(6, 41);
     this.udWaveDitherBits.Maximum  = new decimal(new int[] {
         10,
         0,
         0,
         65536
     });
     this.udWaveDitherBits.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         65536
     });
     this.udWaveDitherBits.Name     = "udWaveDitherBits";
     this.udWaveDitherBits.Size     = new System.Drawing.Size(40, 20);
     this.udWaveDitherBits.TabIndex = 1;
     this.udWaveDitherBits.Value    = new decimal(new int[] {
         8,
         0,
         0,
         65536
     });
     //
     // chkWaveDither
     //
     this.chkWaveDither.AutoSize = true;
     this.chkWaveDither.Image    = null;
     this.chkWaveDither.Location = new System.Drawing.Point(6, 19);
     this.chkWaveDither.Name     = "chkWaveDither";
     this.chkWaveDither.Size     = new System.Drawing.Size(59, 17);
     this.chkWaveDither.TabIndex = 0;
     this.chkWaveDither.Text     = "Enable";
     this.toolTip1.SetToolTip(this.chkWaveDither, "Enables Dithering for Recording");
     this.chkWaveDither.UseVisualStyleBackColor = true;
     this.chkWaveDither.CheckedChanged         += new System.EventHandler(this.chkWaveDither_CheckedChanged);
     //
     // grpBitDepth
     //
     this.grpBitDepth.Controls.Add(this.radBitDepth8PCM);
     this.grpBitDepth.Controls.Add(this.radBitDepth16PCM);
     this.grpBitDepth.Controls.Add(this.radBitDepth24PCM);
     this.grpBitDepth.Controls.Add(this.radBitDepth32PCM);
     this.grpBitDepth.Controls.Add(this.radBitDepthIEEE);
     this.grpBitDepth.Location = new System.Drawing.Point(207, 8);
     this.grpBitDepth.Name     = "grpBitDepth";
     this.grpBitDepth.Size     = new System.Drawing.Size(168, 106);
     this.grpBitDepth.TabIndex = 37;
     this.grpBitDepth.TabStop  = false;
     this.grpBitDepth.Text     = "Bit Depth";
     //
     // radBitDepth8PCM
     //
     this.radBitDepth8PCM.Image           = null;
     this.radBitDepth8PCM.Location        = new System.Drawing.Point(15, 83);
     this.radBitDepth8PCM.Name            = "radBitDepth8PCM";
     this.radBitDepth8PCM.Size            = new System.Drawing.Size(144, 18);
     this.radBitDepth8PCM.TabIndex        = 4;
     this.radBitDepth8PCM.Text            = "8-Bit UnSigned PCM";
     this.radBitDepth8PCM.CheckedChanged += new System.EventHandler(this.radBitDepth8PCM_CheckedChanged);
     //
     // radBitDepth16PCM
     //
     this.radBitDepth16PCM.Image           = null;
     this.radBitDepth16PCM.Location        = new System.Drawing.Point(15, 66);
     this.radBitDepth16PCM.Name            = "radBitDepth16PCM";
     this.radBitDepth16PCM.Size            = new System.Drawing.Size(144, 18);
     this.radBitDepth16PCM.TabIndex        = 3;
     this.radBitDepth16PCM.Text            = "16-Bit Signed PCM";
     this.radBitDepth16PCM.CheckedChanged += new System.EventHandler(this.radBitDepth16PCM_CheckedChanged);
     //
     // radBitDepth24PCM
     //
     this.radBitDepth24PCM.Image           = null;
     this.radBitDepth24PCM.Location        = new System.Drawing.Point(15, 49);
     this.radBitDepth24PCM.Name            = "radBitDepth24PCM";
     this.radBitDepth24PCM.Size            = new System.Drawing.Size(144, 18);
     this.radBitDepth24PCM.TabIndex        = 2;
     this.radBitDepth24PCM.Text            = "24-Bit Signed PCM";
     this.radBitDepth24PCM.CheckedChanged += new System.EventHandler(this.radBitDepth24PCM_CheckedChanged);
     //
     // radBitDepth32PCM
     //
     this.radBitDepth32PCM.Image           = null;
     this.radBitDepth32PCM.Location        = new System.Drawing.Point(15, 32);
     this.radBitDepth32PCM.Name            = "radBitDepth32PCM";
     this.radBitDepth32PCM.Size            = new System.Drawing.Size(144, 18);
     this.radBitDepth32PCM.TabIndex        = 1;
     this.radBitDepth32PCM.Text            = "32-Bit Signed PCM";
     this.radBitDepth32PCM.CheckedChanged += new System.EventHandler(this.radBitDepth32PCM_CheckedChanged);
     //
     // radBitDepthIEEE
     //
     this.radBitDepthIEEE.Checked         = true;
     this.radBitDepthIEEE.Image           = null;
     this.radBitDepthIEEE.Location        = new System.Drawing.Point(15, 15);
     this.radBitDepthIEEE.Name            = "radBitDepthIEEE";
     this.radBitDepthIEEE.Size            = new System.Drawing.Size(144, 16);
     this.radBitDepthIEEE.TabIndex        = 0;
     this.radBitDepthIEEE.TabStop         = true;
     this.radBitDepthIEEE.Text            = "32-Bit IEEE Floats *";
     this.radBitDepthIEEE.CheckedChanged += new System.EventHandler(this.radBitDepthIEEE_CheckedChanged);
     //
     // grpAudioSampleRate1
     //
     this.grpAudioSampleRate1.Controls.Add(this.comboSampleRate);
     this.grpAudioSampleRate1.Location = new System.Drawing.Point(182, 120);
     this.grpAudioSampleRate1.Name     = "grpAudioSampleRate1";
     this.grpAudioSampleRate1.Size     = new System.Drawing.Size(96, 56);
     this.grpAudioSampleRate1.TabIndex = 36;
     this.grpAudioSampleRate1.TabStop  = false;
     this.grpAudioSampleRate1.Text     = "Sample Rate";
     //
     // comboSampleRate
     //
     this.comboSampleRate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboSampleRate.DropDownWidth = 64;
     this.comboSampleRate.Items.AddRange(new object[] {
         "6000",
         "12000",
         "24000",
         "48000",
         "96000",
         "192000"
     });
     this.comboSampleRate.Location = new System.Drawing.Point(16, 24);
     this.comboSampleRate.Name     = "comboSampleRate";
     this.comboSampleRate.Size     = new System.Drawing.Size(64, 21);
     this.comboSampleRate.TabIndex = 4;
     this.toolTip1.SetToolTip(this.comboSampleRate, "Sample Rate -- Range is dependent on selected sound card! ");
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.radTXPostProcessed);
     this.groupBox1.Controls.Add(this.radTXPreProcessed);
     this.groupBox1.Location = new System.Drawing.Point(8, 109);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(168, 80);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Transmit";
     //
     // radTXPostProcessed
     //
     this.radTXPostProcessed.Checked  = true;
     this.radTXPostProcessed.Image    = null;
     this.radTXPostProcessed.Location = new System.Drawing.Point(16, 48);
     this.radTXPostProcessed.Name     = "radTXPostProcessed";
     this.radTXPostProcessed.Size     = new System.Drawing.Size(144, 24);
     this.radTXPostProcessed.TabIndex = 1;
     this.radTXPostProcessed.TabStop  = true;
     this.radTXPostProcessed.Text     = "Post-Processed Audio";
     this.toolTip1.SetToolTip(this.radTXPostProcessed, "Filtered, modulated, EQ\'d, and AGC\'d Signal");
     this.radTXPostProcessed.CheckedChanged += new System.EventHandler(this.radTXPostProcessed_CheckedChanged);
     //
     // radTXPreProcessed
     //
     this.radTXPreProcessed.Image    = null;
     this.radTXPreProcessed.Location = new System.Drawing.Point(16, 24);
     this.radTXPreProcessed.Name     = "radTXPreProcessed";
     this.radTXPreProcessed.Size     = new System.Drawing.Size(144, 24);
     this.radTXPreProcessed.TabIndex = 0;
     this.radTXPreProcessed.Text     = "Pre-Processed Audio";
     this.toolTip1.SetToolTip(this.radTXPreProcessed, "Raw Input (Microphone, Digital, etc)");
     this.radTXPreProcessed.CheckedChanged += new System.EventHandler(this.radTXPreProcessed_CheckedChanged);
     //
     // grpReceive
     //
     this.grpReceive.Controls.Add(this.radRXPostProcessed);
     this.grpReceive.Controls.Add(this.radRXPreProcessed);
     this.grpReceive.Location = new System.Drawing.Point(8, 8);
     this.grpReceive.Name     = "grpReceive";
     this.grpReceive.Size     = new System.Drawing.Size(168, 80);
     this.grpReceive.TabIndex = 0;
     this.grpReceive.TabStop  = false;
     this.grpReceive.Text     = "Receive";
     //
     // radRXPostProcessed
     //
     this.radRXPostProcessed.Image    = null;
     this.radRXPostProcessed.Location = new System.Drawing.Point(16, 48);
     this.radRXPostProcessed.Name     = "radRXPostProcessed";
     this.radRXPostProcessed.Size     = new System.Drawing.Size(144, 24);
     this.radRXPostProcessed.TabIndex = 1;
     this.radRXPostProcessed.Text     = "Post-Processed Audio";
     this.toolTip1.SetToolTip(this.radRXPostProcessed, "The demodulated filtered audio you listen to.");
     this.radRXPostProcessed.CheckedChanged += new System.EventHandler(this.radRXPostProcessed_CheckedChanged);
     //
     // radRXPreProcessed
     //
     this.radRXPreProcessed.Checked  = true;
     this.radRXPreProcessed.Image    = null;
     this.radRXPreProcessed.Location = new System.Drawing.Point(16, 24);
     this.radRXPreProcessed.Name     = "radRXPreProcessed";
     this.radRXPreProcessed.Size     = new System.Drawing.Size(144, 24);
     this.radRXPreProcessed.TabIndex = 0;
     this.radRXPreProcessed.TabStop  = true;
     this.radRXPreProcessed.Text     = "Pre-Processed Audio";
     this.toolTip1.SetToolTip(this.radRXPreProcessed, "The raw audio coming out of the radio (11kHz IF)");
     this.radRXPreProcessed.CheckedChanged += new System.EventHandler(this.radRXPreProcessed_CheckedChanged);
     //
     // WaveOptions
     //
     this.ClientSize = new System.Drawing.Size(403, 201);
     this.Controls.Add(this.grpWaveDither);
     this.Controls.Add(this.grpBitDepth);
     this.Controls.Add(this.grpAudioSampleRate1);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.grpReceive);
     this.Icon     = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name     = "WaveOptions";
     this.Text     = "Wave Record Options";
     this.Closing += new System.ComponentModel.CancelEventHandler(this.WaveOptions_Closing);
     this.grpWaveDither.ResumeLayout(false);
     this.grpWaveDither.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.udWaveDitherBits)).EndInit();
     this.grpBitDepth.ResumeLayout(false);
     this.grpAudioSampleRate1.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     this.grpReceive.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #7
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SpotDecoder));
     this.toolTip1     = new System.Windows.Forms.ToolTip(this.components);
     this.numRXCW      = new System.Windows.Forms.NumericUpDownTS();
     this.checkBoxCW   = new System.Windows.Forms.CheckBoxTS();
     this.checkBoxTS2  = new System.Windows.Forms.CheckBoxTS();
     this.checkBoxRTTY = new System.Windows.Forms.CheckBoxTS();
     this.textBox1     = new System.Windows.Forms.TextBox();
     this.radioButton1 = new System.Windows.Forms.RadioButton();
     this.radioButton2 = new System.Windows.Forms.RadioButton();
     this.radioButton3 = new System.Windows.Forms.RadioButton();
     this.label4       = new System.Windows.Forms.Label();
     this.pictureBox1  = new System.Windows.Forms.PictureBox();
     this.textBox2     = new System.Windows.Forms.TextBox();
     this.checkBoxTS1  = new System.Windows.Forms.CheckBoxTS();
     this.timer_RTTY   = new System.Windows.Forms.Timer(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.numRXCW)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // numRXCW
     //
     this.numRXCW.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.numRXCW.Increment = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numRXCW.Location = new System.Drawing.Point(155, 154);
     this.numRXCW.Maximum  = new decimal(new int[] {
         60,
         0,
         0,
         0
     });
     this.numRXCW.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numRXCW.Name     = "numRXCW";
     this.numRXCW.Size     = new System.Drawing.Size(39, 20);
     this.numRXCW.TabIndex = 113;
     this.toolTip1.SetToolTip(this.numRXCW, "Which Band to Start Slow Beacaon Scan on:\r\n1=14.1mhz\r\n2=18.11mhz\r\n3=21.15mhz\r\n4=2" +
                              "4.93mhz\r\n5=28.2mhz\r\n");
     this.numRXCW.Value = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.numRXCW.ValueChanged += new System.EventHandler(this.numRXCW_ValueChanged);
     //
     // checkBoxCW
     //
     this.checkBoxCW.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.checkBoxCW.ForeColor = System.Drawing.SystemColors.ControlLightLight;
     this.checkBoxCW.Image     = null;
     this.checkBoxCW.Location  = new System.Drawing.Point(12, 147);
     this.checkBoxCW.Name      = "checkBoxCW";
     this.checkBoxCW.Size      = new System.Drawing.Size(109, 33);
     this.checkBoxCW.TabIndex  = 111;
     this.checkBoxCW.Text      = "CW decode";
     this.toolTip1.SetToolTip(this.checkBoxCW, "\r\n");
     this.checkBoxCW.CheckedChanged += new System.EventHandler(this.checkBoxCW_CheckedChanged);
     //
     // checkBoxTS2
     //
     this.checkBoxTS2.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.checkBoxTS2.ForeColor = System.Drawing.SystemColors.ControlLightLight;
     this.checkBoxTS2.Image     = null;
     this.checkBoxTS2.Location  = new System.Drawing.Point(12, 68);
     this.checkBoxTS2.Name      = "checkBoxTS2";
     this.checkBoxTS2.Size      = new System.Drawing.Size(128, 33);
     this.checkBoxTS2.TabIndex  = 110;
     this.checkBoxTS2.Text      = "RTTY decode 850";
     this.toolTip1.SetToolTip(this.checkBoxTS2, "\r\n");
     this.checkBoxTS2.CheckedChanged += new System.EventHandler(this.checkBoxTS2_CheckedChanged);
     //
     // checkBoxRTTY
     //
     this.checkBoxRTTY.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.checkBoxRTTY.ForeColor = System.Drawing.SystemColors.ControlLightLight;
     this.checkBoxRTTY.Image     = null;
     this.checkBoxRTTY.Location  = new System.Drawing.Point(12, 12);
     this.checkBoxRTTY.Name      = "checkBoxRTTY";
     this.checkBoxRTTY.Size      = new System.Drawing.Size(119, 33);
     this.checkBoxRTTY.TabIndex  = 106;
     this.checkBoxRTTY.Text      = "RTTY decode 170";
     this.toolTip1.SetToolTip(this.checkBoxRTTY, "\r\n");
     this.checkBoxRTTY.CheckedChanged += new System.EventHandler(this.checkBoxRTTY_CheckedChanged);
     //
     // textBox1
     //
     this.textBox1.Location   = new System.Drawing.Point(313, 12);
     this.textBox1.Multiline  = true;
     this.textBox1.Name       = "textBox1";
     this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.textBox1.Size       = new System.Drawing.Size(482, 305);
     this.textBox1.TabIndex   = 100;
     //
     // radioButton1
     //
     this.radioButton1.AutoSize  = true;
     this.radioButton1.ForeColor = System.Drawing.SystemColors.ControlLightLight;
     this.radioButton1.Location  = new System.Drawing.Point(176, 19);
     this.radioButton1.Name      = "radioButton1";
     this.radioButton1.Size      = new System.Drawing.Size(49, 17);
     this.radioButton1.TabIndex  = 107;
     this.radioButton1.TabStop   = true;
     this.radioButton1.Text      = "Mark";
     this.radioButton1.UseVisualStyleBackColor = true;
     //
     // radioButton2
     //
     this.radioButton2.AutoSize  = true;
     this.radioButton2.ForeColor = System.Drawing.SystemColors.ControlLightLight;
     this.radioButton2.Location  = new System.Drawing.Point(240, 19);
     this.radioButton2.Name      = "radioButton2";
     this.radioButton2.Size      = new System.Drawing.Size(56, 17);
     this.radioButton2.TabIndex  = 108;
     this.radioButton2.TabStop   = true;
     this.radioButton2.Text      = "Space";
     this.radioButton2.UseVisualStyleBackColor = true;
     //
     // radioButton3
     //
     this.radioButton3.AutoSize  = true;
     this.radioButton3.ForeColor = System.Drawing.SystemColors.ControlLightLight;
     this.radioButton3.Location  = new System.Drawing.Point(240, 154);
     this.radioButton3.Name      = "radioButton3";
     this.radioButton3.Size      = new System.Drawing.Size(50, 17);
     this.radioButton3.TabIndex  = 112;
     this.radioButton3.TabStop   = true;
     this.radioButton3.Text      = "Tone";
     this.radioButton3.UseVisualStyleBackColor = true;
     //
     // label4
     //
     this.label4.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label4.AutoSize  = true;
     this.label4.ForeColor = System.Drawing.SystemColors.ControlLightLight;
     this.label4.Location  = new System.Drawing.Point(200, 158);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(34, 13);
     this.label4.TabIndex  = 114;
     this.label4.Text      = "WPM";
     //
     // pictureBox1
     //
     this.pictureBox1.BackColor = System.Drawing.Color.White;
     this.pictureBox1.Location  = new System.Drawing.Point(23, 366);
     this.pictureBox1.Name      = "pictureBox1";
     this.pictureBox1.Size      = new System.Drawing.Size(752, 114);
     this.pictureBox1.TabIndex  = 115;
     this.pictureBox1.TabStop   = false;
     this.pictureBox1.Paint    += new System.Windows.Forms.PaintEventHandler(this.pictureBox1_Paint);
     //
     // textBox2
     //
     this.textBox2.Location  = new System.Drawing.Point(12, 186);
     this.textBox2.Multiline = true;
     this.textBox2.Name      = "textBox2";
     this.textBox2.Size      = new System.Drawing.Size(291, 165);
     this.textBox2.TabIndex  = 116;
     //
     // checkBoxTS1
     //
     this.checkBoxTS1.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.checkBoxTS1.ForeColor       = System.Drawing.SystemColors.ControlLightLight;
     this.checkBoxTS1.Image           = null;
     this.checkBoxTS1.Location        = new System.Drawing.Point(12, 39);
     this.checkBoxTS1.Name            = "checkBoxTS1";
     this.checkBoxTS1.Size            = new System.Drawing.Size(128, 33);
     this.checkBoxTS1.TabIndex        = 109;
     this.checkBoxTS1.Text            = "RTTY decode 450";
     this.checkBoxTS1.CheckedChanged += new System.EventHandler(this.checkBoxTS1_CheckedChanged);
     //
     // timer_RTTY
     //
     this.timer_RTTY.Interval = 10;
     this.timer_RTTY.Tick    += new System.EventHandler(this.timer_RTTY_Tick);
     //
     // SpotDecoder
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.ClientSize        = new System.Drawing.Size(807, 504);
     this.Controls.Add(this.textBox2);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.numRXCW);
     this.Controls.Add(this.radioButton3);
     this.Controls.Add(this.checkBoxCW);
     this.Controls.Add(this.checkBoxTS2);
     this.Controls.Add(this.checkBoxTS1);
     this.Controls.Add(this.radioButton2);
     this.Controls.Add(this.radioButton1);
     this.Controls.Add(this.checkBoxRTTY);
     this.Controls.Add(this.textBox1);
     this.Icon     = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name     = "SpotDecoder";
     this.Text     = "Decoders";
     this.Closing += new System.ComponentModel.CancelEventHandler(this.SpotOptions_Closing);
     ((System.ComponentModel.ISupportInitialize)(this.numRXCW)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #8
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Predistest));
     this.udPhase      = new System.Windows.Forms.NumericUpDownTS();
     this.lblPhase     = new System.Windows.Forms.LabelTS();
     this.tbPhase      = new System.Windows.Forms.TrackBarTS();
     this.lblAmplitude = new System.Windows.Forms.LabelTS();
     this.udAmp        = new System.Windows.Forms.NumericUpDownTS();
     this.lblHarm      = new System.Windows.Forms.LabelTS();
     this.udHarm       = new System.Windows.Forms.NumericUpDownTS();
     ((System.ComponentModel.ISupportInitialize)(this.udPhase)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbPhase)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.udAmp)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.udHarm)).BeginInit();
     this.SuspendLayout();
     //
     // udPhase
     //
     this.udPhase.Increment = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.udPhase.Location = new System.Drawing.Point(12, 79);
     this.udPhase.Maximum  = new decimal(new int[] {
         1000,
         0,
         0,
         0
     });
     this.udPhase.Minimum = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     this.udPhase.Name     = "udPhase";
     this.udPhase.Size     = new System.Drawing.Size(51, 20);
     this.udPhase.TabIndex = 9;
     this.udPhase.Value    = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     this.udPhase.ValueChanged += new System.EventHandler(this.udPhase_ValueChanged);
     //
     // lblPhase
     //
     this.lblPhase.Image     = null;
     this.lblPhase.Location  = new System.Drawing.Point(16, 56);
     this.lblPhase.Name      = "lblPhase";
     this.lblPhase.Size      = new System.Drawing.Size(64, 20);
     this.lblPhase.TabIndex  = 8;
     this.lblPhase.Text      = "Phase:";
     this.lblPhase.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // tbPhase
     //
     this.tbPhase.Location      = new System.Drawing.Point(80, 56);
     this.tbPhase.Maximum       = 1000;
     this.tbPhase.Name          = "tbPhase";
     this.tbPhase.Size          = new System.Drawing.Size(200, 45);
     this.tbPhase.TabIndex      = 7;
     this.tbPhase.TickFrequency = 125;
     this.tbPhase.Scroll       += new System.EventHandler(this.tbPhase_Scroll);
     //
     // lblAmplitude
     //
     this.lblAmplitude.Image     = null;
     this.lblAmplitude.Location  = new System.Drawing.Point(16, 32);
     this.lblAmplitude.Name      = "lblAmplitude";
     this.lblAmplitude.Size      = new System.Drawing.Size(64, 20);
     this.lblAmplitude.TabIndex  = 6;
     this.lblAmplitude.Text      = "Amplitude:";
     this.lblAmplitude.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // udAmp
     //
     this.udAmp.DecimalPlaces = 8;
     this.udAmp.Increment     = new decimal(new int[] {
         1,
         0,
         0,
         393216
     });
     this.udAmp.Location = new System.Drawing.Point(80, 32);
     this.udAmp.Maximum  = new decimal(new int[] {
         1,
         0,
         0,
         131072
     });
     this.udAmp.Minimum = new decimal(new int[] {
         0,
         0,
         0,
         458752
     });
     this.udAmp.Name     = "udAmp";
     this.udAmp.Size     = new System.Drawing.Size(80, 20);
     this.udAmp.TabIndex = 5;
     this.udAmp.Value    = new decimal(new int[] {
         1,
         0,
         0,
         393216
     });
     this.udAmp.ValueChanged += new System.EventHandler(this.udAmp_ValueChanged);
     //
     // lblHarm
     //
     this.lblHarm.Image     = null;
     this.lblHarm.Location  = new System.Drawing.Point(16, 8);
     this.lblHarm.Name      = "lblHarm";
     this.lblHarm.Size      = new System.Drawing.Size(56, 20);
     this.lblHarm.TabIndex  = 4;
     this.lblHarm.Text      = "Harmonic:";
     this.lblHarm.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // udHarm
     //
     this.udHarm.Increment = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.udHarm.Location = new System.Drawing.Point(80, 8);
     this.udHarm.Maximum  = new decimal(new int[] {
         20,
         0,
         0,
         0
     });
     this.udHarm.Minimum = new decimal(new int[] {
         20,
         0,
         0,
         -2147483648
     });
     this.udHarm.Name     = "udHarm";
     this.udHarm.Size     = new System.Drawing.Size(48, 20);
     this.udHarm.TabIndex = 3;
     this.udHarm.Value    = new decimal(new int[] {
         3,
         0,
         0,
         -2147483648
     });
     this.udHarm.ValueChanged += new System.EventHandler(this.udHarm_ValueChanged);
     //
     // Predistest
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(5, 13);
     this.ClientSize          = new System.Drawing.Size(292, 110);
     this.Controls.Add(this.udPhase);
     this.Controls.Add(this.lblPhase);
     this.Controls.Add(this.tbPhase);
     this.Controls.Add(this.lblAmplitude);
     this.Controls.Add(this.udAmp);
     this.Controls.Add(this.lblHarm);
     this.Controls.Add(this.udHarm);
     this.Icon         = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name         = "Predistest";
     this.Text         = "Pre-Distortion Test";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Predistest_FormClosing);
     ((System.ComponentModel.ISupportInitialize)(this.udPhase)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbPhase)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.udAmp)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.udHarm)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }