예제 #1
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(TOTBOX));
     this.btnTrack       = new System.Windows.Forms.Button();
     this.toolTip1       = new System.Windows.Forms.ToolTip(this.components);
     this.chkAlwaysOnTop = new System.Windows.Forms.CheckBoxTS();
     this.SuspendLayout();
     //
     // btnTrack
     //
     this.btnTrack.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnTrack.BackColor = System.Drawing.Color.Yellow;
     this.btnTrack.Font      = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnTrack.ForeColor = System.Drawing.Color.Black;
     this.btnTrack.Location  = new System.Drawing.Point(44, 48);
     this.btnTrack.Name      = "btnTrack";
     this.btnTrack.Size      = new System.Drawing.Size(279, 79);
     this.btnTrack.TabIndex  = 99;
     this.btnTrack.Text      = ">>> TX TIME OUT <<<\r\n>>> Click to Reset <<<";
     this.btnTrack.UseVisualStyleBackColor = false;
     this.btnTrack.Click += new System.EventHandler(this.btnTrack_Click);
     //
     // chkAlwaysOnTop
     //
     this.chkAlwaysOnTop.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.chkAlwaysOnTop.Checked         = true;
     this.chkAlwaysOnTop.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.chkAlwaysOnTop.Image           = null;
     this.chkAlwaysOnTop.Location        = new System.Drawing.Point(252, 145);
     this.chkAlwaysOnTop.Name            = "chkAlwaysOnTop";
     this.chkAlwaysOnTop.Size            = new System.Drawing.Size(103, 31);
     this.chkAlwaysOnTop.TabIndex        = 100;
     this.chkAlwaysOnTop.Text            = "Always On Top";
     this.chkAlwaysOnTop.Visible         = false;
     this.chkAlwaysOnTop.CheckedChanged += new System.EventHandler(this.chkAlwaysOnTop_CheckedChanged);
     //
     // TOTBOX
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.Crimson;
     this.ClientSize        = new System.Drawing.Size(367, 188);
     this.Controls.Add(this.btnTrack);
     this.Controls.Add(this.chkAlwaysOnTop);
     this.ForeColor       = System.Drawing.Color.Black;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MaximumSize     = new System.Drawing.Size(383, 227);
     this.MinimizeBox     = false;
     this.MinimumSize     = new System.Drawing.Size(383, 227);
     this.Name            = "TOTBOX";
     this.Text            = "Transmit Time-Out";
     this.Closing        += new System.ComponentModel.CancelEventHandler(this.TOTBOX_Closing);
     this.VisibleChanged += new System.EventHandler(this.TOTBOX_VisibleChanged);
     this.ResumeLayout(false);
 }
예제 #2
0
파일: stack.cs 프로젝트: VK6VW/Thetis
 /// <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(StackControl));
     this.textBox3       = new System.Windows.Forms.TextBox();
     this.textBox1       = new System.Windows.Forms.TextBox();
     this.buttonSort     = new System.Windows.Forms.Button();
     this.chkAlwaysOnTop = new System.Windows.Forms.CheckBoxTS();
     this.SuspendLayout();
     //
     // textBox3
     //
     this.textBox3.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox3.Location  = new System.Drawing.Point(12, 12);
     this.textBox3.Multiline = true;
     this.textBox3.Name      = "textBox3";
     this.textBox3.Size      = new System.Drawing.Size(228, 94);
     this.textBox3.TabIndex  = 9;
     this.textBox3.TabStop   = false;
     this.textBox3.Text      = "Left Click on line to change frequency.\r\nRight Click on line to LOCK/UNLOCK.\r\nWhe" +
                               "el Click to Delete a Bandstack Entry.\r\nCTRL + Right Click on BAND button to ADD " +
                               "to BandStack";
     //
     // textBox1
     //
     this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                  | System.Windows.Forms.AnchorStyles.Left)));
     this.textBox1.BackColor     = System.Drawing.Color.LightYellow;
     this.textBox1.Cursor        = System.Windows.Forms.Cursors.Default;
     this.textBox1.Font          = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox1.HideSelection = false;
     this.textBox1.Location      = new System.Drawing.Point(12, 112);
     this.textBox1.MaximumSize   = new System.Drawing.Size(254, 222);
     this.textBox1.MaxLength     = 1000;
     this.textBox1.Multiline     = true;
     this.textBox1.Name          = "textBox1";
     this.textBox1.Size          = new System.Drawing.Size(228, 162);
     this.textBox1.TabIndex      = 60;
     this.textBox1.TabStop       = false;
     this.textBox1.MouseDown    += new System.Windows.Forms.MouseEventHandler(this.textBox1_MouseDown);
     this.textBox1.MouseUp      += new System.Windows.Forms.MouseEventHandler(this.textBox1_MouseUp);
     //
     // buttonSort
     //
     this.buttonSort.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.buttonSort.BackColor = System.Drawing.SystemColors.ButtonFace;
     this.buttonSort.Location  = new System.Drawing.Point(165, 280);
     this.buttonSort.Name      = "buttonSort";
     this.buttonSort.Size      = new System.Drawing.Size(75, 23);
     this.buttonSort.TabIndex  = 61;
     this.buttonSort.Text      = "Sort";
     this.buttonSort.UseVisualStyleBackColor = false;
     this.buttonSort.Click += new System.EventHandler(this.buttonSort_Click);
     //
     // chkAlwaysOnTop
     //
     this.chkAlwaysOnTop.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.chkAlwaysOnTop.Image           = null;
     this.chkAlwaysOnTop.Location        = new System.Drawing.Point(12, 280);
     this.chkAlwaysOnTop.Name            = "chkAlwaysOnTop";
     this.chkAlwaysOnTop.Size            = new System.Drawing.Size(104, 24);
     this.chkAlwaysOnTop.TabIndex        = 59;
     this.chkAlwaysOnTop.Text            = "Always On Top";
     this.chkAlwaysOnTop.CheckedChanged += new System.EventHandler(this.chkAlwaysOnTop_CheckedChanged);
     //
     // StackControl
     //
     this.BackColor  = System.Drawing.SystemColors.ControlDarkDark;
     this.ClientSize = new System.Drawing.Size(255, 313);
     this.Controls.Add(this.buttonSort);
     this.Controls.Add(this.textBox1);
     this.Controls.Add(this.chkAlwaysOnTop);
     this.Controls.Add(this.textBox3);
     this.Icon         = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize  = new System.Drawing.Size(200, 200);
     this.Name         = "StackControl";
     this.Text         = "Band Stack";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.StackControl_FormClosing);
     this.Load        += new System.EventHandler(this.StackControl_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <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(FWCATUForm));
     this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
     this.chkATUEnabledOnBandChange = new System.Windows.Forms.CheckBoxTS();
     this.grpSWRThreshold           = new System.Windows.Forms.GroupBoxTS();
     this.comboSWRThresh            = new System.Windows.Forms.ComboBoxTS();
     this.grpFeedback     = new System.Windows.Forms.GroupBoxTS();
     this.lblTuneComplete = new System.Windows.Forms.LabelTS();
     this.lblSWR          = new System.Windows.Forms.LabelTS();
     this.lblReflected    = new System.Windows.Forms.LabelTS();
     this.lblPower        = new System.Windows.Forms.LabelTS();
     this.lblFreq         = new System.Windows.Forms.LabelTS();
     this.lblForward      = new System.Windows.Forms.LabelTS();
     this.chkUseTUN       = new System.Windows.Forms.CheckBoxTS();
     this.btnTuneFull     = new System.Windows.Forms.ButtonTS();
     this.btnTuneMemory   = new System.Windows.Forms.ButtonTS();
     this.radModeAuto     = new System.Windows.Forms.RadioButtonTS();
     this.radModeSemiAuto = new System.Windows.Forms.RadioButtonTS();
     this.radModeBypass   = new System.Windows.Forms.RadioButtonTS();
     this.grpTune         = new System.Windows.Forms.GroupBoxTS();
     this.grpMode         = new System.Windows.Forms.GroupBoxTS();
     this.grpSWRThreshold.SuspendLayout();
     this.grpFeedback.SuspendLayout();
     this.grpTune.SuspendLayout();
     this.grpMode.SuspendLayout();
     this.SuspendLayout();
     //
     // chkATUEnabledOnBandChange
     //
     this.chkATUEnabledOnBandChange.AutoSize = true;
     this.chkATUEnabledOnBandChange.Image    = null;
     this.chkATUEnabledOnBandChange.Location = new System.Drawing.Point(12, 134);
     this.chkATUEnabledOnBandChange.Name     = "chkATUEnabledOnBandChange";
     this.chkATUEnabledOnBandChange.Size     = new System.Drawing.Size(202, 17);
     this.chkATUEnabledOnBandChange.TabIndex = 7;
     this.chkATUEnabledOnBandChange.Text     = "ATU Stays Enabled on Band Change";
     this.toolTip1.SetToolTip(this.chkATUEnabledOnBandChange, "Check this option to initiate a memory tune on band changes if ATU is enabled");
     this.chkATUEnabledOnBandChange.UseVisualStyleBackColor = true;
     //
     // grpSWRThreshold
     //
     this.grpSWRThreshold.Controls.Add(this.comboSWRThresh);
     this.grpSWRThreshold.Location = new System.Drawing.Point(280, 8);
     this.grpSWRThreshold.Name     = "grpSWRThreshold";
     this.grpSWRThreshold.Size     = new System.Drawing.Size(104, 56);
     this.grpSWRThreshold.TabIndex = 6;
     this.grpSWRThreshold.TabStop  = false;
     this.grpSWRThreshold.Text     = "SWR Threshold";
     this.toolTip1.SetToolTip(this.grpSWRThreshold, "Sets the threshold below which constitutes a successful tune.");
     //
     // comboSWRThresh
     //
     this.comboSWRThresh.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboSWRThresh.DropDownWidth = 64;
     this.comboSWRThresh.Items.AddRange(new object[] {
         "1.1 : 1",
         "1.3 : 1",
         "1.5 : 1",
         "1.7 : 1",
         "2.0 : 1",
         "2.5 : 1",
         "3.0 : 1"
     });
     this.comboSWRThresh.Location              = new System.Drawing.Point(16, 24);
     this.comboSWRThresh.Name                  = "comboSWRThresh";
     this.comboSWRThresh.Size                  = new System.Drawing.Size(64, 21);
     this.comboSWRThresh.TabIndex              = 4;
     this.comboSWRThresh.SelectedIndexChanged += new System.EventHandler(this.comboSWRThresh_SelectedIndexChanged);
     //
     // grpFeedback
     //
     this.grpFeedback.BackColor = System.Drawing.SystemColors.Control;
     this.grpFeedback.Controls.Add(this.lblTuneComplete);
     this.grpFeedback.Controls.Add(this.lblSWR);
     this.grpFeedback.Controls.Add(this.lblReflected);
     this.grpFeedback.Controls.Add(this.lblPower);
     this.grpFeedback.Controls.Add(this.lblFreq);
     this.grpFeedback.Controls.Add(this.lblForward);
     this.grpFeedback.Location = new System.Drawing.Point(8, 166);
     this.grpFeedback.Name     = "grpFeedback";
     this.grpFeedback.Size     = new System.Drawing.Size(264, 96);
     this.grpFeedback.TabIndex = 5;
     this.grpFeedback.TabStop  = false;
     this.grpFeedback.Text     = "Tuner Feedback";
     this.toolTip1.SetToolTip(this.grpFeedback, "The information in this window is returned from the ATU after a tune sequence.");
     //
     // lblTuneComplete
     //
     this.lblTuneComplete.Font      = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblTuneComplete.ForeColor = System.Drawing.Color.Green;
     this.lblTuneComplete.Image     = null;
     this.lblTuneComplete.Location  = new System.Drawing.Point(16, 24);
     this.lblTuneComplete.Name      = "lblTuneComplete";
     this.lblTuneComplete.Size      = new System.Drawing.Size(232, 16);
     this.lblTuneComplete.TabIndex  = 7;
     this.lblTuneComplete.Text      = "Tune Completed Successfully";
     //
     // lblSWR
     //
     this.lblSWR.Image    = null;
     this.lblSWR.Location = new System.Drawing.Point(176, 48);
     this.lblSWR.Name     = "lblSWR";
     this.lblSWR.Size     = new System.Drawing.Size(72, 16);
     this.lblSWR.TabIndex = 3;
     this.lblSWR.Text     = "SWR: 1.0:1";
     //
     // lblReflected
     //
     this.lblReflected.Image    = null;
     this.lblReflected.Location = new System.Drawing.Point(168, 72);
     this.lblReflected.Name     = "lblReflected";
     this.lblReflected.Size     = new System.Drawing.Size(80, 16);
     this.lblReflected.TabIndex = 2;
     this.lblReflected.Text     = "Reflected: 0";
     //
     // lblPower
     //
     this.lblPower.Image    = null;
     this.lblPower.Location = new System.Drawing.Point(16, 72);
     this.lblPower.Name     = "lblPower";
     this.lblPower.Size     = new System.Drawing.Size(64, 16);
     this.lblPower.TabIndex = 1;
     this.lblPower.Text     = "Power (W):   ";
     //
     // lblFreq
     //
     this.lblFreq.Image    = null;
     this.lblFreq.Location = new System.Drawing.Point(16, 48);
     this.lblFreq.Name     = "lblFreq";
     this.lblFreq.Size     = new System.Drawing.Size(152, 16);
     this.lblFreq.TabIndex = 0;
     this.lblFreq.Text     = "Freq (MHz): ";
     //
     // lblForward
     //
     this.lblForward.Image    = null;
     this.lblForward.Location = new System.Drawing.Point(80, 72);
     this.lblForward.Name     = "lblForward";
     this.lblForward.Size     = new System.Drawing.Size(80, 16);
     this.lblForward.TabIndex = 6;
     this.lblForward.Text     = "Forward: 0";
     //
     // chkUseTUN
     //
     this.chkUseTUN.Checked    = true;
     this.chkUseTUN.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkUseTUN.Image      = null;
     this.chkUseTUN.Location   = new System.Drawing.Point(24, 88);
     this.chkUseTUN.Name       = "chkUseTUN";
     this.chkUseTUN.Size       = new System.Drawing.Size(80, 24);
     this.chkUseTUN.TabIndex   = 3;
     this.chkUseTUN.Text       = "Use TUN";
     this.toolTip1.SetToolTip(this.chkUseTUN, "Checking this box will enable the front panel TUN function when using the Memory " +
                              "or Full Tune functions above.");
     //
     // btnTuneFull
     //
     this.btnTuneFull.Image    = null;
     this.btnTuneFull.Location = new System.Drawing.Point(16, 56);
     this.btnTuneFull.Name     = "btnTuneFull";
     this.btnTuneFull.Size     = new System.Drawing.Size(88, 23);
     this.btnTuneFull.TabIndex = 2;
     this.btnTuneFull.Text     = "Full Tune";
     this.toolTip1.SetToolTip(this.btnTuneFull, "Perform Full Tune.  Ignores any previous saved tunes on the current frequency.");
     this.btnTuneFull.Click += new System.EventHandler(this.btnTuneFull_Click);
     //
     // btnTuneMemory
     //
     this.btnTuneMemory.Image    = null;
     this.btnTuneMemory.Location = new System.Drawing.Point(16, 24);
     this.btnTuneMemory.Name     = "btnTuneMemory";
     this.btnTuneMemory.Size     = new System.Drawing.Size(88, 23);
     this.btnTuneMemory.TabIndex = 1;
     this.btnTuneMemory.Text     = "Memory Tune";
     this.toolTip1.SetToolTip(this.btnTuneMemory, "Performs a Memory Tune.  Uses previously saved tune settings if found for the cur" +
                              "rent frequency.  If a previous setting is not found, a Full Tune is performed.");
     this.btnTuneMemory.Click += new System.EventHandler(this.btnTuneMemory_Click);
     //
     // radModeAuto
     //
     this.radModeAuto.Image    = null;
     this.radModeAuto.Location = new System.Drawing.Point(16, 88);
     this.radModeAuto.Name     = "radModeAuto";
     this.radModeAuto.Size     = new System.Drawing.Size(104, 24);
     this.radModeAuto.TabIndex = 2;
     this.radModeAuto.Text     = "Automatic";
     this.toolTip1.SetToolTip(this.radModeAuto, "Activates the ATU requiring just RF to automatically begin a tuning sequence.  Th" +
                              "is works for all transmission modes.  Note that manually tuning is still possibl" +
                              "e in this mode.");
     this.radModeAuto.CheckedChanged += new System.EventHandler(this.radModeAuto_CheckedChanged);
     //
     // radModeSemiAuto
     //
     this.radModeSemiAuto.Image    = null;
     this.radModeSemiAuto.Location = new System.Drawing.Point(16, 56);
     this.radModeSemiAuto.Name     = "radModeSemiAuto";
     this.radModeSemiAuto.Size     = new System.Drawing.Size(104, 24);
     this.radModeSemiAuto.TabIndex = 1;
     this.radModeSemiAuto.Text     = "Semi-Automatic";
     this.toolTip1.SetToolTip(this.radModeSemiAuto, "Enables the ATU requiring the user to activate a tune sequence.");
     this.radModeSemiAuto.CheckedChanged += new System.EventHandler(this.radModeSemiAuto_CheckedChanged);
     //
     // radModeBypass
     //
     this.radModeBypass.Checked  = true;
     this.radModeBypass.Image    = null;
     this.radModeBypass.Location = new System.Drawing.Point(16, 24);
     this.radModeBypass.Name     = "radModeBypass";
     this.radModeBypass.Size     = new System.Drawing.Size(88, 24);
     this.radModeBypass.TabIndex = 0;
     this.radModeBypass.TabStop  = true;
     this.radModeBypass.Text     = "Bypass";
     this.toolTip1.SetToolTip(this.radModeBypass, "Effectively deactivates the ATU by unlatching all relays.");
     this.radModeBypass.CheckedChanged += new System.EventHandler(this.radModeBypass_CheckedChanged);
     //
     // grpTune
     //
     this.grpTune.Controls.Add(this.chkUseTUN);
     this.grpTune.Controls.Add(this.btnTuneFull);
     this.grpTune.Controls.Add(this.btnTuneMemory);
     this.grpTune.Location = new System.Drawing.Point(144, 8);
     this.grpTune.Name     = "grpTune";
     this.grpTune.Size     = new System.Drawing.Size(128, 120);
     this.grpTune.TabIndex = 4;
     this.grpTune.TabStop  = false;
     this.grpTune.Text     = "Tuning Options";
     //
     // grpMode
     //
     this.grpMode.Controls.Add(this.radModeAuto);
     this.grpMode.Controls.Add(this.radModeSemiAuto);
     this.grpMode.Controls.Add(this.radModeBypass);
     this.grpMode.Location = new System.Drawing.Point(8, 8);
     this.grpMode.Name     = "grpMode";
     this.grpMode.Size     = new System.Drawing.Size(128, 120);
     this.grpMode.TabIndex = 0;
     this.grpMode.TabStop  = false;
     this.grpMode.Text     = "Operating Mode";
     //
     // FWCATUForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(392, 274);
     this.Controls.Add(this.chkATUEnabledOnBandChange);
     this.Controls.Add(this.grpSWRThreshold);
     this.Controls.Add(this.grpFeedback);
     this.Controls.Add(this.grpTune);
     this.Controls.Add(this.grpMode);
     this.Icon     = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name     = "FWCATUForm";
     this.Text     = "FLEX-5000 ATU Settings";
     this.Closing += new System.ComponentModel.CancelEventHandler(this.FWCATUForm_Closing);
     this.grpSWRThreshold.ResumeLayout(false);
     this.grpFeedback.ResumeLayout(false);
     this.grpTune.ResumeLayout(false);
     this.grpMode.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #4
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(ScanControl));
     this.button1        = new System.Windows.Forms.Button();
     this.button2        = new System.Windows.Forms.Button();
     this.button3        = new System.Windows.Forms.Button();
     this.button4        = new System.Windows.Forms.Button();
     this.button5        = new System.Windows.Forms.Button();
     this.button6        = new System.Windows.Forms.Button();
     this.lowFBox        = new System.Windows.Forms.TextBox();
     this.stepBox        = new System.Windows.Forms.TextBox();
     this.textBox3       = new System.Windows.Forms.TextBox();
     this.currFBox       = new System.Windows.Forms.TextBox();
     this.label2         = new System.Windows.Forms.Label();
     this.label1         = new System.Windows.Forms.Label();
     this.highFBox       = new System.Windows.Forms.TextBox();
     this.label3         = new System.Windows.Forms.Label();
     this.speedBox       = new System.Windows.Forms.TextBox();
     this.label4         = new System.Windows.Forms.Label();
     this.label5         = new System.Windows.Forms.Label();
     this.chkAlwaysOnTop = new System.Windows.Forms.CheckBoxTS();
     this.SuspendLayout();
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(24, 372);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(75, 23);
     this.button1.TabIndex = 0;
     this.button1.Text     = "Start";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(121, 372);
     this.button2.Name     = "button2";
     this.button2.Size     = new System.Drawing.Size(75, 23);
     this.button2.TabIndex = 1;
     this.button2.Text     = "Stop";
     this.button2.UseVisualStyleBackColor = true;
     //
     // button3
     //
     this.button3.Location = new System.Drawing.Point(218, 372);
     this.button3.Name     = "button3";
     this.button3.Size     = new System.Drawing.Size(75, 23);
     this.button3.TabIndex = 2;
     this.button3.Text     = "Pause";
     this.button3.UseVisualStyleBackColor = true;
     //
     // button4
     //
     this.button4.Location = new System.Drawing.Point(218, 316);
     this.button4.Name     = "button4";
     this.button4.Size     = new System.Drawing.Size(75, 23);
     this.button4.TabIndex = 3;
     this.button4.Text     = "Scan SWL";
     this.button4.UseVisualStyleBackColor = true;
     this.button4.Click += new System.EventHandler(this.button4_Click);
     //
     // button5
     //
     this.button5.Location = new System.Drawing.Point(24, 316);
     this.button5.Name     = "button5";
     this.button5.Size     = new System.Drawing.Size(75, 23);
     this.button5.TabIndex = 4;
     this.button5.Text     = "Scan Band";
     this.button5.UseVisualStyleBackColor = true;
     this.button5.Click += new System.EventHandler(this.button5_Click);
     //
     // button6
     //
     this.button6.Location = new System.Drawing.Point(121, 316);
     this.button6.Name     = "button6";
     this.button6.Size     = new System.Drawing.Size(75, 23);
     this.button6.TabIndex = 5;
     this.button6.Text     = "Scan Mem";
     this.button6.UseVisualStyleBackColor = true;
     this.button6.Click += new System.EventHandler(this.button6_Click);
     //
     // lowFBox
     //
     this.lowFBox.BackColor  = System.Drawing.Color.LightYellow;
     this.lowFBox.Font       = new System.Drawing.Font("Courier New", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lowFBox.Location   = new System.Drawing.Point(12, 151);
     this.lowFBox.Name       = "lowFBox";
     this.lowFBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.lowFBox.Size       = new System.Drawing.Size(172, 29);
     this.lowFBox.TabIndex   = 6;
     this.lowFBox.Click     += new System.EventHandler(this.lowFBox_Click);
     this.lowFBox.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.lowFBox_KeyDown);
     //
     // stepBox
     //
     this.stepBox.Font      = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.stepBox.Location  = new System.Drawing.Point(15, 209);
     this.stepBox.MaxLength = 5;
     this.stepBox.Name      = "stepBox";
     this.stepBox.Size      = new System.Drawing.Size(119, 29);
     this.stepBox.TabIndex  = 7;
     this.stepBox.Text      = "1.0";
     //
     // textBox3
     //
     this.textBox3.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox3.Location  = new System.Drawing.Point(12, 12);
     this.textBox3.Multiline = true;
     this.textBox3.Name      = "textBox3";
     this.textBox3.Size      = new System.Drawing.Size(555, 104);
     this.textBox3.TabIndex  = 9;
     this.textBox3.TabStop   = false;
     this.textBox3.Text      = resources.GetString("textBox3.Text");
     //
     // currFBox
     //
     this.currFBox.BackColor  = System.Drawing.Color.LightYellow;
     this.currFBox.Font       = new System.Drawing.Font("Courier New", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.currFBox.Location   = new System.Drawing.Point(201, 151);
     this.currFBox.Name       = "currFBox";
     this.currFBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.currFBox.Size       = new System.Drawing.Size(178, 29);
     this.currFBox.TabIndex   = 10;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(12, 135);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(108, 13);
     this.label2.TabIndex = 19;
     this.label2.Text     = "Low Edge Frequency";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(394, 135);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(110, 13);
     this.label1.TabIndex = 20;
     this.label1.Text     = "High Edge Frequency\r\n";
     //
     // highFBox
     //
     this.highFBox.BackColor  = System.Drawing.Color.LightYellow;
     this.highFBox.Font       = new System.Drawing.Font("Courier New", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.highFBox.Location   = new System.Drawing.Point(397, 151);
     this.highFBox.Name       = "highFBox";
     this.highFBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.highFBox.Size       = new System.Drawing.Size(170, 29);
     this.highFBox.TabIndex   = 21;
     this.highFBox.Click     += new System.EventHandler(this.highFBox_Click);
     this.highFBox.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.highFBox_KeyDown);
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(198, 135);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(142, 13);
     this.label3.TabIndex = 22;
     this.label3.Text     = "Current Frequency Scanning";
     //
     // speedBox
     //
     this.speedBox.Font      = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.speedBox.Location  = new System.Drawing.Point(15, 269);
     this.speedBox.MaxLength = 3;
     this.speedBox.Name      = "speedBox";
     this.speedBox.Size      = new System.Drawing.Size(119, 29);
     this.speedBox.TabIndex  = 23;
     this.speedBox.Text      = "200";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(12, 193);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(61, 13);
     this.label4.TabIndex = 24;
     this.label4.Text     = "Step in Khz";
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(12, 253);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(79, 13);
     this.label5.TabIndex = 25;
     this.label5.Text     = "Speed in mSec";
     //
     // chkAlwaysOnTop
     //
     this.chkAlwaysOnTop.Image           = null;
     this.chkAlwaysOnTop.Location        = new System.Drawing.Point(461, 372);
     this.chkAlwaysOnTop.Name            = "chkAlwaysOnTop";
     this.chkAlwaysOnTop.Size            = new System.Drawing.Size(104, 24);
     this.chkAlwaysOnTop.TabIndex        = 59;
     this.chkAlwaysOnTop.Text            = "Always On Top";
     this.chkAlwaysOnTop.CheckedChanged += new System.EventHandler(this.chkAlwaysOnTop_CheckedChanged);
     //
     // ScanControl
     //
     this.BackColor  = System.Drawing.SystemColors.ControlDarkDark;
     this.ClientSize = new System.Drawing.Size(580, 407);
     this.Controls.Add(this.chkAlwaysOnTop);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.speedBox);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.highFBox);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.currFBox);
     this.Controls.Add(this.textBox3);
     this.Controls.Add(this.stepBox);
     this.Controls.Add(this.lowFBox);
     this.Controls.Add(this.button6);
     this.Controls.Add(this.button5);
     this.Controls.Add(this.button4);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.button1);
     this.Icon         = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize  = new System.Drawing.Size(330, 446);
     this.Name         = "ScanControl";
     this.Text         = "Scanner";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ScanControl_FormClosing);
     this.Load        += new System.EventHandler(this.ScanControl_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #5
0
파일: swl.cs 프로젝트: M0LTE/PowerSDR
 /// <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(SwlControl));
     this.textBox3       = new System.Windows.Forms.TextBox();
     this.button1        = new System.Windows.Forms.Button();
     this.richTextBox1   = new System.Windows.Forms.RichTextBox();
     this.button2        = new System.Windows.Forms.Button();
     this.richTextBox2   = new System.Windows.Forms.RichTextBox();
     this.chkAlwaysOnTop = new System.Windows.Forms.CheckBoxTS();
     this.label5         = new System.Windows.Forms.Label();
     this.richTextBox3   = new System.Windows.Forms.RichTextBox();
     this.textBox1       = new System.Windows.Forms.TextBox();
     this.SuspendLayout();
     //
     // textBox3
     //
     this.textBox3.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox3.Location  = new System.Drawing.Point(12, 12);
     this.textBox3.Multiline = true;
     this.textBox3.Name      = "textBox3";
     this.textBox3.Size      = new System.Drawing.Size(394, 97);
     this.textBox3.TabIndex  = 9;
     this.textBox3.TabStop   = false;
     this.textBox3.Text      = resources.GetString("textBox3.Text");
     //
     // button1
     //
     this.button1.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.button1.BackColor = System.Drawing.SystemColors.ButtonFace;
     this.button1.Location  = new System.Drawing.Point(12, 509);
     this.button1.Name      = "button1";
     this.button1.Size      = new System.Drawing.Size(75, 23);
     this.button1.TabIndex  = 61;
     this.button1.Text      = "Update List";
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // richTextBox1
     //
     this.richTextBox1.Location   = new System.Drawing.Point(97, 123);
     this.richTextBox1.MaxLength  = 20;
     this.richTextBox1.Multiline  = false;
     this.richTextBox1.Name       = "richTextBox1";
     this.richTextBox1.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None;
     this.richTextBox1.Size       = new System.Drawing.Size(175, 25);
     this.richTextBox1.TabIndex   = 62;
     this.richTextBox1.Text       = "";
     this.richTextBox1.KeyPress  += new System.Windows.Forms.KeyPressEventHandler(this.richTextBox1_KeyPress);
     //
     // button2
     //
     this.button2.BackColor = System.Drawing.SystemColors.ButtonFace;
     this.button2.Location  = new System.Drawing.Point(287, 125);
     this.button2.Name      = "button2";
     this.button2.Size      = new System.Drawing.Size(75, 23);
     this.button2.TabIndex  = 63;
     this.button2.Text      = "Search";
     this.button2.UseVisualStyleBackColor = false;
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // richTextBox2
     //
     this.richTextBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                      | System.Windows.Forms.AnchorStyles.Left)));
     this.richTextBox2.Cursor     = System.Windows.Forms.Cursors.Default;
     this.richTextBox2.Font       = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.richTextBox2.Location   = new System.Drawing.Point(12, 163);
     this.richTextBox2.Name       = "richTextBox2";
     this.richTextBox2.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical;
     this.richTextBox2.Size       = new System.Drawing.Size(394, 331);
     this.richTextBox2.TabIndex   = 64;
     this.richTextBox2.Text       = "";
     this.richTextBox2.MouseDown += new System.Windows.Forms.MouseEventHandler(this.richTextBox2_MouseDown);
     this.richTextBox2.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.richTextBox2_MouseUp);
     //
     // chkAlwaysOnTop
     //
     this.chkAlwaysOnTop.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.chkAlwaysOnTop.Image           = null;
     this.chkAlwaysOnTop.Location        = new System.Drawing.Point(385, 506);
     this.chkAlwaysOnTop.Name            = "chkAlwaysOnTop";
     this.chkAlwaysOnTop.Size            = new System.Drawing.Size(104, 24);
     this.chkAlwaysOnTop.TabIndex        = 59;
     this.chkAlwaysOnTop.Text            = "Always On Top";
     this.chkAlwaysOnTop.CheckedChanged += new System.EventHandler(this.chkAlwaysOnTop_CheckedChanged);
     //
     // label5
     //
     this.label5.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label5.AutoSize  = true;
     this.label5.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
     this.label5.Location  = new System.Drawing.Point(94, 514);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(278, 13);
     this.label5.TabIndex  = 85;
     this.label5.Text      = "<< Click often as stations go OFF/ON air as time changes";
     //
     // richTextBox3
     //
     this.richTextBox3.Location = new System.Drawing.Point(413, 12);
     this.richTextBox3.Name     = "richTextBox3";
     this.richTextBox3.Size     = new System.Drawing.Size(76, 327);
     this.richTextBox3.TabIndex = 86;
     this.richTextBox3.Text     = "Examples searches to Click:\n\nALE\nTIME\nVOLMET\nHFDL\nDIGITAL\nSTANAG\nFAX\nDSC\nNAVY\nNAV" +
                                  "TEX\nMOBILE\nMARITIME\nBEACON\nHabana\nDRM\n\n\nClear Search field to show all Stations." +
                                  "";
     this.richTextBox3.MouseClick += new System.Windows.Forms.MouseEventHandler(this.richTextBox3_MouseClick);
     //
     // textBox1
     //
     this.textBox1.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox1.Location  = new System.Drawing.Point(412, 345);
     this.textBox1.Multiline = true;
     this.textBox1.Name      = "textBox1";
     this.textBox1.Size      = new System.Drawing.Size(76, 149);
     this.textBox1.TabIndex  = 87;
     this.textBox1.TabStop   = false;
     this.textBox1.Text      = "For Signal Identification download the Artemis Project\r\n http://markslab.tk/proje" +
                               "ct-artemis/";
     //
     // SwlControl
     //
     this.BackColor  = System.Drawing.SystemColors.ControlDarkDark;
     this.ClientSize = new System.Drawing.Size(500, 542);
     this.Controls.Add(this.textBox1);
     this.Controls.Add(this.richTextBox3);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.richTextBox2);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.richTextBox1);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.chkAlwaysOnTop);
     this.Controls.Add(this.textBox3);
     this.Icon         = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize  = new System.Drawing.Size(516, 200);
     this.Name         = "SwlControl";
     this.Text         = "SWL";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.SwlControl_FormClosing);
     this.Load        += new System.EventHandler(this.SwlControl_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #6
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(DisplaySettingsForm));
     this.labelTS5        = new System.Windows.Forms.LabelTS();
     this.comboTXMeter    = new System.Windows.Forms.ComboBoxTS();
     this.labelTS4        = new System.Windows.Forms.LabelTS();
     this.labelTS3        = new System.Windows.Forms.LabelTS();
     this.comboRX2Display = new System.Windows.Forms.ComboBoxTS();
     this.comboRX1Display = new System.Windows.Forms.ComboBoxTS();
     this.labelTS2        = new System.Windows.Forms.LabelTS();
     this.comboRX2Meter   = new System.Windows.Forms.ComboBoxTS();
     this.labelTS1        = new System.Windows.Forms.LabelTS();
     this.comboRX1Meter   = new System.Windows.Forms.ComboBoxTS();
     this.btnClose        = new System.Windows.Forms.ButtonTS();
     this.chkRX1Avg       = new System.Windows.Forms.CheckBoxTS();
     this.chkRX1Peak      = new System.Windows.Forms.CheckBoxTS();
     this.chkRX2Avg       = new System.Windows.Forms.CheckBoxTS();
     this.chkRX2Peak      = new System.Windows.Forms.CheckBoxTS();
     this.SuspendLayout();
     //
     // labelTS5
     //
     this.labelTS5.AutoSize  = true;
     this.labelTS5.ForeColor = System.Drawing.SystemColors.ControlLight;
     this.labelTS5.Image     = null;
     this.labelTS5.Location  = new System.Drawing.Point(323, 21);
     this.labelTS5.Name      = "labelTS5";
     this.labelTS5.Size      = new System.Drawing.Size(51, 13);
     this.labelTS5.TabIndex  = 10;
     this.labelTS5.Text      = "TX Meter";
     //
     // comboTXMeter
     //
     this.comboTXMeter.FormattingEnabled = true;
     this.comboTXMeter.Location          = new System.Drawing.Point(323, 40);
     this.comboTXMeter.Name                  = "comboTXMeter";
     this.comboTXMeter.Size                  = new System.Drawing.Size(121, 21);
     this.comboTXMeter.TabIndex              = 9;
     this.comboTXMeter.SelectedIndexChanged += new System.EventHandler(this.ComboTXMeter_SelectedIndexChanged);
     //
     // labelTS4
     //
     this.labelTS4.AutoSize  = true;
     this.labelTS4.ForeColor = System.Drawing.SystemColors.ControlLight;
     this.labelTS4.Image     = null;
     this.labelTS4.Location  = new System.Drawing.Point(174, 88);
     this.labelTS4.Name      = "labelTS4";
     this.labelTS4.Size      = new System.Drawing.Size(95, 13);
     this.labelTS4.TabIndex  = 8;
     this.labelTS4.Text      = "RX2 Display Mode";
     //
     // labelTS3
     //
     this.labelTS3.AutoSize  = true;
     this.labelTS3.ForeColor = System.Drawing.SystemColors.ControlLight;
     this.labelTS3.Image     = null;
     this.labelTS3.Location  = new System.Drawing.Point(19, 88);
     this.labelTS3.Name      = "labelTS3";
     this.labelTS3.Size      = new System.Drawing.Size(95, 13);
     this.labelTS3.TabIndex  = 7;
     this.labelTS3.Text      = "RX1 Display Mode";
     //
     // comboRX2Display
     //
     this.comboRX2Display.FormattingEnabled = true;
     this.comboRX2Display.Location          = new System.Drawing.Point(174, 107);
     this.comboRX2Display.Name                  = "comboRX2Display";
     this.comboRX2Display.Size                  = new System.Drawing.Size(121, 21);
     this.comboRX2Display.TabIndex              = 6;
     this.comboRX2Display.SelectedIndexChanged += new System.EventHandler(this.ComboRX2Display_SelectedIndexChanged);
     //
     // comboRX1Display
     //
     this.comboRX1Display.FormattingEnabled = true;
     this.comboRX1Display.Location          = new System.Drawing.Point(19, 107);
     this.comboRX1Display.Name                  = "comboRX1Display";
     this.comboRX1Display.Size                  = new System.Drawing.Size(121, 21);
     this.comboRX1Display.TabIndex              = 5;
     this.comboRX1Display.SelectedIndexChanged += new System.EventHandler(this.ComboRX1Display_SelectedIndexChanged);
     //
     // labelTS2
     //
     this.labelTS2.AutoSize  = true;
     this.labelTS2.ForeColor = System.Drawing.SystemColors.ControlLight;
     this.labelTS2.Image     = null;
     this.labelTS2.Location  = new System.Drawing.Point(174, 21);
     this.labelTS2.Name      = "labelTS2";
     this.labelTS2.Size      = new System.Drawing.Size(58, 13);
     this.labelTS2.TabIndex  = 4;
     this.labelTS2.Text      = "RX2 Meter";
     //
     // comboRX2Meter
     //
     this.comboRX2Meter.FormattingEnabled = true;
     this.comboRX2Meter.Location          = new System.Drawing.Point(174, 40);
     this.comboRX2Meter.Name                  = "comboRX2Meter";
     this.comboRX2Meter.Size                  = new System.Drawing.Size(116, 21);
     this.comboRX2Meter.TabIndex              = 3;
     this.comboRX2Meter.SelectedIndexChanged += new System.EventHandler(this.ComboRX2Meter_SelectedIndexChanged);
     //
     // labelTS1
     //
     this.labelTS1.AutoSize  = true;
     this.labelTS1.ForeColor = System.Drawing.SystemColors.ControlLight;
     this.labelTS1.Image     = null;
     this.labelTS1.Location  = new System.Drawing.Point(19, 21);
     this.labelTS1.Name      = "labelTS1";
     this.labelTS1.Size      = new System.Drawing.Size(58, 13);
     this.labelTS1.TabIndex  = 2;
     this.labelTS1.Text      = "RX1 Meter";
     //
     // comboRX1Meter
     //
     this.comboRX1Meter.FormattingEnabled = true;
     this.comboRX1Meter.Location          = new System.Drawing.Point(19, 40);
     this.comboRX1Meter.Name                  = "comboRX1Meter";
     this.comboRX1Meter.Size                  = new System.Drawing.Size(122, 21);
     this.comboRX1Meter.TabIndex              = 1;
     this.comboRX1Meter.SelectedIndexChanged += new System.EventHandler(this.ComboRX1Meter_SelectedIndexChanged);
     //
     // btnClose
     //
     this.btnClose.Image    = null;
     this.btnClose.Location = new System.Drawing.Point(326, 153);
     this.btnClose.Name     = "btnClose";
     this.btnClose.Size     = new System.Drawing.Size(109, 41);
     this.btnClose.TabIndex = 0;
     this.btnClose.Text     = "Close";
     this.btnClose.UseVisualStyleBackColor = true;
     this.btnClose.Click += new System.EventHandler(this.BtnClose_Click);
     //
     // chkRX1Avg
     //
     this.chkRX1Avg.Appearance = System.Windows.Forms.Appearance.Button;
     this.chkRX1Avg.CheckAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.chkRX1Avg.Image      = null;
     this.chkRX1Avg.Location   = new System.Drawing.Point(19, 153);
     this.chkRX1Avg.Name       = "chkRX1Avg";
     this.chkRX1Avg.Size       = new System.Drawing.Size(50, 41);
     this.chkRX1Avg.TabIndex   = 11;
     this.chkRX1Avg.Text       = "Avg";
     this.chkRX1Avg.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     this.chkRX1Avg.UseVisualStyleBackColor = true;
     this.chkRX1Avg.CheckedChanged         += new System.EventHandler(this.ChkRX1Avg_CheckedChanged);
     //
     // chkRX1Peak
     //
     this.chkRX1Peak.Appearance = System.Windows.Forms.Appearance.Button;
     this.chkRX1Peak.CheckAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.chkRX1Peak.Image      = null;
     this.chkRX1Peak.Location   = new System.Drawing.Point(90, 153);
     this.chkRX1Peak.Name       = "chkRX1Peak";
     this.chkRX1Peak.Size       = new System.Drawing.Size(50, 41);
     this.chkRX1Peak.TabIndex   = 12;
     this.chkRX1Peak.Text       = "Peak";
     this.chkRX1Peak.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     this.chkRX1Peak.UseVisualStyleBackColor = true;
     this.chkRX1Peak.CheckedChanged         += new System.EventHandler(this.ChkRX1Peak_CheckedChanged);
     //
     // chkRX2Avg
     //
     this.chkRX2Avg.Appearance = System.Windows.Forms.Appearance.Button;
     this.chkRX2Avg.CheckAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.chkRX2Avg.Image      = null;
     this.chkRX2Avg.Location   = new System.Drawing.Point(174, 153);
     this.chkRX2Avg.Name       = "chkRX2Avg";
     this.chkRX2Avg.Size       = new System.Drawing.Size(50, 41);
     this.chkRX2Avg.TabIndex   = 13;
     this.chkRX2Avg.Text       = "Avg";
     this.chkRX2Avg.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     this.chkRX2Avg.UseVisualStyleBackColor = true;
     this.chkRX2Avg.CheckedChanged         += new System.EventHandler(this.ChkRX2Avg_CheckedChanged);
     //
     // chkRX2Peak
     //
     this.chkRX2Peak.Appearance = System.Windows.Forms.Appearance.Button;
     this.chkRX2Peak.CheckAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.chkRX2Peak.Image      = null;
     this.chkRX2Peak.Location   = new System.Drawing.Point(245, 153);
     this.chkRX2Peak.Name       = "chkRX2Peak";
     this.chkRX2Peak.Size       = new System.Drawing.Size(50, 41);
     this.chkRX2Peak.TabIndex   = 14;
     this.chkRX2Peak.Text       = "Peak";
     this.chkRX2Peak.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     this.chkRX2Peak.UseVisualStyleBackColor = true;
     this.chkRX2Peak.CheckedChanged         += new System.EventHandler(this.ChkRX2Peak_CheckedChanged);
     //
     // DisplaySettingsForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
     this.ClientSize          = new System.Drawing.Size(454, 204);
     this.Controls.Add(this.chkRX2Peak);
     this.Controls.Add(this.chkRX2Avg);
     this.Controls.Add(this.chkRX1Peak);
     this.Controls.Add(this.chkRX1Avg);
     this.Controls.Add(this.labelTS5);
     this.Controls.Add(this.comboTXMeter);
     this.Controls.Add(this.labelTS4);
     this.Controls.Add(this.labelTS3);
     this.Controls.Add(this.comboRX2Display);
     this.Controls.Add(this.comboRX1Display);
     this.Controls.Add(this.labelTS2);
     this.Controls.Add(this.comboRX2Meter);
     this.Controls.Add(this.labelTS1);
     this.Controls.Add(this.comboRX1Meter);
     this.Controls.Add(this.btnClose);
     this.Icon         = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name         = "DisplaySettingsForm";
     this.Text         = "Display Settings";
     this.TopMost      = true;
     this.Activated   += new System.EventHandler(this.DisplaySettingsForm_Activated);
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.DisplaySettingsForm_FormClosing);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <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(FLEX1500MixerForm));
     this.toolTip1          = new System.Windows.Forms.ToolTip(this.components);
     this.chkFlexWireOutSel = new System.Windows.Forms.CheckBoxTS();
     this.tbFlexWireOut     = new System.Windows.Forms.TrackBarTS();
     this.chkPhonesSel      = new System.Windows.Forms.CheckBoxTS();
     this.tbPhones          = new System.Windows.Forms.TrackBarTS();
     this.chkOutputMuteAll  = new System.Windows.Forms.CheckBoxTS();
     this.chkInputMuteAll   = new System.Windows.Forms.CheckBoxTS();
     this.lblFlexWireIn     = new System.Windows.Forms.LabelTS();
     this.chkFlexWireInSel  = new System.Windows.Forms.CheckBoxTS();
     this.tbFlexWireIn      = new System.Windows.Forms.TrackBarTS();
     this.lblMic            = new System.Windows.Forms.LabelTS();
     this.chkMicSel         = new System.Windows.Forms.CheckBoxTS();
     this.tbMic             = new System.Windows.Forms.TrackBarTS();
     this.btnCodecDump      = new System.Windows.Forms.ButtonTS();
     this.grpOutput         = new System.Windows.Forms.GroupBoxTS();
     this.lblFlexWireOut    = new System.Windows.Forms.LabelTS();
     this.lblPhones         = new System.Windows.Forms.LabelTS();
     this.grpInput          = new System.Windows.Forms.GroupBoxTS();
     ((System.ComponentModel.ISupportInitialize)(this.tbFlexWireOut)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbPhones)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbFlexWireIn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbMic)).BeginInit();
     this.grpOutput.SuspendLayout();
     this.grpInput.SuspendLayout();
     this.SuspendLayout();
     //
     // chkFlexWireOutSel
     //
     this.chkFlexWireOutSel.Checked           = true;
     this.chkFlexWireOutSel.CheckState        = System.Windows.Forms.CheckState.Checked;
     this.chkFlexWireOutSel.Image             = null;
     this.chkFlexWireOutSel.Location          = new System.Drawing.Point(94, 144);
     this.chkFlexWireOutSel.Name              = "chkFlexWireOutSel";
     this.chkFlexWireOutSel.Size              = new System.Drawing.Size(16, 24);
     this.chkFlexWireOutSel.TabIndex          = 21;
     this.chkFlexWireOutSel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.toolTip1.SetToolTip(this.chkFlexWireOutSel, "Selects/Unselects the FlexWire Line Out Output");
     this.chkFlexWireOutSel.CheckedChanged += new System.EventHandler(this.chkFlexWireOutSel_CheckedChanged);
     //
     // tbFlexWireOut
     //
     this.tbFlexWireOut.Location      = new System.Drawing.Point(82, 48);
     this.tbFlexWireOut.Maximum       = 127;
     this.tbFlexWireOut.Name          = "tbFlexWireOut";
     this.tbFlexWireOut.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.tbFlexWireOut.Size          = new System.Drawing.Size(45, 104);
     this.tbFlexWireOut.TabIndex      = 20;
     this.tbFlexWireOut.TickFrequency = 16;
     this.tbFlexWireOut.TickStyle     = System.Windows.Forms.TickStyle.Both;
     this.toolTip1.SetToolTip(this.tbFlexWireOut, "Adjusts the FlexWire Out Volume");
     this.tbFlexWireOut.Value   = 95;
     this.tbFlexWireOut.Scroll += new System.EventHandler(this.tbFlexWireOut_Scroll);
     //
     // chkPhonesSel
     //
     this.chkPhonesSel.Checked           = true;
     this.chkPhonesSel.CheckState        = System.Windows.Forms.CheckState.Checked;
     this.chkPhonesSel.Image             = null;
     this.chkPhonesSel.Location          = new System.Drawing.Point(40, 144);
     this.chkPhonesSel.Name              = "chkPhonesSel";
     this.chkPhonesSel.Size              = new System.Drawing.Size(16, 24);
     this.chkPhonesSel.TabIndex          = 15;
     this.chkPhonesSel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.toolTip1.SetToolTip(this.chkPhonesSel, "Selects/Unselects the Phones Output");
     this.chkPhonesSel.CheckedChanged += new System.EventHandler(this.chkPhonesSel_CheckedChanged);
     //
     // tbPhones
     //
     this.tbPhones.Location      = new System.Drawing.Point(24, 48);
     this.tbPhones.Maximum       = 127;
     this.tbPhones.Name          = "tbPhones";
     this.tbPhones.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.tbPhones.Size          = new System.Drawing.Size(45, 104);
     this.tbPhones.TabIndex      = 14;
     this.tbPhones.TickFrequency = 16;
     this.tbPhones.TickStyle     = System.Windows.Forms.TickStyle.Both;
     this.toolTip1.SetToolTip(this.tbPhones, "Adjusts the Phones Volume");
     this.tbPhones.Value   = 95;
     this.tbPhones.Scroll += new System.EventHandler(this.tbPhones_Scroll);
     //
     // chkOutputMuteAll
     //
     this.chkOutputMuteAll.Appearance = System.Windows.Forms.Appearance.Button;
     this.chkOutputMuteAll.Image      = null;
     this.chkOutputMuteAll.Location   = new System.Drawing.Point(19, 176);
     this.chkOutputMuteAll.Name       = "chkOutputMuteAll";
     this.chkOutputMuteAll.Size       = new System.Drawing.Size(103, 24);
     this.chkOutputMuteAll.TabIndex   = 13;
     this.chkOutputMuteAll.Text       = "Mute All Outputs";
     this.chkOutputMuteAll.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     this.toolTip1.SetToolTip(this.chkOutputMuteAll, "Mute All Output Lines");
     this.chkOutputMuteAll.CheckedChanged += new System.EventHandler(this.chkOutputMuteAll_CheckedChanged);
     //
     // chkInputMuteAll
     //
     this.chkInputMuteAll.Appearance = System.Windows.Forms.Appearance.Button;
     this.chkInputMuteAll.Image      = null;
     this.chkInputMuteAll.Location   = new System.Drawing.Point(16, 176);
     this.chkInputMuteAll.Name       = "chkInputMuteAll";
     this.chkInputMuteAll.Size       = new System.Drawing.Size(88, 24);
     this.chkInputMuteAll.TabIndex   = 12;
     this.chkInputMuteAll.Text       = "Mute All Inputs";
     this.chkInputMuteAll.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     this.toolTip1.SetToolTip(this.chkInputMuteAll, "Mute All Input Lines");
     this.chkInputMuteAll.CheckedChanged += new System.EventHandler(this.chkInputMuteAll_CheckedChanged);
     //
     // lblFlexWireIn
     //
     this.lblFlexWireIn.Image     = null;
     this.lblFlexWireIn.Location  = new System.Drawing.Point(64, 24);
     this.lblFlexWireIn.Name      = "lblFlexWireIn";
     this.lblFlexWireIn.Size      = new System.Drawing.Size(49, 24);
     this.lblFlexWireIn.TabIndex  = 11;
     this.lblFlexWireIn.Text      = "FlexWire In";
     this.lblFlexWireIn.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     this.toolTip1.SetToolTip(this.lblFlexWireIn, "FlexWire Audio Input (DB9 on back panel)");
     //
     // chkFlexWireInSel
     //
     this.chkFlexWireInSel.Image             = null;
     this.chkFlexWireInSel.Location          = new System.Drawing.Point(81, 144);
     this.chkFlexWireInSel.Name              = "chkFlexWireInSel";
     this.chkFlexWireInSel.Size              = new System.Drawing.Size(16, 24);
     this.chkFlexWireInSel.TabIndex          = 10;
     this.chkFlexWireInSel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.toolTip1.SetToolTip(this.chkFlexWireInSel, "Selects/Unselects the Line In DB9 Input");
     this.chkFlexWireInSel.CheckedChanged += new System.EventHandler(this.chkFlexWireInSel_CheckedChanged);
     //
     // tbFlexWireIn
     //
     this.tbFlexWireIn.Location      = new System.Drawing.Point(68, 48);
     this.tbFlexWireIn.Maximum       = 119;
     this.tbFlexWireIn.Name          = "tbFlexWireIn";
     this.tbFlexWireIn.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.tbFlexWireIn.Size          = new System.Drawing.Size(45, 104);
     this.tbFlexWireIn.TabIndex      = 9;
     this.tbFlexWireIn.TickFrequency = 20;
     this.tbFlexWireIn.TickStyle     = System.Windows.Forms.TickStyle.Both;
     this.toolTip1.SetToolTip(this.tbFlexWireIn, "Adjusts the FlexWire Line Input Gain");
     this.tbFlexWireIn.Value   = 60;
     this.tbFlexWireIn.Scroll += new System.EventHandler(this.tbFlexWireIn_Scroll);
     //
     // lblMic
     //
     this.lblMic.Image     = null;
     this.lblMic.Location  = new System.Drawing.Point(16, 24);
     this.lblMic.Name      = "lblMic";
     this.lblMic.Size      = new System.Drawing.Size(45, 24);
     this.lblMic.TabIndex  = 2;
     this.lblMic.Text      = "Mic";
     this.lblMic.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     this.toolTip1.SetToolTip(this.lblMic, "8 Pin front panel connector");
     //
     // chkMicSel
     //
     this.chkMicSel.Checked           = true;
     this.chkMicSel.CheckState        = System.Windows.Forms.CheckState.Checked;
     this.chkMicSel.Image             = null;
     this.chkMicSel.Location          = new System.Drawing.Point(30, 144);
     this.chkMicSel.Name              = "chkMicSel";
     this.chkMicSel.Size              = new System.Drawing.Size(16, 24);
     this.chkMicSel.TabIndex          = 1;
     this.chkMicSel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.toolTip1.SetToolTip(this.chkMicSel, "Selects/Unselects the Mic Input");
     this.chkMicSel.CheckedChanged += new System.EventHandler(this.chkMicSel_CheckedChanged);
     //
     // tbMic
     //
     this.tbMic.Location      = new System.Drawing.Point(16, 48);
     this.tbMic.Maximum       = 119;
     this.tbMic.Name          = "tbMic";
     this.tbMic.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.tbMic.Size          = new System.Drawing.Size(45, 104);
     this.tbMic.TabIndex      = 0;
     this.tbMic.TickFrequency = 20;
     this.tbMic.TickStyle     = System.Windows.Forms.TickStyle.Both;
     this.toolTip1.SetToolTip(this.tbMic, "Adjusts the Mic Input Gain");
     this.tbMic.Value   = 60;
     this.tbMic.Scroll += new System.EventHandler(this.tbMic_Scroll);
     //
     // btnCodecDump
     //
     this.btnCodecDump.Image    = null;
     this.btnCodecDump.Location = new System.Drawing.Point(76, -4);
     this.btnCodecDump.Name     = "btnCodecDump";
     this.btnCodecDump.Size     = new System.Drawing.Size(75, 23);
     this.btnCodecDump.TabIndex = 4;
     this.btnCodecDump.Text     = "Dump";
     this.btnCodecDump.UseVisualStyleBackColor = true;
     this.btnCodecDump.Visible = false;
     this.btnCodecDump.Click  += new System.EventHandler(this.btnCodecDump_Click);
     //
     // grpOutput
     //
     this.grpOutput.Controls.Add(this.lblFlexWireOut);
     this.grpOutput.Controls.Add(this.chkFlexWireOutSel);
     this.grpOutput.Controls.Add(this.tbFlexWireOut);
     this.grpOutput.Controls.Add(this.lblPhones);
     this.grpOutput.Controls.Add(this.chkPhonesSel);
     this.grpOutput.Controls.Add(this.tbPhones);
     this.grpOutput.Controls.Add(this.chkOutputMuteAll);
     this.grpOutput.Location = new System.Drawing.Point(136, 8);
     this.grpOutput.Name     = "grpOutput";
     this.grpOutput.Size     = new System.Drawing.Size(137, 216);
     this.grpOutput.TabIndex = 3;
     this.grpOutput.TabStop  = false;
     this.grpOutput.Text     = "Output";
     //
     // lblFlexWireOut
     //
     this.lblFlexWireOut.Image     = null;
     this.lblFlexWireOut.Location  = new System.Drawing.Point(78, 24);
     this.lblFlexWireOut.Name      = "lblFlexWireOut";
     this.lblFlexWireOut.Size      = new System.Drawing.Size(49, 32);
     this.lblFlexWireOut.TabIndex  = 22;
     this.lblFlexWireOut.Text      = "FlexWire Out";
     this.lblFlexWireOut.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // lblPhones
     //
     this.lblPhones.Image     = null;
     this.lblPhones.Location  = new System.Drawing.Point(16, 24);
     this.lblPhones.Name      = "lblPhones";
     this.lblPhones.Size      = new System.Drawing.Size(56, 32);
     this.lblPhones.TabIndex  = 16;
     this.lblPhones.Text      = "Phones";
     this.lblPhones.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // grpInput
     //
     this.grpInput.Controls.Add(this.chkInputMuteAll);
     this.grpInput.Controls.Add(this.lblFlexWireIn);
     this.grpInput.Controls.Add(this.chkFlexWireInSel);
     this.grpInput.Controls.Add(this.tbFlexWireIn);
     this.grpInput.Controls.Add(this.lblMic);
     this.grpInput.Controls.Add(this.chkMicSel);
     this.grpInput.Controls.Add(this.tbMic);
     this.grpInput.Location = new System.Drawing.Point(8, 8);
     this.grpInput.Name     = "grpInput";
     this.grpInput.Size     = new System.Drawing.Size(120, 216);
     this.grpInput.TabIndex = 2;
     this.grpInput.TabStop  = false;
     this.grpInput.Text     = "Input";
     //
     // FLEX1500MixerForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(281, 230);
     this.Controls.Add(this.btnCodecDump);
     this.Controls.Add(this.grpOutput);
     this.Controls.Add(this.grpInput);
     this.Icon       = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview = true;
     this.Name       = "FLEX1500MixerForm";
     this.Text       = "FLEX-1500 Audio Mixer";
     this.Closing   += new System.ComponentModel.CancelEventHandler(this.FLEX1500MixerForm_Closing);
     this.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.FLEX1500MixerForm_KeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.tbFlexWireOut)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbPhones)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbFlexWireIn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbMic)).EndInit();
     this.grpOutput.ResumeLayout(false);
     this.grpOutput.PerformLayout();
     this.grpInput.ResumeLayout(false);
     this.grpInput.PerformLayout();
     this.ResumeLayout(false);
 }
예제 #8
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);
        }
예제 #9
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(helpbox));
     this.toolTip1           = new System.Windows.Forms.ToolTip(this.components);
     this.chkAlwaysOnTop     = new System.Windows.Forms.CheckBoxTS();
     this.txttimer_message   = new System.Windows.Forms.RichTextBox();
     this.helpbox_message    = new System.Windows.Forms.RichTextBox();
     this.solar_message      = new System.Windows.Forms.RichTextBox();
     this.recplay_message    = new System.Windows.Forms.RichTextBox();
     this.PropagationTextBox = new System.Windows.Forms.RichTextBox();
     this.TRACKMap           = new System.Windows.Forms.RichTextBox();
     this.SWRScanner         = new System.Windows.Forms.RichTextBox();
     this.AntennaDelay       = new System.Windows.Forms.RichTextBox();
     this.HTTPSERVER         = new System.Windows.Forms.RichTextBox();
     this.groupBox1          = new System.Windows.Forms.GroupBox();
     this.button2            = new System.Windows.Forms.Button();
     this.button1            = new System.Windows.Forms.Button();
     this.button3            = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // chkAlwaysOnTop
     //
     this.chkAlwaysOnTop.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.chkAlwaysOnTop.Checked         = true;
     this.chkAlwaysOnTop.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.chkAlwaysOnTop.Image           = null;
     this.chkAlwaysOnTop.Location        = new System.Drawing.Point(545, -58);
     this.chkAlwaysOnTop.MaximumSize     = new System.Drawing.Size(103, 31);
     this.chkAlwaysOnTop.MinimumSize     = new System.Drawing.Size(103, 31);
     this.chkAlwaysOnTop.Name            = "chkAlwaysOnTop";
     this.chkAlwaysOnTop.Size            = new System.Drawing.Size(103, 31);
     this.chkAlwaysOnTop.TabIndex        = 100;
     this.chkAlwaysOnTop.Text            = "Always On Top";
     this.chkAlwaysOnTop.Visible         = false;
     this.chkAlwaysOnTop.CheckedChanged += new System.EventHandler(this.chkAlwaysOnTop_CheckedChanged);
     //
     // txttimer_message
     //
     this.txttimer_message.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txttimer_message.Location = new System.Drawing.Point(12, 12);
     this.txttimer_message.Name     = "txttimer_message";
     this.txttimer_message.Size     = new System.Drawing.Size(636, 389);
     this.txttimer_message.TabIndex = 101;
     this.txttimer_message.Text     = resources.GetString("txttimer_message.Text");
     //
     // helpbox_message
     //
     this.helpbox_message.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                          | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this.helpbox_message.Font         = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.helpbox_message.Location     = new System.Drawing.Point(12, 12);
     this.helpbox_message.Name         = "helpbox_message";
     this.helpbox_message.Size         = new System.Drawing.Size(634, 389);
     this.helpbox_message.TabIndex     = 102;
     this.helpbox_message.Text         = "helpbox";
     this.helpbox_message.TextChanged += new System.EventHandler(this.helpbox_message_TextChanged);
     //
     // solar_message
     //
     this.solar_message.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.solar_message.Location = new System.Drawing.Point(12, 12);
     this.solar_message.Name     = "solar_message";
     this.solar_message.Size     = new System.Drawing.Size(636, 389);
     this.solar_message.TabIndex = 103;
     this.solar_message.Text     = resources.GetString("solar_message.Text");
     //
     // recplay_message
     //
     this.recplay_message.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.recplay_message.Location = new System.Drawing.Point(12, 12);
     this.recplay_message.Name     = "recplay_message";
     this.recplay_message.Size     = new System.Drawing.Size(636, 389);
     this.recplay_message.TabIndex = 104;
     this.recplay_message.Text     = "recplay";
     //
     // PropagationTextBox
     //
     this.PropagationTextBox.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.PropagationTextBox.Location = new System.Drawing.Point(12, 12);
     this.PropagationTextBox.Name     = "PropagationTextBox";
     this.PropagationTextBox.Size     = new System.Drawing.Size(636, 389);
     this.PropagationTextBox.TabIndex = 105;
     this.PropagationTextBox.Text     = resources.GetString("PropagationTextBox.Text");
     //
     // TRACKMap
     //
     this.TRACKMap.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.TRACKMap.Location = new System.Drawing.Point(12, 12);
     this.TRACKMap.Name     = "TRACKMap";
     this.TRACKMap.Size     = new System.Drawing.Size(636, 389);
     this.TRACKMap.TabIndex = 106;
     this.TRACKMap.Text     = resources.GetString("TRACKMap.Text");
     //
     // SWRScanner
     //
     this.SWRScanner.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.SWRScanner.Location = new System.Drawing.Point(12, 12);
     this.SWRScanner.Name     = "SWRScanner";
     this.SWRScanner.Size     = new System.Drawing.Size(636, 389);
     this.SWRScanner.TabIndex = 107;
     this.SWRScanner.Text     = resources.GetString("SWRScanner.Text");
     //
     // AntennaDelay
     //
     this.AntennaDelay.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.AntennaDelay.Location = new System.Drawing.Point(12, 12);
     this.AntennaDelay.Name     = "AntennaDelay";
     this.AntennaDelay.Size     = new System.Drawing.Size(636, 389);
     this.AntennaDelay.TabIndex = 108;
     this.AntennaDelay.Text     = resources.GetString("AntennaDelay.Text");
     //
     // HTTPSERVER
     //
     this.HTTPSERVER.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.HTTPSERVER.Location = new System.Drawing.Point(12, 12);
     this.HTTPSERVER.Name     = "HTTPSERVER";
     this.HTTPSERVER.Size     = new System.Drawing.Size(636, 389);
     this.HTTPSERVER.TabIndex = 109;
     this.HTTPSERVER.Text     = resources.GetString("HTTPSERVER.Text");
     //
     // groupBox1
     //
     this.groupBox1.Location = new System.Drawing.Point(12, 417);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(636, 412);
     this.groupBox1.TabIndex = 110;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Help Video";
     this.groupBox1.Visible  = false;
     //
     // button2
     //
     this.button2.BackColor = System.Drawing.SystemColors.ButtonFace;
     this.button2.Location  = new System.Drawing.Point(666, 28);
     this.button2.Name      = "button2";
     this.button2.Size      = new System.Drawing.Size(126, 37);
     this.button2.TabIndex  = 111;
     this.button2.Text      = "FireWire Issues";
     this.button2.UseVisualStyleBackColor = false;
     this.button2.Visible = false;
     //
     // button1
     //
     this.button1.BackColor = System.Drawing.SystemColors.ButtonFace;
     this.button1.Location  = new System.Drawing.Point(666, 71);
     this.button1.Name      = "button1";
     this.button1.Size      = new System.Drawing.Size(126, 37);
     this.button1.TabIndex  = 112;
     this.button1.Text      = "SWR Plotter";
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Visible = false;
     //
     // button3
     //
     this.button3.BackColor = System.Drawing.SystemColors.ButtonFace;
     this.button3.Location  = new System.Drawing.Point(666, 114);
     this.button3.Name      = "button3";
     this.button3.Size      = new System.Drawing.Size(126, 37);
     this.button3.TabIndex  = 113;
     this.button3.Text      = "Combo Meter, Local weather, WSJT-X";
     this.button3.UseVisualStyleBackColor = false;
     this.button3.Visible = false;
     //
     // helpbox
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.ClientSize        = new System.Drawing.Size(660, 413);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.helpbox_message);
     this.Controls.Add(this.chkAlwaysOnTop);
     this.Controls.Add(this.txttimer_message);
     this.Controls.Add(this.solar_message);
     this.Controls.Add(this.recplay_message);
     this.Controls.Add(this.PropagationTextBox);
     this.Controls.Add(this.TRACKMap);
     this.Controls.Add(this.SWRScanner);
     this.Controls.Add(this.AntennaDelay);
     this.Controls.Add(this.HTTPSERVER);
     this.ForeColor    = System.Drawing.Color.Black;
     this.Icon         = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox  = false;
     this.MaximumSize  = new System.Drawing.Size(1200, 1200);
     this.MinimizeBox  = false;
     this.MinimumSize  = new System.Drawing.Size(676, 452);
     this.Name         = "helpbox";
     this.Text         = "PowerSDR F1 Help";
     this.Closing     += new System.ComponentModel.CancelEventHandler(this.helpbox_Closing);
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.helpbox_FormClosing);
     this.ResumeLayout(false);
 }
예제 #10
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(helpbox));
     this.toolTip1           = new System.Windows.Forms.ToolTip(this.components);
     this.chkAlwaysOnTop     = new System.Windows.Forms.CheckBoxTS();
     this.txttimer_message   = new System.Windows.Forms.RichTextBox();
     this.helpbox_message    = new System.Windows.Forms.RichTextBox();
     this.solar_message      = new System.Windows.Forms.RichTextBox();
     this.recplay_message    = new System.Windows.Forms.RichTextBox();
     this.PropagationTextBox = new System.Windows.Forms.RichTextBox();
     this.TRACKMap           = new System.Windows.Forms.RichTextBox();
     this.SWRScanner         = new System.Windows.Forms.RichTextBox();
     this.SuspendLayout();
     //
     // chkAlwaysOnTop
     //
     this.chkAlwaysOnTop.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.chkAlwaysOnTop.Checked         = true;
     this.chkAlwaysOnTop.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.chkAlwaysOnTop.Image           = null;
     this.chkAlwaysOnTop.Location        = new System.Drawing.Point(545, 370);
     this.chkAlwaysOnTop.MaximumSize     = new System.Drawing.Size(103, 31);
     this.chkAlwaysOnTop.MinimumSize     = new System.Drawing.Size(103, 31);
     this.chkAlwaysOnTop.Name            = "chkAlwaysOnTop";
     this.chkAlwaysOnTop.Size            = new System.Drawing.Size(103, 31);
     this.chkAlwaysOnTop.TabIndex        = 100;
     this.chkAlwaysOnTop.Text            = "Always On Top";
     this.chkAlwaysOnTop.Visible         = false;
     this.chkAlwaysOnTop.CheckedChanged += new System.EventHandler(this.chkAlwaysOnTop_CheckedChanged);
     //
     // txttimer_message
     //
     this.txttimer_message.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txttimer_message.Location = new System.Drawing.Point(12, 12);
     this.txttimer_message.Name     = "txttimer_message";
     this.txttimer_message.Size     = new System.Drawing.Size(636, 389);
     this.txttimer_message.TabIndex = 101;
     this.txttimer_message.Text     = resources.GetString("txttimer_message.Text");
     //
     // helpbox_message
     //
     this.helpbox_message.Font         = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.helpbox_message.Location     = new System.Drawing.Point(12, 12);
     this.helpbox_message.Name         = "helpbox_message";
     this.helpbox_message.Size         = new System.Drawing.Size(636, 389);
     this.helpbox_message.TabIndex     = 102;
     this.helpbox_message.Text         = "helpbox";
     this.helpbox_message.TextChanged += new System.EventHandler(this.helpbox_message_TextChanged);
     //
     // solar_message
     //
     this.solar_message.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.solar_message.Location = new System.Drawing.Point(12, 12);
     this.solar_message.Name     = "solar_message";
     this.solar_message.Size     = new System.Drawing.Size(636, 389);
     this.solar_message.TabIndex = 103;
     this.solar_message.Text     = resources.GetString("solar_message.Text");
     //
     // recplay_message
     //
     this.recplay_message.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.recplay_message.Location = new System.Drawing.Point(12, 12);
     this.recplay_message.Name     = "recplay_message";
     this.recplay_message.Size     = new System.Drawing.Size(636, 389);
     this.recplay_message.TabIndex = 104;
     this.recplay_message.Text     = "recplay";
     //
     // PropagationTextBox
     //
     this.PropagationTextBox.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.PropagationTextBox.Location = new System.Drawing.Point(12, 12);
     this.PropagationTextBox.Name     = "PropagationTextBox";
     this.PropagationTextBox.Size     = new System.Drawing.Size(636, 389);
     this.PropagationTextBox.TabIndex = 105;
     this.PropagationTextBox.Text     = resources.GetString("PropagationTextBox.Text");
     //
     // TRACKMap
     //
     this.TRACKMap.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.TRACKMap.Location = new System.Drawing.Point(12, 12);
     this.TRACKMap.Name     = "TRACKMap";
     this.TRACKMap.Size     = new System.Drawing.Size(636, 389);
     this.TRACKMap.TabIndex = 106;
     this.TRACKMap.Text     = resources.GetString("TRACKMap.Text");
     //
     // SWRScanner
     //
     this.SWRScanner.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.SWRScanner.Location = new System.Drawing.Point(12, 12);
     this.SWRScanner.Name     = "SWRScanner";
     this.SWRScanner.Size     = new System.Drawing.Size(636, 389);
     this.SWRScanner.TabIndex = 107;
     this.SWRScanner.Text     = resources.GetString("SWRScanner.Text");
     //
     // helpbox
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.ClientSize        = new System.Drawing.Size(660, 413);
     this.Controls.Add(this.helpbox_message);
     this.Controls.Add(this.chkAlwaysOnTop);
     this.Controls.Add(this.txttimer_message);
     this.Controls.Add(this.solar_message);
     this.Controls.Add(this.recplay_message);
     this.Controls.Add(this.PropagationTextBox);
     this.Controls.Add(this.TRACKMap);
     this.Controls.Add(this.SWRScanner);
     this.ForeColor       = System.Drawing.Color.Black;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MaximumSize     = new System.Drawing.Size(676, 452);
     this.MinimizeBox     = false;
     this.MinimumSize     = new System.Drawing.Size(676, 452);
     this.Name            = "helpbox";
     this.Text            = "PowerSDR F1 Help";
     this.Closing        += new System.ComponentModel.CancelEventHandler(this.helpbox_Closing);
     this.FormClosing    += new System.Windows.Forms.FormClosingEventHandler(this.helpbox_FormClosing);
     this.ResumeLayout(false);
 }
예제 #11
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();
 }
예제 #12
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(helpbox1));
     this.toolTip1       = new System.Windows.Forms.ToolTip(this.components);
     this.zoomSlider     = new System.Windows.Forms.TrackBar();
     this.chkAlwaysOnTop = new System.Windows.Forms.CheckBoxTS();
     this.panel1         = new System.Windows.Forms.Panel();
     this.pictureBox1    = new System.Windows.Forms.PictureBox();
     ((System.ComponentModel.ISupportInitialize)(this.zoomSlider)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // zoomSlider
     //
     this.zoomSlider.Anchor      = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.zoomSlider.LargeChange = 1;
     this.zoomSlider.Location    = new System.Drawing.Point(2, 444);
     this.zoomSlider.Minimum     = 1;
     this.zoomSlider.Name        = "zoomSlider";
     this.zoomSlider.Size        = new System.Drawing.Size(136, 45);
     this.zoomSlider.TabIndex    = 112;
     this.toolTip1.SetToolTip(this.zoomSlider, "Zoom Level");
     this.zoomSlider.Value   = 1;
     this.zoomSlider.Scroll += new System.EventHandler(this.zoomSlider_Scroll);
     //
     // chkAlwaysOnTop
     //
     this.chkAlwaysOnTop.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.chkAlwaysOnTop.BackColor               = System.Drawing.Color.Transparent;
     this.chkAlwaysOnTop.ForeColor               = System.Drawing.Color.White;
     this.chkAlwaysOnTop.Image                   = null;
     this.chkAlwaysOnTop.Location                = new System.Drawing.Point(537, 439);
     this.chkAlwaysOnTop.MaximumSize             = new System.Drawing.Size(103, 31);
     this.chkAlwaysOnTop.MinimumSize             = new System.Drawing.Size(103, 31);
     this.chkAlwaysOnTop.Name                    = "chkAlwaysOnTop";
     this.chkAlwaysOnTop.Size                    = new System.Drawing.Size(103, 31);
     this.chkAlwaysOnTop.TabIndex                = 100;
     this.chkAlwaysOnTop.Text                    = "Always On Top";
     this.chkAlwaysOnTop.UseVisualStyleBackColor = false;
     this.chkAlwaysOnTop.CheckedChanged         += new System.EventHandler(this.chkAlwaysOnTop_CheckedChanged);
     //
     // panel1
     //
     this.panel1.AutoScroll = true;
     this.panel1.BackColor  = System.Drawing.Color.Transparent;
     this.panel1.Controls.Add(this.pictureBox1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(640, 470);
     this.panel1.TabIndex = 115;
     //
     // pictureBox1
     //
     this.pictureBox1.Location = new System.Drawing.Point(12, 12);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(616, 433);
     this.pictureBox1.TabIndex = 0;
     this.pictureBox1.TabStop  = false;
     this.pictureBox1.Click   += new System.EventHandler(this.pictureBox1_Click);
     //
     // helpbox1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(30)))), ((int)(((byte)(63)))));
     this.ClientSize        = new System.Drawing.Size(640, 470);
     this.Controls.Add(this.zoomSlider);
     this.Controls.Add(this.chkAlwaysOnTop);
     this.Controls.Add(this.panel1);
     this.ForeColor     = System.Drawing.Color.Black;
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(656, 509);
     this.Name          = "helpbox1";
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
     this.Text          = "PowerSDR World Map (Use slider to ZOOM), (Pull Corner to make larger)";
     this.toolTip1.SetToolTip(this, "World Map");
     this.Closing     += new System.ComponentModel.CancelEventHandler(this.helpbox1_Closing);
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.helpbox1_FormClosing);
     ((System.ComponentModel.ISupportInitialize)(this.zoomSlider)).EndInit();
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #13
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(IDBOX));
     this.btnTrack       = new System.Windows.Forms.Button();
     this.toolTip1       = new System.Windows.Forms.ToolTip(this.components);
     this.chkBoxTimed    = new System.Windows.Forms.CheckBoxTS();
     this.chkAlwaysOnTop = new System.Windows.Forms.CheckBoxTS();
     this.SuspendLayout();
     //
     // btnTrack
     //
     this.btnTrack.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnTrack.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     this.btnTrack.Font      = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnTrack.ForeColor = System.Drawing.Color.Black;
     this.btnTrack.Location  = new System.Drawing.Point(69, 67);
     this.btnTrack.Name      = "btnTrack";
     this.btnTrack.Size      = new System.Drawing.Size(229, 45);
     this.btnTrack.TabIndex  = 99;
     this.btnTrack.Text      = ">>> Time To ID <<<";
     this.btnTrack.UseVisualStyleBackColor = false;
     this.btnTrack.Click += new System.EventHandler(this.btnTrack_Click);
     //
     // chkBoxTimed
     //
     this.chkBoxTimed.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.chkBoxTimed.Image    = null;
     this.chkBoxTimed.Location = new System.Drawing.Point(12, 145);
     this.chkBoxTimed.Name     = "chkBoxTimed";
     this.chkBoxTimed.Size     = new System.Drawing.Size(112, 31);
     this.chkBoxTimed.TabIndex = 101;
     this.chkBoxTimed.Text     = "5 sec timeout";
     this.toolTip1.SetToolTip(this.chkBoxTimed, "check to have this box disappear after 5 seconds");
     this.chkBoxTimed.CheckedChanged += new System.EventHandler(this.chkBoxTimed_CheckedChanged);
     //
     // chkAlwaysOnTop
     //
     this.chkAlwaysOnTop.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.chkAlwaysOnTop.Checked         = true;
     this.chkAlwaysOnTop.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.chkAlwaysOnTop.Image           = null;
     this.chkAlwaysOnTop.Location        = new System.Drawing.Point(252, 145);
     this.chkAlwaysOnTop.Name            = "chkAlwaysOnTop";
     this.chkAlwaysOnTop.Size            = new System.Drawing.Size(103, 31);
     this.chkAlwaysOnTop.TabIndex        = 100;
     this.chkAlwaysOnTop.Text            = "Always On Top";
     this.chkAlwaysOnTop.Visible         = false;
     this.chkAlwaysOnTop.CheckedChanged += new System.EventHandler(this.chkAlwaysOnTop_CheckedChanged);
     //
     // IDBOX
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.Yellow;
     this.ClientSize        = new System.Drawing.Size(367, 188);
     this.Controls.Add(this.chkBoxTimed);
     this.Controls.Add(this.btnTrack);
     this.Controls.Add(this.chkAlwaysOnTop);
     this.ForeColor       = System.Drawing.Color.Black;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MaximumSize     = new System.Drawing.Size(383, 227);
     this.MinimizeBox     = false;
     this.MinimumSize     = new System.Drawing.Size(383, 227);
     this.Name            = "IDBOX";
     this.Text            = "Time to ID Your Station";
     this.Closing        += new System.ComponentModel.CancelEventHandler(this.IDBOX_Closing);
     this.VisibleChanged += new System.EventHandler(this.IDBOX_VisibleChanged);
     this.ResumeLayout(false);
 }
예제 #14
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);
                            }
                        }
                    }
                }
            }
        }
예제 #15
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);
 }
예제 #16
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(SwlControl));
     this.textBox3       = new System.Windows.Forms.TextBox();
     this.button1        = new System.Windows.Forms.Button();
     this.richTextBox1   = new System.Windows.Forms.RichTextBox();
     this.button2        = new System.Windows.Forms.Button();
     this.richTextBox2   = new System.Windows.Forms.RichTextBox();
     this.chkAlwaysOnTop = new System.Windows.Forms.CheckBoxTS();
     this.SuspendLayout();
     //
     // textBox3
     //
     this.textBox3.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox3.Location  = new System.Drawing.Point(12, 12);
     this.textBox3.Multiline = true;
     this.textBox3.Name      = "textBox3";
     this.textBox3.Size      = new System.Drawing.Size(394, 97);
     this.textBox3.TabIndex  = 9;
     this.textBox3.TabStop   = false;
     this.textBox3.Text      = resources.GetString("textBox3.Text");
     //
     // button1
     //
     this.button1.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.button1.BackColor = System.Drawing.SystemColors.ButtonFace;
     this.button1.Location  = new System.Drawing.Point(12, 509);
     this.button1.Name      = "button1";
     this.button1.Size      = new System.Drawing.Size(75, 23);
     this.button1.TabIndex  = 61;
     this.button1.Text      = "Update List";
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // richTextBox1
     //
     this.richTextBox1.Location   = new System.Drawing.Point(97, 123);
     this.richTextBox1.MaxLength  = 20;
     this.richTextBox1.Multiline  = false;
     this.richTextBox1.Name       = "richTextBox1";
     this.richTextBox1.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None;
     this.richTextBox1.Size       = new System.Drawing.Size(175, 25);
     this.richTextBox1.TabIndex   = 62;
     this.richTextBox1.Text       = "";
     this.richTextBox1.KeyPress  += new System.Windows.Forms.KeyPressEventHandler(this.richTextBox1_KeyPress);
     //
     // button2
     //
     this.button2.BackColor = System.Drawing.SystemColors.ButtonFace;
     this.button2.Location  = new System.Drawing.Point(287, 125);
     this.button2.Name      = "button2";
     this.button2.Size      = new System.Drawing.Size(75, 23);
     this.button2.TabIndex  = 63;
     this.button2.Text      = "Search";
     this.button2.UseVisualStyleBackColor = false;
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // richTextBox2
     //
     this.richTextBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                      | System.Windows.Forms.AnchorStyles.Left)));
     this.richTextBox2.Cursor     = System.Windows.Forms.Cursors.Default;
     this.richTextBox2.Font       = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.richTextBox2.Location   = new System.Drawing.Point(12, 163);
     this.richTextBox2.Name       = "richTextBox2";
     this.richTextBox2.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical;
     this.richTextBox2.Size       = new System.Drawing.Size(394, 331);
     this.richTextBox2.TabIndex   = 64;
     this.richTextBox2.Text       = "";
     this.richTextBox2.MouseDown += new System.Windows.Forms.MouseEventHandler(this.richTextBox2_MouseDown);
     this.richTextBox2.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.richTextBox2_MouseUp);
     //
     // chkAlwaysOnTop
     //
     this.chkAlwaysOnTop.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.chkAlwaysOnTop.Image           = null;
     this.chkAlwaysOnTop.Location        = new System.Drawing.Point(302, 509);
     this.chkAlwaysOnTop.Name            = "chkAlwaysOnTop";
     this.chkAlwaysOnTop.Size            = new System.Drawing.Size(104, 24);
     this.chkAlwaysOnTop.TabIndex        = 59;
     this.chkAlwaysOnTop.Text            = "Always On Top";
     this.chkAlwaysOnTop.CheckedChanged += new System.EventHandler(this.chkAlwaysOnTop_CheckedChanged);
     //
     // SwlControl
     //
     this.BackColor  = System.Drawing.SystemColors.ControlDarkDark;
     this.ClientSize = new System.Drawing.Size(418, 542);
     this.Controls.Add(this.richTextBox2);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.richTextBox1);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.chkAlwaysOnTop);
     this.Controls.Add(this.textBox3);
     this.Icon         = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize  = new System.Drawing.Size(434, 200);
     this.Name         = "SwlControl";
     this.Text         = "SWL";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.SwlControl_FormClosing);
     this.Load        += new System.EventHandler(this.SwlControl_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #17
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());
            }
        }
예제 #18
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(FWCMixForm));
     this.tbMic             = new System.Windows.Forms.TrackBarTS();
     this.chkMicSel         = new System.Windows.Forms.CheckBoxTS();
     this.grpInput          = new System.Windows.Forms.GroupBoxTS();
     this.chkInputMuteAll   = new System.Windows.Forms.CheckBoxTS();
     this.lblLineInDB9      = new System.Windows.Forms.LabelTS();
     this.chkLineInDB9Sel   = new System.Windows.Forms.CheckBoxTS();
     this.tbLineInDB9       = new System.Windows.Forms.TrackBarTS();
     this.lblLineInPhono    = new System.Windows.Forms.LabelTS();
     this.chkLineInPhonoSel = new System.Windows.Forms.CheckBoxTS();
     this.tbLineInPhono     = new System.Windows.Forms.TrackBarTS();
     this.lblLineInRCA      = new System.Windows.Forms.LabelTS();
     this.chkLineInRCASel   = new System.Windows.Forms.CheckBoxTS();
     this.tbLineInRCA       = new System.Windows.Forms.TrackBarTS();
     this.lblMic            = new System.Windows.Forms.LabelTS();
     this.grpOutput         = new System.Windows.Forms.GroupBoxTS();
     this.lblLineOutRCA     = new System.Windows.Forms.LabelTS();
     this.chkLineOutRCASel  = new System.Windows.Forms.CheckBoxTS();
     this.tbLineOutRCA      = new System.Windows.Forms.TrackBarTS();
     this.lblHeadphone      = new System.Windows.Forms.LabelTS();
     this.chkHeadphoneSel   = new System.Windows.Forms.CheckBoxTS();
     this.tbHeadphone       = new System.Windows.Forms.TrackBarTS();
     this.lblExtSpkr        = new System.Windows.Forms.LabelTS();
     this.chkExtSpkrSel     = new System.Windows.Forms.CheckBoxTS();
     this.tbExtSpkr         = new System.Windows.Forms.TrackBarTS();
     this.chkOutputMuteAll  = new System.Windows.Forms.CheckBoxTS();
     this.lblIntSpkr        = new System.Windows.Forms.LabelTS();
     this.chkIntSpkrSel     = new System.Windows.Forms.CheckBoxTS();
     this.tbIntSpkr         = new System.Windows.Forms.TrackBarTS();
     this.toolTip1          = new System.Windows.Forms.ToolTip(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.tbMic)).BeginInit();
     this.grpInput.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tbLineInDB9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbLineInPhono)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbLineInRCA)).BeginInit();
     this.grpOutput.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tbLineOutRCA)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbHeadphone)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbExtSpkr)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbIntSpkr)).BeginInit();
     this.SuspendLayout();
     //
     // tbMic
     //
     this.tbMic.Location      = new System.Drawing.Point(16, 48);
     this.tbMic.Maximum       = 0;
     this.tbMic.Minimum       = -128;
     this.tbMic.Name          = "tbMic";
     this.tbMic.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.tbMic.Size          = new System.Drawing.Size(45, 104);
     this.tbMic.TabIndex      = 0;
     this.tbMic.TickFrequency = 16;
     this.tbMic.TickStyle     = System.Windows.Forms.TickStyle.Both;
     this.toolTip1.SetToolTip(this.tbMic, "Adjusts the Mic Input Volume");
     this.tbMic.Scroll += new System.EventHandler(this.tbMic_Scroll);
     //
     // chkMicSel
     //
     this.chkMicSel.Checked    = true;
     this.chkMicSel.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkMicSel.Image      = null;
     this.chkMicSel.Location   = new System.Drawing.Point(30, 144);
     this.chkMicSel.Name       = "chkMicSel";
     this.chkMicSel.Size       = new System.Drawing.Size(16, 24);
     this.chkMicSel.TabIndex   = 1;
     this.toolTip1.SetToolTip(this.chkMicSel, "Selects/Unselects the Mic Input");
     this.chkMicSel.CheckedChanged += new System.EventHandler(this.chkMicSel_CheckedChanged);
     //
     // grpInput
     //
     this.grpInput.Controls.Add(this.chkInputMuteAll);
     this.grpInput.Controls.Add(this.lblLineInDB9);
     this.grpInput.Controls.Add(this.chkLineInDB9Sel);
     this.grpInput.Controls.Add(this.tbLineInDB9);
     this.grpInput.Controls.Add(this.lblLineInPhono);
     this.grpInput.Controls.Add(this.chkLineInPhonoSel);
     this.grpInput.Controls.Add(this.tbLineInPhono);
     this.grpInput.Controls.Add(this.lblLineInRCA);
     this.grpInput.Controls.Add(this.chkLineInRCASel);
     this.grpInput.Controls.Add(this.tbLineInRCA);
     this.grpInput.Controls.Add(this.lblMic);
     this.grpInput.Controls.Add(this.chkMicSel);
     this.grpInput.Controls.Add(this.tbMic);
     this.grpInput.Location = new System.Drawing.Point(8, 8);
     this.grpInput.Name     = "grpInput";
     this.grpInput.Size     = new System.Drawing.Size(216, 216);
     this.grpInput.TabIndex = 2;
     this.grpInput.TabStop  = false;
     this.grpInput.Text     = "Input";
     //
     // chkInputMuteAll
     //
     this.chkInputMuteAll.Appearance = System.Windows.Forms.Appearance.Button;
     this.chkInputMuteAll.Image      = null;
     this.chkInputMuteAll.Location   = new System.Drawing.Point(16, 176);
     this.chkInputMuteAll.Name       = "chkInputMuteAll";
     this.chkInputMuteAll.Size       = new System.Drawing.Size(184, 24);
     this.chkInputMuteAll.TabIndex   = 12;
     this.chkInputMuteAll.Text       = "Mute All Inputs";
     this.chkInputMuteAll.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     this.toolTip1.SetToolTip(this.chkInputMuteAll, "Mute All Input Lines");
     this.chkInputMuteAll.CheckedChanged += new System.EventHandler(this.chkInputMuteAll_CheckedChanged);
     //
     // lblLineInDB9
     //
     this.lblLineInDB9.Image     = null;
     this.lblLineInDB9.Location  = new System.Drawing.Point(157, 24);
     this.lblLineInDB9.Name      = "lblLineInDB9";
     this.lblLineInDB9.Size      = new System.Drawing.Size(49, 24);
     this.lblLineInDB9.TabIndex  = 11;
     this.lblLineInDB9.Text      = "FlexWire In";
     this.lblLineInDB9.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     this.toolTip1.SetToolTip(this.lblLineInDB9, "FlexWire Audio Input (DB9 on back panel)");
     //
     // chkLineInDB9Sel
     //
     this.chkLineInDB9Sel.Image    = null;
     this.chkLineInDB9Sel.Location = new System.Drawing.Point(174, 144);
     this.chkLineInDB9Sel.Name     = "chkLineInDB9Sel";
     this.chkLineInDB9Sel.Size     = new System.Drawing.Size(16, 24);
     this.chkLineInDB9Sel.TabIndex = 10;
     this.toolTip1.SetToolTip(this.chkLineInDB9Sel, "Selects/Unselects the Line In DB9 Input");
     this.chkLineInDB9Sel.CheckedChanged += new System.EventHandler(this.chkLineInDB9Sel_CheckedChanged);
     //
     // tbLineInDB9
     //
     this.tbLineInDB9.Location      = new System.Drawing.Point(160, 48);
     this.tbLineInDB9.Maximum       = 0;
     this.tbLineInDB9.Minimum       = -128;
     this.tbLineInDB9.Name          = "tbLineInDB9";
     this.tbLineInDB9.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.tbLineInDB9.Size          = new System.Drawing.Size(45, 104);
     this.tbLineInDB9.TabIndex      = 9;
     this.tbLineInDB9.TickFrequency = 16;
     this.tbLineInDB9.TickStyle     = System.Windows.Forms.TickStyle.Both;
     this.toolTip1.SetToolTip(this.tbLineInDB9, "Adjusts the Line In DB9 Input Volume");
     this.tbLineInDB9.Scroll += new System.EventHandler(this.tbLineInDB9_Scroll);
     //
     // lblLineInPhono
     //
     this.lblLineInPhono.Image     = null;
     this.lblLineInPhono.Location  = new System.Drawing.Point(112, 24);
     this.lblLineInPhono.Name      = "lblLineInPhono";
     this.lblLineInPhono.Size      = new System.Drawing.Size(45, 24);
     this.lblLineInPhono.TabIndex  = 8;
     this.lblLineInPhono.Text      = "Bal Line In";
     this.lblLineInPhono.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     this.toolTip1.SetToolTip(this.lblLineInPhono, "Balanced Line Input (Phono Plug on back panel)");
     //
     // chkLineInPhonoSel
     //
     this.chkLineInPhonoSel.Image    = null;
     this.chkLineInPhonoSel.Location = new System.Drawing.Point(126, 144);
     this.chkLineInPhonoSel.Name     = "chkLineInPhonoSel";
     this.chkLineInPhonoSel.Size     = new System.Drawing.Size(16, 24);
     this.chkLineInPhonoSel.TabIndex = 7;
     this.toolTip1.SetToolTip(this.chkLineInPhonoSel, "Selects/Unselects the Line In Phono Input");
     this.chkLineInPhonoSel.CheckedChanged += new System.EventHandler(this.chkLineInPhonoSel_CheckedChanged);
     //
     // tbLineInPhono
     //
     this.tbLineInPhono.Location      = new System.Drawing.Point(112, 48);
     this.tbLineInPhono.Maximum       = 0;
     this.tbLineInPhono.Minimum       = -128;
     this.tbLineInPhono.Name          = "tbLineInPhono";
     this.tbLineInPhono.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.tbLineInPhono.Size          = new System.Drawing.Size(45, 104);
     this.tbLineInPhono.TabIndex      = 6;
     this.tbLineInPhono.TickFrequency = 16;
     this.tbLineInPhono.TickStyle     = System.Windows.Forms.TickStyle.Both;
     this.toolTip1.SetToolTip(this.tbLineInPhono, "Adjusts the Line In Phono Input Volume");
     this.tbLineInPhono.Scroll += new System.EventHandler(this.tbLineInPhono_Scroll);
     //
     // lblLineInRCA
     //
     this.lblLineInRCA.Image     = null;
     this.lblLineInRCA.Location  = new System.Drawing.Point(64, 24);
     this.lblLineInRCA.Name      = "lblLineInRCA";
     this.lblLineInRCA.Size      = new System.Drawing.Size(45, 24);
     this.lblLineInRCA.TabIndex  = 5;
     this.lblLineInRCA.Text      = "Line In RCA";
     this.lblLineInRCA.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     this.toolTip1.SetToolTip(this.lblLineInRCA, "Line Input (White RCA on back panel)");
     //
     // chkLineInRCASel
     //
     this.chkLineInRCASel.Image    = null;
     this.chkLineInRCASel.Location = new System.Drawing.Point(78, 144);
     this.chkLineInRCASel.Name     = "chkLineInRCASel";
     this.chkLineInRCASel.Size     = new System.Drawing.Size(16, 24);
     this.chkLineInRCASel.TabIndex = 4;
     this.toolTip1.SetToolTip(this.chkLineInRCASel, "Selects/Unselects the Line In RCA Input");
     this.chkLineInRCASel.CheckedChanged += new System.EventHandler(this.chkLineInRCASel_CheckedChanged);
     //
     // tbLineInRCA
     //
     this.tbLineInRCA.Location      = new System.Drawing.Point(64, 48);
     this.tbLineInRCA.Maximum       = 0;
     this.tbLineInRCA.Minimum       = -128;
     this.tbLineInRCA.Name          = "tbLineInRCA";
     this.tbLineInRCA.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.tbLineInRCA.Size          = new System.Drawing.Size(45, 104);
     this.tbLineInRCA.TabIndex      = 3;
     this.tbLineInRCA.TickFrequency = 16;
     this.tbLineInRCA.TickStyle     = System.Windows.Forms.TickStyle.Both;
     this.toolTip1.SetToolTip(this.tbLineInRCA, "Adjusts the Line In RCA Input Volume");
     this.tbLineInRCA.Scroll += new System.EventHandler(this.tbLineInRCA_Scroll);
     //
     // lblMic
     //
     this.lblMic.Image     = null;
     this.lblMic.Location  = new System.Drawing.Point(16, 24);
     this.lblMic.Name      = "lblMic";
     this.lblMic.Size      = new System.Drawing.Size(45, 24);
     this.lblMic.TabIndex  = 2;
     this.lblMic.Text      = "Mic";
     this.lblMic.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     this.toolTip1.SetToolTip(this.lblMic, "8 Pin front panel connector");
     //
     // grpOutput
     //
     this.grpOutput.Controls.Add(this.lblLineOutRCA);
     this.grpOutput.Controls.Add(this.chkLineOutRCASel);
     this.grpOutput.Controls.Add(this.tbLineOutRCA);
     this.grpOutput.Controls.Add(this.lblHeadphone);
     this.grpOutput.Controls.Add(this.chkHeadphoneSel);
     this.grpOutput.Controls.Add(this.tbHeadphone);
     this.grpOutput.Controls.Add(this.lblExtSpkr);
     this.grpOutput.Controls.Add(this.chkExtSpkrSel);
     this.grpOutput.Controls.Add(this.tbExtSpkr);
     this.grpOutput.Controls.Add(this.chkOutputMuteAll);
     this.grpOutput.Controls.Add(this.lblIntSpkr);
     this.grpOutput.Controls.Add(this.chkIntSpkrSel);
     this.grpOutput.Controls.Add(this.tbIntSpkr);
     this.grpOutput.Location = new System.Drawing.Point(232, 8);
     this.grpOutput.Name     = "grpOutput";
     this.grpOutput.Size     = new System.Drawing.Size(216, 216);
     this.grpOutput.TabIndex = 3;
     this.grpOutput.TabStop  = false;
     this.grpOutput.Text     = "Output";
     //
     // lblLineOutRCA
     //
     this.lblLineOutRCA.Image     = null;
     this.lblLineOutRCA.Location  = new System.Drawing.Point(158, 24);
     this.lblLineOutRCA.Name      = "lblLineOutRCA";
     this.lblLineOutRCA.Size      = new System.Drawing.Size(48, 32);
     this.lblLineOutRCA.TabIndex  = 22;
     this.lblLineOutRCA.Text      = "Line Out RCA";
     this.lblLineOutRCA.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // chkLineOutRCASel
     //
     this.chkLineOutRCASel.Checked    = true;
     this.chkLineOutRCASel.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkLineOutRCASel.Image      = null;
     this.chkLineOutRCASel.Location   = new System.Drawing.Point(174, 144);
     this.chkLineOutRCASel.Name       = "chkLineOutRCASel";
     this.chkLineOutRCASel.Size       = new System.Drawing.Size(16, 24);
     this.chkLineOutRCASel.TabIndex   = 21;
     this.toolTip1.SetToolTip(this.chkLineOutRCASel, "Selects/Unselects the Line Out RCA Output");
     this.chkLineOutRCASel.CheckedChanged += new System.EventHandler(this.chkLineOutRCASel_CheckedChanged);
     //
     // tbLineOutRCA
     //
     this.tbLineOutRCA.Location      = new System.Drawing.Point(160, 48);
     this.tbLineOutRCA.Maximum       = 255;
     this.tbLineOutRCA.Minimum       = 128;
     this.tbLineOutRCA.Name          = "tbLineOutRCA";
     this.tbLineOutRCA.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.tbLineOutRCA.Size          = new System.Drawing.Size(45, 104);
     this.tbLineOutRCA.TabIndex      = 20;
     this.tbLineOutRCA.TickFrequency = 16;
     this.tbLineOutRCA.TickStyle     = System.Windows.Forms.TickStyle.Both;
     this.toolTip1.SetToolTip(this.tbLineOutRCA, "Adjusts the Line Out RCA Volume");
     this.tbLineOutRCA.Value   = 248;
     this.tbLineOutRCA.Scroll += new System.EventHandler(this.tbLineOutRCA_Scroll);
     //
     // lblHeadphone
     //
     this.lblHeadphone.Image     = null;
     this.lblHeadphone.Location  = new System.Drawing.Point(110, 24);
     this.lblHeadphone.Name      = "lblHeadphone";
     this.lblHeadphone.Size      = new System.Drawing.Size(48, 32);
     this.lblHeadphone.TabIndex  = 19;
     this.lblHeadphone.Text      = "Head Phones";
     this.lblHeadphone.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // chkHeadphoneSel
     //
     this.chkHeadphoneSel.Checked    = true;
     this.chkHeadphoneSel.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkHeadphoneSel.Image      = null;
     this.chkHeadphoneSel.Location   = new System.Drawing.Point(126, 144);
     this.chkHeadphoneSel.Name       = "chkHeadphoneSel";
     this.chkHeadphoneSel.Size       = new System.Drawing.Size(16, 24);
     this.chkHeadphoneSel.TabIndex   = 18;
     this.toolTip1.SetToolTip(this.chkHeadphoneSel, "Selects/Unselects the Headphone Output");
     this.chkHeadphoneSel.CheckedChanged += new System.EventHandler(this.chkHeadphoneSel_CheckedChanged);
     //
     // tbHeadphone
     //
     this.tbHeadphone.Location      = new System.Drawing.Point(112, 48);
     this.tbHeadphone.Maximum       = 255;
     this.tbHeadphone.Minimum       = 128;
     this.tbHeadphone.Name          = "tbHeadphone";
     this.tbHeadphone.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.tbHeadphone.Size          = new System.Drawing.Size(45, 104);
     this.tbHeadphone.TabIndex      = 17;
     this.tbHeadphone.TickFrequency = 16;
     this.tbHeadphone.TickStyle     = System.Windows.Forms.TickStyle.Both;
     this.toolTip1.SetToolTip(this.tbHeadphone, "Adjusts the Headphone Volume");
     this.tbHeadphone.Value   = 248;
     this.tbHeadphone.Scroll += new System.EventHandler(this.tbHeadphone_Scroll);
     //
     // lblExtSpkr
     //
     this.lblExtSpkr.Image     = null;
     this.lblExtSpkr.Location  = new System.Drawing.Point(58, 24);
     this.lblExtSpkr.Name      = "lblExtSpkr";
     this.lblExtSpkr.Size      = new System.Drawing.Size(56, 32);
     this.lblExtSpkr.TabIndex  = 16;
     this.lblExtSpkr.Text      = "Pow Spkr Line Out";
     this.lblExtSpkr.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // chkExtSpkrSel
     //
     this.chkExtSpkrSel.Checked    = true;
     this.chkExtSpkrSel.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkExtSpkrSel.Image      = null;
     this.chkExtSpkrSel.Location   = new System.Drawing.Point(78, 144);
     this.chkExtSpkrSel.Name       = "chkExtSpkrSel";
     this.chkExtSpkrSel.Size       = new System.Drawing.Size(16, 24);
     this.chkExtSpkrSel.TabIndex   = 15;
     this.toolTip1.SetToolTip(this.chkExtSpkrSel, "Selects/Unselects the External Speaker Output");
     this.chkExtSpkrSel.CheckedChanged += new System.EventHandler(this.chkExtSpkrSel_CheckedChanged);
     //
     // tbExtSpkr
     //
     this.tbExtSpkr.Location      = new System.Drawing.Point(64, 48);
     this.tbExtSpkr.Maximum       = 255;
     this.tbExtSpkr.Minimum       = 128;
     this.tbExtSpkr.Name          = "tbExtSpkr";
     this.tbExtSpkr.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.tbExtSpkr.Size          = new System.Drawing.Size(45, 104);
     this.tbExtSpkr.TabIndex      = 14;
     this.tbExtSpkr.TickFrequency = 16;
     this.tbExtSpkr.TickStyle     = System.Windows.Forms.TickStyle.Both;
     this.toolTip1.SetToolTip(this.tbExtSpkr, "Adjusts the External Speaker Volume");
     this.tbExtSpkr.Value   = 248;
     this.tbExtSpkr.Scroll += new System.EventHandler(this.tbExtSpkr_Scroll);
     //
     // chkOutputMuteAll
     //
     this.chkOutputMuteAll.Appearance = System.Windows.Forms.Appearance.Button;
     this.chkOutputMuteAll.Image      = null;
     this.chkOutputMuteAll.Location   = new System.Drawing.Point(16, 176);
     this.chkOutputMuteAll.Name       = "chkOutputMuteAll";
     this.chkOutputMuteAll.Size       = new System.Drawing.Size(184, 24);
     this.chkOutputMuteAll.TabIndex   = 13;
     this.chkOutputMuteAll.Text       = "Mute All Outputs";
     this.chkOutputMuteAll.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     this.toolTip1.SetToolTip(this.chkOutputMuteAll, "Mute All Output Lines");
     this.chkOutputMuteAll.CheckedChanged += new System.EventHandler(this.chkOutputMuteAll_CheckedChanged);
     //
     // lblIntSpkr
     //
     this.lblIntSpkr.Image     = null;
     this.lblIntSpkr.Location  = new System.Drawing.Point(14, 24);
     this.lblIntSpkr.Name      = "lblIntSpkr";
     this.lblIntSpkr.Size      = new System.Drawing.Size(48, 32);
     this.lblIntSpkr.TabIndex  = 2;
     this.lblIntSpkr.Text      = "Internal Speaker";
     this.lblIntSpkr.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // chkIntSpkrSel
     //
     this.chkIntSpkrSel.Checked    = true;
     this.chkIntSpkrSel.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkIntSpkrSel.Image      = null;
     this.chkIntSpkrSel.Location   = new System.Drawing.Point(31, 144);
     this.chkIntSpkrSel.Name       = "chkIntSpkrSel";
     this.chkIntSpkrSel.Size       = new System.Drawing.Size(16, 24);
     this.chkIntSpkrSel.TabIndex   = 1;
     this.toolTip1.SetToolTip(this.chkIntSpkrSel, "Selects/Unselects the Internal Speaker Output");
     this.chkIntSpkrSel.CheckedChanged += new System.EventHandler(this.chkIntSpkrSel_CheckedChanged);
     //
     // tbIntSpkr
     //
     this.tbIntSpkr.Location      = new System.Drawing.Point(16, 48);
     this.tbIntSpkr.Maximum       = 255;
     this.tbIntSpkr.Minimum       = 128;
     this.tbIntSpkr.Name          = "tbIntSpkr";
     this.tbIntSpkr.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.tbIntSpkr.Size          = new System.Drawing.Size(45, 104);
     this.tbIntSpkr.TabIndex      = 0;
     this.tbIntSpkr.TickFrequency = 16;
     this.tbIntSpkr.TickStyle     = System.Windows.Forms.TickStyle.Both;
     this.toolTip1.SetToolTip(this.tbIntSpkr, "Adjusts the Internal Speaker  Volume");
     this.tbIntSpkr.Value   = 230;
     this.tbIntSpkr.Scroll += new System.EventHandler(this.tbIntSpkr_Scroll);
     //
     // FWCMixForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(456, 230);
     this.Controls.Add(this.grpOutput);
     this.Controls.Add(this.grpInput);
     this.Icon     = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name     = "FWCMixForm";
     this.Text     = "FLEX-5000 Audio Mixer";
     this.Closing += new System.ComponentModel.CancelEventHandler(this.FWCMixForm_Closing);
     ((System.ComponentModel.ISupportInitialize)(this.tbMic)).EndInit();
     this.grpInput.ResumeLayout(false);
     this.grpInput.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tbLineInDB9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbLineInPhono)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbLineInRCA)).EndInit();
     this.grpOutput.ResumeLayout(false);
     this.grpOutput.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tbLineOutRCA)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbHeadphone)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbExtSpkr)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbIntSpkr)).EndInit();
     this.ResumeLayout(false);
 }
예제 #19
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.btnClose    = new System.Windows.Forms.ButtonTS();
     this.lblMasterAF = new System.Windows.Forms.LabelTS();
     this.lblDrive    = new System.Windows.Forms.LabelTS();
     this.grpSubRX    = new System.Windows.Forms.GroupBoxTS();
     this.chkSubRX    = new System.Windows.Forms.CheckBoxTS();
     this.labelTS5    = new System.Windows.Forms.LabelTS();
     this.labelTS4    = new System.Windows.Forms.LabelTS();
     this.tbSubRXPan  = new System.Windows.Forms.TrackBarTS();
     this.tbSubRXAF   = new System.Windows.Forms.TrackBarTS();
     this.tbDrive     = new System.Windows.Forms.TrackBarTS();
     this.grpRX2      = new System.Windows.Forms.GroupBoxTS();
     this.lblPan      = new System.Windows.Forms.LabelTS();
     this.labelTS11   = new System.Windows.Forms.LabelTS();
     this.tbRX2Atten  = new System.Windows.Forms.TrackBarTS();
     this.chkRX2Mute  = new System.Windows.Forms.CheckBoxTS();
     this.labelTS3    = new System.Windows.Forms.LabelTS();
     this.labelTS2    = new System.Windows.Forms.LabelTS();
     this.labelTS1    = new System.Windows.Forms.LabelTS();
     this.chkRX2Sql   = new System.Windows.Forms.CheckBoxTS();
     this.tbRX2Pan    = new System.Windows.Forms.TrackBarTS();
     this.tbRX2Sql    = new System.Windows.Forms.TrackBarTS();
     this.tbRX2RF     = new System.Windows.Forms.TrackBarTS();
     this.tbRX2AF     = new System.Windows.Forms.TrackBarTS();
     this.tbMasterAF  = new System.Windows.Forms.TrackBarTS();
     this.grpRX1      = new System.Windows.Forms.GroupBoxTS();
     this.labelTS10   = new System.Windows.Forms.LabelTS();
     this.tbRX1Atten  = new System.Windows.Forms.TrackBarTS();
     this.labelTS7    = new System.Windows.Forms.LabelTS();
     this.chkRX1Mute  = new System.Windows.Forms.CheckBoxTS();
     this.labelTS8    = new System.Windows.Forms.LabelTS();
     this.labelTS9    = new System.Windows.Forms.LabelTS();
     this.labelTS6    = new System.Windows.Forms.LabelTS();
     this.chkRX1Sql   = new System.Windows.Forms.CheckBoxTS();
     this.tbRX1Pan    = new System.Windows.Forms.TrackBarTS();
     this.tbRX1Sql    = new System.Windows.Forms.TrackBarTS();
     this.tbRX1RF     = new System.Windows.Forms.TrackBarTS();
     this.tbRX1AF     = new System.Windows.Forms.TrackBarTS();
     this.grpSubRX.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tbSubRXPan)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbSubRXAF)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbDrive)).BeginInit();
     this.grpRX2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tbRX2Atten)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbRX2Pan)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbRX2Sql)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbRX2RF)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbRX2AF)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbMasterAF)).BeginInit();
     this.grpRX1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tbRX1Atten)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbRX1Pan)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbRX1Sql)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbRX1RF)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbRX1AF)).BeginInit();
     this.SuspendLayout();
     //
     // btnClose
     //
     this.btnClose.Image    = null;
     this.btnClose.Location = new System.Drawing.Point(522, 267);
     this.btnClose.Name     = "btnClose";
     this.btnClose.Size     = new System.Drawing.Size(96, 40);
     this.btnClose.TabIndex = 11;
     this.btnClose.Text     = "Close";
     this.btnClose.UseVisualStyleBackColor = true;
     this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
     //
     // lblMasterAF
     //
     this.lblMasterAF.AutoSize  = true;
     this.lblMasterAF.ForeColor = System.Drawing.SystemColors.ControlLight;
     this.lblMasterAF.Image     = null;
     this.lblMasterAF.Location  = new System.Drawing.Point(112, 299);
     this.lblMasterAF.Name      = "lblMasterAF";
     this.lblMasterAF.Size      = new System.Drawing.Size(80, 13);
     this.lblMasterAF.TabIndex  = 10;
     this.lblMasterAF.Text      = "Master AF Gain";
     //
     // lblDrive
     //
     this.lblDrive.AutoSize  = true;
     this.lblDrive.ForeColor = System.Drawing.SystemColors.ControlLight;
     this.lblDrive.Image     = null;
     this.lblDrive.Location  = new System.Drawing.Point(368, 299);
     this.lblDrive.Name      = "lblDrive";
     this.lblDrive.Size      = new System.Drawing.Size(49, 13);
     this.lblDrive.TabIndex  = 9;
     this.lblDrive.Text      = "TX Drive";
     //
     // grpSubRX
     //
     this.grpSubRX.Controls.Add(this.chkSubRX);
     this.grpSubRX.Controls.Add(this.labelTS5);
     this.grpSubRX.Controls.Add(this.labelTS4);
     this.grpSubRX.Controls.Add(this.tbSubRXPan);
     this.grpSubRX.Controls.Add(this.tbSubRXAF);
     this.grpSubRX.ForeColor = System.Drawing.SystemColors.ControlLight;
     this.grpSubRX.Location  = new System.Drawing.Point(478, 9);
     this.grpSubRX.Name      = "grpSubRX";
     this.grpSubRX.Size      = new System.Drawing.Size(155, 249);
     this.grpSubRX.TabIndex  = 8;
     this.grpSubRX.TabStop   = false;
     this.grpSubRX.Text      = "Sub RX";
     //
     // chkSubRX
     //
     this.chkSubRX.Appearance = System.Windows.Forms.Appearance.Button;
     this.chkSubRX.ForeColor  = System.Drawing.SystemColors.ControlDarkDark;
     this.chkSubRX.Image      = null;
     this.chkSubRX.Location   = new System.Drawing.Point(30, 164);
     this.chkSubRX.Name       = "chkSubRX";
     this.chkSubRX.Size       = new System.Drawing.Size(110, 28);
     this.chkSubRX.TabIndex   = 11;
     this.chkSubRX.Text       = "Enable Sub RX";
     this.chkSubRX.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     this.chkSubRX.UseVisualStyleBackColor = true;
     this.chkSubRX.CheckedChanged         += new System.EventHandler(this.chkSubRX_CheckedChanged);
     //
     // labelTS5
     //
     this.labelTS5.AutoSize = true;
     this.labelTS5.Image    = null;
     this.labelTS5.Location = new System.Drawing.Point(52, 230);
     this.labelTS5.Name     = "labelTS5";
     this.labelTS5.Size     = new System.Drawing.Size(48, 13);
     this.labelTS5.TabIndex = 10;
     this.labelTS5.Text     = "L/R Pan";
     //
     // labelTS4
     //
     this.labelTS4.AutoSize = true;
     this.labelTS4.Image    = null;
     this.labelTS4.Location = new System.Drawing.Point(61, 16);
     this.labelTS4.Name     = "labelTS4";
     this.labelTS4.Size     = new System.Drawing.Size(20, 13);
     this.labelTS4.TabIndex = 10;
     this.labelTS4.Text     = "AF";
     //
     // tbSubRXPan
     //
     this.tbSubRXPan.Location = new System.Drawing.Point(5, 198);
     this.tbSubRXPan.Maximum  = 100;
     this.tbSubRXPan.Name     = "tbSubRXPan";
     this.tbSubRXPan.Size     = new System.Drawing.Size(144, 45);
     this.tbSubRXPan.TabIndex = 4;
     this.tbSubRXPan.Scroll  += new System.EventHandler(this.tbSubRXPan_Scroll);
     //
     // tbSubRXAF
     //
     this.tbSubRXAF.Location    = new System.Drawing.Point(55, 32);
     this.tbSubRXAF.Maximum     = 100;
     this.tbSubRXAF.Name        = "tbSubRXAF";
     this.tbSubRXAF.Orientation = System.Windows.Forms.Orientation.Vertical;
     this.tbSubRXAF.Size        = new System.Drawing.Size(45, 131);
     this.tbSubRXAF.TabIndex    = 1;
     this.tbSubRXAF.Scroll     += new System.EventHandler(this.tbSubRXAF_Scroll);
     //
     // tbDrive
     //
     this.tbDrive.Location = new System.Drawing.Point(326, 267);
     this.tbDrive.Maximum  = 100;
     this.tbDrive.Name     = "tbDrive";
     this.tbDrive.Size     = new System.Drawing.Size(150, 45);
     this.tbDrive.TabIndex = 3;
     this.tbDrive.Scroll  += new System.EventHandler(this.tbDrive_Scroll);
     //
     // grpRX2
     //
     this.grpRX2.Controls.Add(this.lblPan);
     this.grpRX2.Controls.Add(this.labelTS11);
     this.grpRX2.Controls.Add(this.tbRX2Atten);
     this.grpRX2.Controls.Add(this.chkRX2Mute);
     this.grpRX2.Controls.Add(this.labelTS3);
     this.grpRX2.Controls.Add(this.labelTS2);
     this.grpRX2.Controls.Add(this.labelTS1);
     this.grpRX2.Controls.Add(this.chkRX2Sql);
     this.grpRX2.Controls.Add(this.tbRX2Pan);
     this.grpRX2.Controls.Add(this.tbRX2Sql);
     this.grpRX2.Controls.Add(this.tbRX2RF);
     this.grpRX2.Controls.Add(this.tbRX2AF);
     this.grpRX2.ForeColor = System.Drawing.SystemColors.ControlLight;
     this.grpRX2.Location  = new System.Drawing.Point(248, 9);
     this.grpRX2.Name      = "grpRX2";
     this.grpRX2.Size      = new System.Drawing.Size(218, 249);
     this.grpRX2.TabIndex  = 7;
     this.grpRX2.TabStop   = false;
     this.grpRX2.Text      = "RX2";
     //
     // lblPan
     //
     this.lblPan.AutoSize = true;
     this.lblPan.Image    = null;
     this.lblPan.Location = new System.Drawing.Point(75, 230);
     this.lblPan.Name     = "lblPan";
     this.lblPan.Size     = new System.Drawing.Size(48, 13);
     this.lblPan.TabIndex = 6;
     this.lblPan.Text     = "L/R Pan";
     //
     // labelTS11
     //
     this.labelTS11.AutoSize = true;
     this.labelTS11.Image    = null;
     this.labelTS11.Location = new System.Drawing.Point(165, 16);
     this.labelTS11.Name     = "labelTS11";
     this.labelTS11.Size     = new System.Drawing.Size(32, 13);
     this.labelTS11.TabIndex = 15;
     this.labelTS11.Text     = "Atten";
     //
     // tbRX2Atten
     //
     this.tbRX2Atten.Location    = new System.Drawing.Point(168, 32);
     this.tbRX2Atten.Maximum     = 31;
     this.tbRX2Atten.Name        = "tbRX2Atten";
     this.tbRX2Atten.Orientation = System.Windows.Forms.Orientation.Vertical;
     this.tbRX2Atten.Size        = new System.Drawing.Size(45, 131);
     this.tbRX2Atten.TabIndex    = 15;
     this.tbRX2Atten.Scroll     += new System.EventHandler(this.tbRX2Atten_Scroll);
     //
     // chkRX2Mute
     //
     this.chkRX2Mute.Appearance = System.Windows.Forms.Appearance.Button;
     this.chkRX2Mute.ForeColor  = System.Drawing.SystemColors.ControlDarkDark;
     this.chkRX2Mute.Image      = null;
     this.chkRX2Mute.Location   = new System.Drawing.Point(6, 164);
     this.chkRX2Mute.Name       = "chkRX2Mute";
     this.chkRX2Mute.Size       = new System.Drawing.Size(40, 28);
     this.chkRX2Mute.TabIndex   = 9;
     this.chkRX2Mute.Text       = "Mute";
     this.chkRX2Mute.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     this.chkRX2Mute.UseVisualStyleBackColor = true;
     this.chkRX2Mute.CheckedChanged         += new System.EventHandler(this.chkRX2Mute_CheckedChanged);
     //
     // labelTS3
     //
     this.labelTS3.AutoSize = true;
     this.labelTS3.Image    = null;
     this.labelTS3.Location = new System.Drawing.Point(115, 16);
     this.labelTS3.Name     = "labelTS3";
     this.labelTS3.Size     = new System.Drawing.Size(28, 13);
     this.labelTS3.TabIndex = 8;
     this.labelTS3.Text     = "SQL";
     //
     // labelTS2
     //
     this.labelTS2.AutoSize = true;
     this.labelTS2.Image    = null;
     this.labelTS2.Location = new System.Drawing.Point(65, 16);
     this.labelTS2.Name     = "labelTS2";
     this.labelTS2.Size     = new System.Drawing.Size(21, 13);
     this.labelTS2.TabIndex = 7;
     this.labelTS2.Text     = "RF";
     //
     // labelTS1
     //
     this.labelTS1.AutoSize = true;
     this.labelTS1.Image    = null;
     this.labelTS1.Location = new System.Drawing.Point(18, 16);
     this.labelTS1.Name     = "labelTS1";
     this.labelTS1.Size     = new System.Drawing.Size(20, 13);
     this.labelTS1.TabIndex = 5;
     this.labelTS1.Text     = "AF";
     //
     // chkRX2Sql
     //
     this.chkRX2Sql.Appearance = System.Windows.Forms.Appearance.Button;
     this.chkRX2Sql.ForeColor  = System.Drawing.SystemColors.ControlDarkDark;
     this.chkRX2Sql.Image      = null;
     this.chkRX2Sql.Location   = new System.Drawing.Point(111, 164);
     this.chkRX2Sql.Name       = "chkRX2Sql";
     this.chkRX2Sql.Size       = new System.Drawing.Size(40, 28);
     this.chkRX2Sql.TabIndex   = 6;
     this.chkRX2Sql.Text       = "SQL";
     this.chkRX2Sql.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     this.chkRX2Sql.UseVisualStyleBackColor = true;
     this.chkRX2Sql.CheckedChanged         += new System.EventHandler(this.chkRX2Sql_CheckedChanged);
     //
     // tbRX2Pan
     //
     this.tbRX2Pan.Location = new System.Drawing.Point(35, 198);
     this.tbRX2Pan.Maximum  = 100;
     this.tbRX2Pan.Name     = "tbRX2Pan";
     this.tbRX2Pan.Size     = new System.Drawing.Size(150, 45);
     this.tbRX2Pan.TabIndex = 4;
     this.tbRX2Pan.Scroll  += new System.EventHandler(this.tbRX2Pan_Scroll);
     //
     // tbRX2Sql
     //
     this.tbRX2Sql.Location    = new System.Drawing.Point(114, 32);
     this.tbRX2Sql.Maximum     = 0;
     this.tbRX2Sql.Minimum     = -160;
     this.tbRX2Sql.Name        = "tbRX2Sql";
     this.tbRX2Sql.Orientation = System.Windows.Forms.Orientation.Vertical;
     this.tbRX2Sql.Size        = new System.Drawing.Size(45, 131);
     this.tbRX2Sql.TabIndex    = 3;
     this.tbRX2Sql.Scroll     += new System.EventHandler(this.tbRX2Sql_Scroll);
     //
     // tbRX2RF
     //
     this.tbRX2RF.Location    = new System.Drawing.Point(60, 32);
     this.tbRX2RF.Maximum     = 120;
     this.tbRX2RF.Minimum     = -20;
     this.tbRX2RF.Name        = "tbRX2RF";
     this.tbRX2RF.Orientation = System.Windows.Forms.Orientation.Vertical;
     this.tbRX2RF.Size        = new System.Drawing.Size(45, 131);
     this.tbRX2RF.TabIndex    = 2;
     this.tbRX2RF.Scroll     += new System.EventHandler(this.tbRX2RF_Scroll);
     //
     // tbRX2AF
     //
     this.tbRX2AF.Location    = new System.Drawing.Point(6, 32);
     this.tbRX2AF.Maximum     = 100;
     this.tbRX2AF.Name        = "tbRX2AF";
     this.tbRX2AF.Orientation = System.Windows.Forms.Orientation.Vertical;
     this.tbRX2AF.Size        = new System.Drawing.Size(45, 131);
     this.tbRX2AF.TabIndex    = 1;
     this.tbRX2AF.Scroll     += new System.EventHandler(this.tbRX2AF_Scroll);
     //
     // tbMasterAF
     //
     this.tbMasterAF.Location = new System.Drawing.Point(85, 267);
     this.tbMasterAF.Maximum  = 100;
     this.tbMasterAF.Name     = "tbMasterAF";
     this.tbMasterAF.Size     = new System.Drawing.Size(150, 45);
     this.tbMasterAF.TabIndex = 2;
     this.tbMasterAF.Scroll  += new System.EventHandler(this.tbMasterAF_Scroll);
     //
     // grpRX1
     //
     this.grpRX1.Controls.Add(this.labelTS10);
     this.grpRX1.Controls.Add(this.tbRX1Atten);
     this.grpRX1.Controls.Add(this.labelTS7);
     this.grpRX1.Controls.Add(this.chkRX1Mute);
     this.grpRX1.Controls.Add(this.labelTS8);
     this.grpRX1.Controls.Add(this.labelTS9);
     this.grpRX1.Controls.Add(this.labelTS6);
     this.grpRX1.Controls.Add(this.chkRX1Sql);
     this.grpRX1.Controls.Add(this.tbRX1Pan);
     this.grpRX1.Controls.Add(this.tbRX1Sql);
     this.grpRX1.Controls.Add(this.tbRX1RF);
     this.grpRX1.Controls.Add(this.tbRX1AF);
     this.grpRX1.ForeColor = System.Drawing.SystemColors.ControlLight;
     this.grpRX1.Location  = new System.Drawing.Point(9, 9);
     this.grpRX1.Name      = "grpRX1";
     this.grpRX1.Size      = new System.Drawing.Size(226, 249);
     this.grpRX1.TabIndex  = 3;
     this.grpRX1.TabStop   = false;
     this.grpRX1.Text      = "RX1";
     //
     // labelTS10
     //
     this.labelTS10.AutoSize = true;
     this.labelTS10.Image    = null;
     this.labelTS10.Location = new System.Drawing.Point(165, 16);
     this.labelTS10.Name     = "labelTS10";
     this.labelTS10.Size     = new System.Drawing.Size(32, 13);
     this.labelTS10.TabIndex = 14;
     this.labelTS10.Text     = "Atten";
     //
     // tbRX1Atten
     //
     this.tbRX1Atten.Location    = new System.Drawing.Point(168, 32);
     this.tbRX1Atten.Maximum     = 31;
     this.tbRX1Atten.Name        = "tbRX1Atten";
     this.tbRX1Atten.Orientation = System.Windows.Forms.Orientation.Vertical;
     this.tbRX1Atten.Size        = new System.Drawing.Size(45, 131);
     this.tbRX1Atten.TabIndex    = 13;
     this.tbRX1Atten.Scroll     += new System.EventHandler(this.tbRX1Atten_Scroll);
     //
     // labelTS7
     //
     this.labelTS7.AutoSize = true;
     this.labelTS7.Image    = null;
     this.labelTS7.Location = new System.Drawing.Point(109, 16);
     this.labelTS7.Name     = "labelTS7";
     this.labelTS7.Size     = new System.Drawing.Size(28, 13);
     this.labelTS7.TabIndex = 12;
     this.labelTS7.Text     = "SQL";
     //
     // chkRX1Mute
     //
     this.chkRX1Mute.Appearance = System.Windows.Forms.Appearance.Button;
     this.chkRX1Mute.ForeColor  = System.Drawing.SystemColors.ControlDarkDark;
     this.chkRX1Mute.Image      = null;
     this.chkRX1Mute.Location   = new System.Drawing.Point(6, 164);
     this.chkRX1Mute.Name       = "chkRX1Mute";
     this.chkRX1Mute.Size       = new System.Drawing.Size(40, 28);
     this.chkRX1Mute.TabIndex   = 10;
     this.chkRX1Mute.Text       = "Mute";
     this.chkRX1Mute.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     this.chkRX1Mute.UseVisualStyleBackColor = true;
     this.chkRX1Mute.CheckedChanged         += new System.EventHandler(this.chkRX1Mute_CheckedChanged);
     //
     // labelTS8
     //
     this.labelTS8.AutoSize = true;
     this.labelTS8.Image    = null;
     this.labelTS8.Location = new System.Drawing.Point(59, 16);
     this.labelTS8.Name     = "labelTS8";
     this.labelTS8.Size     = new System.Drawing.Size(21, 13);
     this.labelTS8.TabIndex = 11;
     this.labelTS8.Text     = "RF";
     //
     // labelTS9
     //
     this.labelTS9.AutoSize = true;
     this.labelTS9.Image    = null;
     this.labelTS9.Location = new System.Drawing.Point(12, 16);
     this.labelTS9.Name     = "labelTS9";
     this.labelTS9.Size     = new System.Drawing.Size(20, 13);
     this.labelTS9.TabIndex = 10;
     this.labelTS9.Text     = "AF";
     //
     // labelTS6
     //
     this.labelTS6.AutoSize = true;
     this.labelTS6.Image    = null;
     this.labelTS6.Location = new System.Drawing.Point(73, 230);
     this.labelTS6.Name     = "labelTS6";
     this.labelTS6.Size     = new System.Drawing.Size(48, 13);
     this.labelTS6.TabIndex = 10;
     this.labelTS6.Text     = "L/R Pan";
     //
     // chkRX1Sql
     //
     this.chkRX1Sql.Appearance = System.Windows.Forms.Appearance.Button;
     this.chkRX1Sql.ForeColor  = System.Drawing.SystemColors.ControlDarkDark;
     this.chkRX1Sql.Image      = null;
     this.chkRX1Sql.Location   = new System.Drawing.Point(110, 164);
     this.chkRX1Sql.Name       = "chkRX1Sql";
     this.chkRX1Sql.Size       = new System.Drawing.Size(40, 28);
     this.chkRX1Sql.TabIndex   = 5;
     this.chkRX1Sql.Text       = "SQL";
     this.chkRX1Sql.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     this.chkRX1Sql.UseVisualStyleBackColor = true;
     this.chkRX1Sql.CheckedChanged         += new System.EventHandler(this.chkRX1Sql_CheckedChanged);
     //
     // tbRX1Pan
     //
     this.tbRX1Pan.Location = new System.Drawing.Point(33, 198);
     this.tbRX1Pan.Maximum  = 100;
     this.tbRX1Pan.Name     = "tbRX1Pan";
     this.tbRX1Pan.Size     = new System.Drawing.Size(150, 45);
     this.tbRX1Pan.TabIndex = 4;
     this.tbRX1Pan.Scroll  += new System.EventHandler(this.tbRX1Pan_Scroll);
     //
     // tbRX1Sql
     //
     this.tbRX1Sql.Location    = new System.Drawing.Point(114, 32);
     this.tbRX1Sql.Maximum     = 0;
     this.tbRX1Sql.Minimum     = -160;
     this.tbRX1Sql.Name        = "tbRX1Sql";
     this.tbRX1Sql.Orientation = System.Windows.Forms.Orientation.Vertical;
     this.tbRX1Sql.Size        = new System.Drawing.Size(45, 131);
     this.tbRX1Sql.TabIndex    = 3;
     this.tbRX1Sql.Scroll     += new System.EventHandler(this.tbRX1Sql_Scroll);
     //
     // tbRX1RF
     //
     this.tbRX1RF.Location    = new System.Drawing.Point(60, 32);
     this.tbRX1RF.Maximum     = 120;
     this.tbRX1RF.Minimum     = -20;
     this.tbRX1RF.Name        = "tbRX1RF";
     this.tbRX1RF.Orientation = System.Windows.Forms.Orientation.Vertical;
     this.tbRX1RF.Size        = new System.Drawing.Size(45, 131);
     this.tbRX1RF.TabIndex    = 2;
     this.tbRX1RF.Scroll     += new System.EventHandler(this.tbRX1RF_Scroll);
     //
     // tbRX1AF
     //
     this.tbRX1AF.Location    = new System.Drawing.Point(6, 32);
     this.tbRX1AF.Maximum     = 100;
     this.tbRX1AF.Name        = "tbRX1AF";
     this.tbRX1AF.Orientation = System.Windows.Forms.Orientation.Vertical;
     this.tbRX1AF.Size        = new System.Drawing.Size(45, 131);
     this.tbRX1AF.TabIndex    = 1;
     this.tbRX1AF.Scroll     += new System.EventHandler(this.tbRX1AF_Scroll);
     //
     // SliderSettingsForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
     this.ClientSize          = new System.Drawing.Size(645, 313);
     this.Controls.Add(this.btnClose);
     this.Controls.Add(this.lblMasterAF);
     this.Controls.Add(this.lblDrive);
     this.Controls.Add(this.grpSubRX);
     this.Controls.Add(this.tbDrive);
     this.Controls.Add(this.grpRX2);
     this.Controls.Add(this.tbMasterAF);
     this.Controls.Add(this.grpRX1);
     this.Name         = "SliderSettingsForm";
     this.Text         = "Analogue Gain Control Settings";
     this.TopMost      = true;
     this.Activated   += new System.EventHandler(this.SliderSettingsForm_Activated);
     this.Closing     += new System.ComponentModel.CancelEventHandler(this.SliderSettingsForm_Closing);
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.SliderSettingsForm_FormClosing);
     this.grpSubRX.ResumeLayout(false);
     this.grpSubRX.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tbSubRXPan)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbSubRXAF)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbDrive)).EndInit();
     this.grpRX2.ResumeLayout(false);
     this.grpRX2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tbRX2Atten)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbRX2Pan)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbRX2Sql)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbRX2RF)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbRX2AF)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbMasterAF)).EndInit();
     this.grpRX1.ResumeLayout(false);
     this.grpRX1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tbRX1Atten)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbRX1Pan)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbRX1Sql)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbRX1RF)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbRX1AF)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }