context: //=================================================================
  // fwcAntForm.cs
  //=================================================================
  // PowerSDR is a C# implementation of a Software Defined Radio.
  // Copyright (C) 2004-2009  FlexRadio Systems
  //
  // This program is free software; you can redistribute it and/or
  // modify it under the terms of the GNU General Public License
  // as published by the Free Software Foundation; either version 2
  // of the License, or (at your option) any later version.
  //
  // This program is distributed in the hope that it will be useful,
  // but WITHOUT ANY WARRANTY; without even the implied warranty of
  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  // GNU General Public License for more details.
  //
  // You should have received a copy of the GNU General Public License
  // along with this program; if not, write to the Free Software
  // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  //
  // You may contact us via email at: sales@flex-radio.com.
  // Paper mail may be sent to: 
  //    FlexRadio Systems
  //    8900 Marybank Dr.
  //    Austin, TX 78750
  //    USA
  //=================================================================
  
  using System;
  using System.Drawing;
  using System.Collections;
  using System.ComponentModel;
  using System.Windows.Forms;
  
  namespace PowerSDR
  {
  	public class FWCAntForm : System.Windows.Forms.Form
  	{
  		#region Variable Declaration
  
  		private Console console;
  		private System.Windows.Forms.ComboBoxTS comboRX1Ant;
  		private System.Windows.Forms.LabelTS lblTX;
  		private System.Windows.Forms.ComboBoxTS comboTXAnt;
  		private System.Windows.Forms.LabelTS lblRX2;
  		private System.Windows.Forms.ComboBoxTS comboRX2Ant;
  		private System.Windows.Forms.RadioButtonTS radModeSimple;
  		private System.Windows.Forms.ToolTip toolTip1;
  		private System.Windows.Forms.LabelTS lblBand;
  		private System.Windows.Forms.ComboBoxTS comboBand;
  		private System.Windows.Forms.RadioButtonTS radModeExpert;
  		private System.Windows.Forms.LabelTS lblRX1;
  		private System.Windows.Forms.GroupBoxTS grpComplexity;
  		private System.Windows.Forms.GroupBoxTS grpAntenna;
  		private System.Windows.Forms.GroupBoxTS grpSwitchRelay;
  		private System.Windows.Forms.CheckBoxTS chkRCATX1;
  		private System.Windows.Forms.CheckBoxTS chkRCATX2;
  		private System.Windows.Forms.CheckBoxTS chkRCATX3;
  		private System.Windows.Forms.TextBoxTS txtStatus;
  		private System.Windows.Forms.CheckBoxTS chkLock;
  		private System.Windows.Forms.CheckBoxTS chkRX1Loop;
  		private System.Windows.Forms.CheckBoxTS chkTX1DelayEnable;
  		private System.Windows.Forms.NumericUpDownTS udTX1Delay;
  		private System.Windows.Forms.NumericUpDownTS udTX2Delay;
  		private System.Windows.Forms.CheckBoxTS chkTX2DelayEnable;
  		private System.Windows.Forms.NumericUpDownTS udTX3Delay;
  		private System.Windows.Forms.CheckBoxTS chkTX3DelayEnable;
  		private System.Windows.Forms.CheckBoxTS chkEnable6mPreamp;
  		private System.Windows.Forms.NumericUpDownTS udLoopGain;
  		private System.Windows.Forms.LabelTS lblLoopGain;
  		private System.ComponentModel.IContainer components;
  
  		#endregion
  
  		#region Constructor and Destructor
  
  		public FWCAntForm(Console c)
  		{
  			InitializeComponent();
  			console = c;
  			FWC.GetRX2OK(out rx2_ok);
  			RX2OK = rx2_ok;
  			if(RX2OK)
  			{
  				uint temp;
  				FWC.GetRFIORev(out temp);
  				if((temp&0xFF) < 34)
  					comboRX2Ant.Items.Remove("ANT 1");
  			}
  
  			// Set mode first
  			ArrayList a = DB.GetVars("FWCAnt");
  			a.Sort();
  
  			foreach(string s in a)
  			{
  				if(s.StartsWith("radModeExpert") && s.IndexOf("True") >= 0)
  				{
  					radModeExpert.Checked = true;
  					break;
  				}
  			}
  
  			Common.RestoreForm(this, "FWCAnt", false);
  
  			if(radModeSimple.Checked)
  				radModeSimple_CheckedChanged(this, EventArgs.Empty);
  		}
  
  		protected override void Dispose( bool disposing )
  		{
  			if( disposing )
  			{
  				if(components != null)
  				{
  					components.Dispose();
  				}
  			}
  			base.Dispose( disposing );
  		}
  
  		#endregion
  
  		#region Windows Form Designer generated code
  		/// <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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FWCAntForm));
  			this.chkRX1Loop = new System.Windows.Forms.CheckBoxTS();
  			this.comboRX1Ant = new System.Windows.Forms.ComboBoxTS();
  			this.lblRX1 = new System.Windows.Forms.LabelTS();
  			this.lblTX = new System.Windows.Forms.LabelTS();
  			this.comboTXAnt = new System.Windows.Forms.ComboBoxTS();
  			this.lblRX2 = new System.Windows.Forms.LabelTS();
  			this.comboRX2Ant = new System.Windows.Forms.ComboBoxTS();
  			this.radModeSimple = new System.Windows.Forms.RadioButtonTS();
  			this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
  			this.radModeExpert = new System.Windows.Forms.RadioButtonTS();
  			this.chkRCATX1 = new System.Windows.Forms.CheckBoxTS();
  			this.chkRCATX2 = new System.Windows.Forms.CheckBoxTS();
  			this.chkRCATX3 = new System.Windows.Forms.CheckBoxTS();
  			this.chkLock = new System.Windows.Forms.CheckBoxTS();
  			this.chkTX1DelayEnable = new System.Windows.Forms.CheckBoxTS();
  			this.chkTX2DelayEnable = new System.Windows.Forms.CheckBoxTS();
  			this.chkTX3DelayEnable = new System.Windows.Forms.CheckBoxTS();
  			this.chkEnable6mPreamp = new System.Windows.Forms.CheckBoxTS();
  			this.lblBand = new System.Windows.Forms.LabelTS();
  			this.comboBand = new System.Windows.Forms.ComboBoxTS();
  			this.grpComplexity = new System.Windows.Forms.GroupBoxTS();
  			this.grpSwitchRelay = new System.Windows.Forms.GroupBoxTS();
  			this.udTX3Delay = new System.Windows.Forms.NumericUpDownTS();
  			this.udTX2Delay = new System.Windows.Forms.NumericUpDownTS();
  			this.udTX1Delay = new System.Windows.Forms.NumericUpDownTS();
  			this.grpAntenna = new System.Windows.Forms.GroupBoxTS();
  			this.lblLoopGain = new System.Windows.Forms.LabelTS();
  			this.udLoopGain = new System.Windows.Forms.NumericUpDownTS();
  			this.txtStatus = new System.Windows.Forms.TextBoxTS();
  			this.grpComplexity.SuspendLayout();
  			this.grpSwitchRelay.SuspendLayout();
  			((System.ComponentModel.ISupportInitialize)(this.udTX3Delay)).BeginInit();
  			((System.ComponentModel.ISupportInitialize)(this.udTX2Delay)).BeginInit();
  			((System.ComponentModel.ISupportInitialize)(this.udTX1Delay)).BeginInit();
  			this.grpAntenna.SuspendLayout();
  			((System.ComponentModel.ISupportInitialize)(this.udLoopGain)).BeginInit();
  			this.SuspendLayout();
  			// 
  			// chkRX1Loop
  			// 
  			this.chkRX1Loop.Image = null;
  			this.chkRX1Loop.Location = new System.Drawing.Point(8, 88);
  			this.chkRX1Loop.Name = "chkRX1Loop";
  			this.chkRX1Loop.Size = new System.Drawing.Size(168, 16);
  			this.chkRX1Loop.TabIndex = 9;
  			this.chkRX1Loop.Text = "Use RX1 Out to RX1 In Loop";
  			this.toolTip1.SetToolTip(this.chkRX1Loop, "Check this box to route the main receiver\'s RF path out RX1 Out and back in RX1 I" +
  				"n.  For use with external preamps/filters/etc.");
  			this.chkRX1Loop.CheckedChanged += new System.EventHandler(this.chkRX1ExtAnt_CheckedChanged);
  			// 
  			// comboRX1Ant
  			// 
  			this.comboRX1Ant.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  			this.comboRX1Ant.DropDownWidth = 64;
  			this.comboRX1Ant.Items.AddRange(new object[] {
  															 "N/C",
  															 "ANT 1",
  															 "ANT 2",
  															 "ANT 3",
  															 "RX1 IN"});
  			this.comboRX1Ant.Location = new System.Drawing.Point(8, 40);
  			this.comboRX1Ant.Name = "comboRX1Ant";
  			this.comboRX1Ant.Size = new System.Drawing.Size(64, 21);
  			this.comboRX1Ant.TabIndex = 10;
  			this.toolTip1.SetToolTip(this.comboRX1Ant, "Selects the Main Receiver Antenna");
  			this.comboRX1Ant.SelectedIndexChanged += new System.EventHandler(this.comboRX1Ant_SelectedIndexChanged);
  			// 
  			// lblRX1
  			// 
  			this.lblRX1.Image = null;
  			this.lblRX1.Location = new System.Drawing.Point(8, 24);
  			this.lblRX1.Name = "lblRX1";
  			this.lblRX1.Size = new System.Drawing.Size(72, 16);
  			this.lblRX1.TabIndex = 11;
  			this.lblRX1.Text = "Receiver 1:";
  			// 
  			// lblTX
  			// 
  			this.lblTX.Image = null;
  			this.lblTX.Location = new System.Drawing.Point(160, 24);
  			this.lblTX.Name = "lblTX";
  			this.lblTX.Size = new System.Drawing.Size(64, 16);
  			this.lblTX.TabIndex = 13;
  			this.lblTX.Text = "Transmit:";
  			// 
  			// comboTXAnt
  			// 
  			this.comboTXAnt.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  			this.comboTXAnt.DropDownWidth = 64;
  			this.comboTXAnt.Items.AddRange(new object[] {
  															"ANT 1",
  															"ANT 2",
  															"ANT 3"});
  			this.comboTXAnt.Location = new System.Drawing.Point(160, 40);
  			this.comboTXAnt.Name = "comboTXAnt";
  			this.comboTXAnt.Size = new System.Drawing.Size(64, 21);
  			this.comboTXAnt.TabIndex = 12;
  			this.toolTip1.SetToolTip(this.comboTXAnt, "Selects the Transmitter Antenna");
  			this.comboTXAnt.SelectedIndexChanged += new System.EventHandler(this.comboTXAnt_SelectedIndexChanged);
  			// 
  			// lblRX2
  			// 
  			this.lblRX2.Image = null;
  			this.lblRX2.Location = new System.Drawing.Point(80, 24);
  			this.lblRX2.Name = "lblRX2";
  			this.lblRX2.Size = new System.Drawing.Size(72, 16);
  			this.lblRX2.TabIndex = 15;
  			this.lblRX2.Text = "Receiver 2:";
  			// 
  			// comboRX2Ant
  			// 
  			this.comboRX2Ant.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  			this.comboRX2Ant.DropDownWidth = 72;
  			this.comboRX2Ant.Items.AddRange(new object[] {
  															 "N/C",
  															 "ANT 1",
  															 "RX2 IN",
  															 "RX1 Tap"});
  			this.comboRX2Ant.Location = new System.Drawing.Point(80, 40);
  			this.comboRX2Ant.Name = "comboRX2Ant";
  			this.comboRX2Ant.Size = new System.Drawing.Size(72, 21);
  			this.comboRX2Ant.TabIndex = 14;
  			this.toolTip1.SetToolTip(this.comboRX2Ant, "Selects the second receivers antenna (only available if optional 2nd RX is instal" +
  				"led)");
  			this.comboRX2Ant.SelectedIndexChanged += new System.EventHandler(this.comboRX2Ant_SelectedIndexChanged);
  			// 
  			// radModeSimple
  			// 
  			this.radModeSimple.Checked = true;
  			this.radModeSimple.Image = null;
  			this.radModeSimple.Location = new System.Drawing.Point(16, 24);
  			this.radModeSimple.Name = "radModeSimple";
  			this.radModeSimple.Size = new System.Drawing.Size(64, 24);
  			this.radModeSimple.TabIndex = 16;
  			this.radModeSimple.TabStop = true;
  			this.radModeSimple.Text = "Simple";
  			this.toolTip1.SetToolTip(this.radModeSimple, "One setting for all bands");
  			this.radModeSimple.CheckedChanged += new System.EventHandler(this.radModeSimple_CheckedChanged);
  			// 
  			// radModeExpert
  			// 
  			this.radModeExpert.Image = null;
  			this.radModeExpert.Location = new System.Drawing.Point(96, 24);
  			this.radModeExpert.Name = "radModeExpert";
  			this.radModeExpert.Size = new System.Drawing.Size(56, 24);
  			this.radModeExpert.TabIndex = 20;
  			this.radModeExpert.Text = "Expert";
  			this.toolTip1.SetToolTip(this.radModeExpert, "More settings for each individual band");
  			this.radModeExpert.CheckedChanged += new System.EventHandler(this.radModeExpert_CheckedChanged);
  			// 
  			// chkRCATX1
  			// 
  			this.chkRCATX1.Checked = true;
  			this.chkRCATX1.CheckState = System.Windows.Forms.CheckState.Checked;
  			this.chkRCATX1.Image = null;
  			this.chkRCATX1.Location = new System.Drawing.Point(16, 16);
  			this.chkRCATX1.Name = "chkRCATX1";
  			this.chkRCATX1.Size = new System.Drawing.Size(72, 32);
  			this.chkRCATX1.TabIndex = 0;
  			this.chkRCATX1.Text = "TX1 (Red)";
  			this.toolTip1.SetToolTip(this.chkRCATX1, "When checked, the red RCA plug labeled TX1 will switch with TR transitions.  This" +
  				" can be used to switch an external linear, transverter, preselector, etc.");
  			this.chkRCATX1.CheckedChanged += new System.EventHandler(this.chkRCATX1_CheckedChanged);
  			// 
  			// chkRCATX2
  			// 
  			this.chkRCATX2.Checked = true;
  			this.chkRCATX2.CheckState = System.Windows.Forms.CheckState.Checked;
  			this.chkRCATX2.Image = null;
  			this.chkRCATX2.Location = new System.Drawing.Point(96, 16);
  			this.chkRCATX2.Name = "chkRCATX2";
  			this.chkRCATX2.Size = new System.Drawing.Size(80, 32);
  			this.chkRCATX2.TabIndex = 1;
  			this.chkRCATX2.Text = "TX2 (White)";
  			this.toolTip1.SetToolTip(this.chkRCATX2, "When checked, the white RCA plug labeled TX2 will switch with TR transitions.  Th" +
  				"is can be used to switch an external linear, transverter, preselector, etc.");
  			this.chkRCATX2.CheckedChanged += new System.EventHandler(this.chkRCATX2_CheckedChanged);
  			// 
  			// chkRCATX3
  			// 
  			this.chkRCATX3.Checked = true;
  			this.chkRCATX3.CheckState = System.Windows.Forms.CheckState.Checked;
  			this.chkRCATX3.Image = null;
  			this.chkRCATX3.Location = new System.Drawing.Point(176, 16);
  			this.chkRCATX3.Name = "chkRCATX3";
  			this.chkRCATX3.Size = new System.Drawing.Size(64, 32);
  			this.chkRCATX3.TabIndex = 2;
  			this.chkRCATX3.Text = "TX3 (Yellow)";
  			this.toolTip1.SetToolTip(this.chkRCATX3, "When checked, the yellow RCA plug labeled TX3 will switch with TR transitions.  T" +
  				"his can be used to switch an external linear, transverter, preselector, etc.");
  			this.chkRCATX3.CheckedChanged += new System.EventHandler(this.chkRCATX3_CheckedChanged);
  			// 
  			// chkLock
  			// 
  			this.chkLock.Checked = true;
  			this.chkLock.CheckState = System.Windows.Forms.CheckState.Checked;
  			this.chkLock.Image = null;
  			this.chkLock.Location = new System.Drawing.Point(192, 64);
  			this.chkLock.Name = "chkLock";
  			this.chkLock.Size = new System.Drawing.Size(48, 24);
  			this.chkLock.TabIndex = 16;
  			this.chkLock.Text = "Lock";
  			this.toolTip1.SetToolTip(this.chkLock, "Check this box to lock RX1 and TX antenna selections.");
  			this.chkLock.CheckedChanged += new System.EventHandler(this.chkLock_CheckedChanged);
  			// 
  			// chkTX1DelayEnable
  			// 
  			this.chkTX1DelayEnable.Image = null;
  			this.chkTX1DelayEnable.Location = new System.Drawing.Point(16, 48);
  			this.chkTX1DelayEnable.Name = "chkTX1DelayEnable";
  			this.chkTX1DelayEnable.Size = new System.Drawing.Size(56, 32);
  			this.chkTX1DelayEnable.TabIndex = 3;
  			this.chkTX1DelayEnable.Text = "Delay (ms)";
  			this.toolTip1.SetToolTip(this.chkTX1DelayEnable, "When checked, the red RCA plug labeled TX1 will delay before switching on TR tran" +
  				"sitions by the amount selected in milliseconds.");
  			this.chkTX1DelayEnable.CheckedChanged += new System.EventHandler(this.chkTX1DelayEnable_CheckedChanged);
  			// 
  			// chkTX2DelayEnable
  			// 
  			this.chkTX2DelayEnable.Image = null;
  			this.chkTX2DelayEnable.Location = new System.Drawing.Point(96, 48);
  			this.chkTX2DelayEnable.Name = "chkTX2DelayEnable";
  			this.chkTX2DelayEnable.Size = new System.Drawing.Size(56, 32);
  			this.chkTX2DelayEnable.TabIndex = 5;
  			this.chkTX2DelayEnable.Text = "Delay (ms)";
  			this.toolTip1.SetToolTip(this.chkTX2DelayEnable, "When checked, the red RCA plug labeled TX1 will delay before switching on TR tran" +
  				"sitions by the amount selected in milliseconds.");
  			this.chkTX2DelayEnable.CheckedChanged += new System.EventHandler(this.chkTX2DelayEnable_CheckedChanged);
  			// 
  			// chkTX3DelayEnable
  			// 
  			this.chkTX3DelayEnable.Image = null;
  			this.chkTX3DelayEnable.Location = new System.Drawing.Point(176, 48);
  			this.chkTX3DelayEnable.Name = "chkTX3DelayEnable";
  			this.chkTX3DelayEnable.Size = new System.Drawing.Size(56, 32);
  			this.chkTX3DelayEnable.TabIndex = 7;
  			this.chkTX3DelayEnable.Text = "Delay (ms)";
  			this.toolTip1.SetToolTip(this.chkTX3DelayEnable, "When checked, the red RCA plug labeled TX1 will delay before switching on TR tran" +
  				"sitions by the amount selected in milliseconds.");
  			this.chkTX3DelayEnable.CheckedChanged += new System.EventHandler(this.chkTX3DelayEnable_CheckedChanged);
  			// 
  			// chkEnable6mPreamp
  			// 
  			this.chkEnable6mPreamp.Image = null;
  			this.chkEnable6mPreamp.Location = new System.Drawing.Point(8, 64);
  			this.chkEnable6mPreamp.Name = "chkEnable6mPreamp";
  			this.chkEnable6mPreamp.Size = new System.Drawing.Size(184, 24);
  			this.chkEnable6mPreamp.TabIndex = 17;
  			this.chkEnable6mPreamp.Text = "Enable Preamp controls on 6m";
  			this.toolTip1.SetToolTip(this.chkEnable6mPreamp, "Check this box to route the main receiver\'s RF path out RX1 Out and back in RX1 I" +
  				"n.  For use with external preamps/filters/etc.");
  			this.chkEnable6mPreamp.CheckedChanged += new System.EventHandler(this.chkEnable6mPreamp_CheckedChanged);
  			// 
  			// lblBand
  			// 
  			this.lblBand.Image = null;
  			this.lblBand.Location = new System.Drawing.Point(160, 24);
  			this.lblBand.Name = "lblBand";
  			this.lblBand.Size = new System.Drawing.Size(40, 24);
  			this.lblBand.TabIndex = 19;
  			this.lblBand.Text = "Band:";
  			this.lblBand.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  			this.lblBand.Visible = false;
  			// 
  			// comboBand
  			// 
  			this.comboBand.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  			this.comboBand.DropDownWidth = 56;
  			this.comboBand.Items.AddRange(new object[] {
  														   "GEN",
  														   "160m",
  														   "80m",
  														   "60m",
  														   "40m",
  														   "30m",
  														   "20m",
  														   "17m",
  														   "15m",
  														   "12m",
  														   "10m",
  														   "6m",
  														   "2m",
  														   "WWV",
  														   "VHF0",
  														   "VHF1",
  														   "VHF2",
  														   "VHF3",
  														   "VHF4",
  														   "VHF5",
  														   "VHF6",
  														   "VHF7",
  														   "VHF8",
  														   "VHF9",
  														   "VHF10",
  														   "VHF11",
  														   "VHF12",
  														   "VHF13"});
  			this.comboBand.Location = new System.Drawing.Point(200, 24);
  			this.comboBand.Name = "comboBand";
  			this.comboBand.Size = new System.Drawing.Size(56, 21);
  			this.comboBand.TabIndex = 18;
  			this.comboBand.Visible = false;
  			this.comboBand.SelectedIndexChanged += new System.EventHandler(this.comboBand_SelectedIndexChanged);
  			// 
  			// grpComplexity
  			// 
  			this.grpComplexity.Controls.Add(this.radModeSimple);
  			this.grpComplexity.Controls.Add(this.radModeExpert);
  			this.grpComplexity.Controls.Add(this.lblBand);
  			this.grpComplexity.Controls.Add(this.comboBand);
  			this.grpComplexity.Location = new System.Drawing.Point(8, 8);
  			this.grpComplexity.Name = "grpComplexity";
  			this.grpComplexity.Size = new System.Drawing.Size(264, 56);
  			this.grpComplexity.TabIndex = 21;
  			this.grpComplexity.TabStop = false;
  			this.grpComplexity.Text = "Complexity";
  			// 
  			// grpSwitchRelay
  			// 
  			this.grpSwitchRelay.Controls.Add(this.udTX3Delay);
  			this.grpSwitchRelay.Controls.Add(this.chkTX3DelayEnable);
  			this.grpSwitchRelay.Controls.Add(this.udTX2Delay);
  			this.grpSwitchRelay.Controls.Add(this.chkTX2DelayEnable);
  			this.grpSwitchRelay.Controls.Add(this.udTX1Delay);
  			this.grpSwitchRelay.Controls.Add(this.chkTX1DelayEnable);
  			this.grpSwitchRelay.Controls.Add(this.chkRCATX3);
  			this.grpSwitchRelay.Controls.Add(this.chkRCATX2);
  			this.grpSwitchRelay.Controls.Add(this.chkRCATX1);
  			this.grpSwitchRelay.Location = new System.Drawing.Point(8, 192);
  			this.grpSwitchRelay.Name = "grpSwitchRelay";
  			this.grpSwitchRelay.Size = new System.Drawing.Size(264, 112);
  			this.grpSwitchRelay.TabIndex = 21;
  			this.grpSwitchRelay.TabStop = false;
  			this.grpSwitchRelay.Text = "Switch Relay with TR";
  			this.grpSwitchRelay.Visible = false;
  			// 
  			// udTX3Delay
  			// 
  			this.udTX3Delay.Enabled = false;
  			this.udTX3Delay.Increment = new System.Decimal(new int[] {
  																		 1,
  																		 0,
  																		 0,
  																		 0});
  			this.udTX3Delay.Location = new System.Drawing.Point(176, 80);
  			this.udTX3Delay.Maximum = new System.Decimal(new int[] {
  																	   9999,
  																	   0,
  																	   0,
  																	   0});
  			this.udTX3Delay.Minimum = new System.Decimal(new int[] {
  																	   0,
  																	   0,
  																	   0,
  																	   0});
  			this.udTX3Delay.Name = "udTX3Delay";
  			this.udTX3Delay.Size = new System.Drawing.Size(56, 20);
  			this.udTX3Delay.TabIndex = 8;
  			this.udTX3Delay.Value = new System.Decimal(new int[] {
  																	 100,
  																	 0,
  																	 0,
  																	 0});
  			this.udTX3Delay.ValueChanged += new System.EventHandler(this.udTX3Delay_ValueChanged);
  			// 
  			// udTX2Delay
  			// 
  			this.udTX2Delay.Enabled = false;
  			this.udTX2Delay.Increment = new System.Decimal(new int[] {
  																		 1,
  																		 0,
  																		 0,
  																		 0});
  			this.udTX2Delay.Location = new System.Drawing.Point(96, 80);
  			this.udTX2Delay.Maximum = new System.Decimal(new int[] {
  																	   9999,
  																	   0,
  																	   0,
  																	   0});
  			this.udTX2Delay.Minimum = new System.Decimal(new int[] {
  																	   0,
  																	   0,
  																	   0,
  																	   0});
  			this.udTX2Delay.Name = "udTX2Delay";
  			this.udTX2Delay.Size = new System.Drawing.Size(56, 20);
  			this.udTX2Delay.TabIndex = 6;
  			this.udTX2Delay.Value = new System.Decimal(new int[] {
  																	 100,
  																	 0,
  																	 0,
  																	 0});
  			this.udTX2Delay.ValueChanged += new System.EventHandler(this.udTX2Delay_ValueChanged);
  			// 
  			// udTX1Delay
  			// 
  			this.udTX1Delay.Enabled = false;
  			this.udTX1Delay.Increment = new System.Decimal(new int[] {
  																		 1,
  																		 0,
  																		 0,
  																		 0});
  			this.udTX1Delay.Location = new System.Drawing.Point(16, 80);
  			this.udTX1Delay.Maximum = new System.Decimal(new int[] {
  																	   9999,
  																	   0,
  																	   0,
  																	   0});
  
gt: 			this.udTX1Delay.Minimum = new System.Decimal(new int[] {