using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;

namespace QDART_MFG_CfgEditor;

public class QSeqPopUpEditForm : Form
{
	private Common.EditTypes EditType;

	private IContainer components;

	private Panel plInst;

	private GroupBox gpInst;

	private TextBox tbPortId;

	private TextBox tbVisaString;

	private CheckBox cbOtherVisaString;

	private ComboBox cbSad;

	private ComboBox cbPad;

	private ComboBox cbBid;

	private Label label14;

	private Label label16;

	private Label label13;

	private Label label12;

	private Panel plMobile;

	private GroupBox gpMobile;

	private ComboBox cbTimeout;

	private ComboBox cbComPort;

	private ComboBox cbDiagMode;

	private Label label10;

	private Label label9;

	private Label label8;

	private Label label15;

	private ComboBox cbType;

	private ComboBox cbDeviceID;

	private Label label11;

	private Button btnSave;

	private Button btnCancel;

	private Label label1;

	private DataGridView dgStatus;

	private ComboBox cbNotInUse;

	private ComboBox cbUUT;

	private Label label3;

	private Label label4;

	private Panel plGrid;

	private Panel plTxt;

	private TextBox tbOri;

	private Panel plEdit;

	private Label lbItem;

	private TextBox tbUserInput;

	private Label lbExt;

	private Label lbPre;

	private Panel plDevice;

	private ComboBox cbIdGroup;

	private Label label5;

	private Panel plID;

	private Panel plSave;

	private Panel panel1;

	private Label label2;

	private Label label6;

	private Label label7;

	private TextBox textBox1;

	private Panel plEdit2;

	private Panel panel3;

	private Label label17;

	private Label label18;

	private Label label19;

	private TextBox textBox2;

	private Label lbExt2;

	private Label lbPre2;

	private Label lbItem2;

	private TextBox tbUseInput2;

	private ComboBox cbDll;

	private Button btnFile;

	private Button btnClear;

	private ComboBox cbRFPortID;

	private Button btnUsrDll;

	private TextBox tbUsrDll;

	private CheckBox cbUsrDll;

	public QSeqPopUpEditForm(Common.EditTypes et, DataGridView dgvr, int selectRow)
	{
		EditType = et;
		InitializeComponent();
		InitControls(et, dgvr, selectRow);
	}

	public QSeqPopUpEditForm(Common.EditTypes et, string oriData)
	{
		EditType = et;
		InitializeComponent();
		InitControls(et, oriData);
	}

	private void InitControls(Common.EditTypes et, string oriData)
	{
		string text = "";
		switch (et)
		{
		case Common.EditTypes.TesterName:
			tbUserInput.Text = oriData;
			break;
		case Common.EditTypes.DomainName:
			tbUserInput.Text = oriData;
			break;
		case Common.EditTypes.SeqLogTxt:
			text = oriData.Replace("%DATE_TIME%_", "");
			text = text.Replace(".txt", "");
			tbUserInput.Text = text;
			break;
		case Common.EditTypes.SheetLog:
			tbUserInput.Text = oriData.Replace(".xsl", "");
			btnFile.Visible = true;
			break;
		case Common.EditTypes.XmlLog:
			text = oriData.Replace("%DATE_TIME%_", "");
			text = text.Replace("_%DEVICE_GROUP_ID%", "");
			tbUserInput.Text = text;
			break;
		}
		tbOri.Text = oriData;
	}

	private void InitControls(Common.EditTypes et, DataGridView dgvr, int selectRow)
	{
		string text = "";
		try
		{
			switch (et)
			{
			case Common.EditTypes.DeviceCfg:
			{
				List<string> list2 = new List<string>();
				for (int j = 0; j < 21; j++)
				{
					list2.Add(j.ToString());
				}
				cbPad.Items.AddRange(list2.ToArray());
				cbSad.Items.AddRange(list2.ToArray());
				cbDeviceID.Items.AddRange(list2.ToArray());
				list2.Clear();
				for (int k = -1; k < 100; k++)
				{
					list2.Add(k.ToString());
				}
				cbComPort.Items.AddRange(list2.ToArray());
				list2.Clear();
				for (int l = 0; l <= 60; l++)
				{
					list2.Add((5 * l).ToString());
				}
				cbTimeout.Items.AddRange(list2.ToArray());
				cbBid.Items.AddRange(new string[2] { "0", "1" });
				cbDiagMode.Items.AddRange(new string[3] { "QPST", "QPHONEMS", "USER_DEFINED" });
				cbNotInUse.Items.AddRange(new string[2] { "true", "false" });
				cbUUT.Items.AddRange(new string[2] { "True", "False" });
				cbRFPortID.Items.AddRange(new string[8] { "RFAC", "MAIN", "PORT0", "PORT1", "PORT2", "RF1A", "RFIO1", "RFIO2" });
				foreach (DataGridViewColumn column in dgvr.Columns)
				{
					DataGridViewColumn dataGridViewColumn4 = (DataGridViewColumn)column.Clone();
					dgStatus.Columns.Add(dataGridViewColumn4);
				}
				DataGridViewRow dataGridViewRow2 = (DataGridViewRow)dgvr.Rows[0].Clone();
				int num2 = 0;
				foreach (DataGridViewCell cell in dgvr.Rows[selectRow].Cells)
				{
					dataGridViewRow2.Cells[num2].Value = cell.Value;
					num2++;
				}
				dgStatus.Rows.Add(dataGridViewRow2);
				dgStatus.Refresh();
				dgStatus.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells;
				if (dgvr.Rows[selectRow].IsNewRow)
				{
					break;
				}
				cbDeviceID.Text = dataGridViewRow2.Cells["ID"].Value.ToString();
				if (dataGridViewRow2.Cells["NOTINUSE"].Value.ToString() == "true")
				{
					cbNotInUse.Text = "false";
				}
				else
				{
					cbNotInUse.Text = "true";
				}
				cbUUT.Text = dataGridViewRow2.Cells["UUT"].Value.ToString();
				cbType.Text = dataGridViewRow2.Cells["Type"].Value.ToString();
				text = dataGridViewRow2.Cells["ConfigString"].Value.ToString();
				string[] array;
				if (dataGridViewRow2.Cells["UUT"].Value.ToString() == "True")
				{
					array = text.Split(new char[1] { ':' }, StringSplitOptions.RemoveEmptyEntries);
					if (array.Length == 4)
					{
						text = array[0].Replace("CONNECT=", "");
						cbDiagMode.Text = text;
						cbComPort.Text = array[1];
						cbTimeout.Text = array[3];
					}
					break;
				}
				cbUsrDll.Checked = true;
				cbUsrDll.Checked = false;
				array = text.Split(new char[1] { '|' }, StringSplitOptions.RemoveEmptyEntries);
				string[] array2 = array;
				foreach (string text2 in array2)
				{
					string text3 = "";
					if (text2.Contains("GPIB"))
					{
						text3 = text2.Replace("CONNECT", "");
						text3 = text3.Replace("GPIB", "");
						text3 = text3.Replace("=", "");
						string[] array3 = text3.Split(new string[1] { "::" }, StringSplitOptions.RemoveEmptyEntries);
						if (array3.Length > 3)
						{
							cbBid.Text = array3[0];
							cbPad.Text = array3[1];
							cbSad.Text = array3[2];
							cbOtherVisaString.Checked = false;
						}
						else
						{
							cbOtherVisaString.Checked = true;
							tbVisaString.Text = text2;
						}
					}
					else if (text2.Contains("VISA") | text2.Contains("CONNECT"))
					{
						text3 = text2.Replace("CONNECT", "");
						text3 = text3.Replace("VISA", "");
						text3 = text3.Replace("=", "");
						cbOtherVisaString.Checked = true;
						tbVisaString.Text = text3;
					}
					else if (text2.Contains("RF_PORT_IDS"))
					{
						tbPortId.Text = text2.Replace("RF_PORT_IDS=", "");
					}
					else if (text2.Contains("USRDLL"))
					{
						tbUsrDll.Text = text2.Replace("USRDLL=", "");
						cbUsrDll.Checked = true;
					}
				}
				break;
			}
			case Common.EditTypes.DLL:
			{
				cbDll.Items.AddRange(new string[12]
				{
					"QSEQ_Device_Qualcomm_Mobile", "QSEQ_Device_RohdeSchwarz_CMW500", "QSEQ_Device_Anritsu_MT8820C", "QSEQ_Device_Anritsu_MT8870A", "QSEQ_Device_Agilent_EXx", "QSEQ_Device_Litepoint_IQXSTREAM", "QSEQ_Device_NationalInstrument_MCT", "QSEQ_Device_Aeroflex_PXI_3000", "QSEQ_PathLossManager", "QSEQ_Algorithm_Qualcomm_NSVFS",
					"QSEQ_Utility_Qualcomm", "QMSL_MSVC10R"
				});
				foreach (DataGridViewColumn column2 in dgvr.Columns)
				{
					DataGridViewColumn dataGridViewColumn6 = (DataGridViewColumn)column2.Clone();
					dgStatus.Columns.Add(dataGridViewColumn6);
				}
				DataGridViewRow dataGridViewRow3 = (DataGridViewRow)dgvr.Rows[0].Clone();
				int num3 = 0;
				foreach (DataGridViewCell cell2 in dgvr.Rows[selectRow].Cells)
				{
					dataGridViewRow3.Cells[num3].Value = cell2.Value;
					num3++;
				}
				dgStatus.Rows.Add(dataGridViewRow3);
				dgStatus.Refresh();
				dgStatus.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells;
				if (!dgvr.Rows[selectRow].IsNewRow)
				{
					cbDll.Text = dataGridViewRow3.Cells["DLL"].Value.ToString().Replace(".dll", "");
				}
				break;
			}
			case Common.EditTypes.Resource:
			{
				foreach (DataGridViewColumn column3 in dgvr.Columns)
				{
					DataGridViewColumn dataGridViewColumn8 = (DataGridViewColumn)column3.Clone();
					dgStatus.Columns.Add(dataGridViewColumn8);
				}
				DataGridViewRow dataGridViewRow4 = (DataGridViewRow)dgvr.Rows[0].Clone();
				int num4 = 0;
				foreach (DataGridViewCell cell3 in dgvr.Rows[selectRow].Cells)
				{
					dataGridViewRow4.Cells[num4].Value = cell3.Value;
					num4++;
				}
				dgStatus.Rows.Add(dataGridViewRow4);
				dgStatus.Refresh();
				dgStatus.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells;
				if (!dgvr.Rows[selectRow].IsNewRow)
				{
					tbUserInput.Text = dataGridViewRow4.Cells["name"].Value.ToString();
					tbUseInput2.Text = dataGridViewRow4.Cells["config"].Value.ToString();
				}
				break;
			}
			case Common.EditTypes.DeviceGroup:
			{
				List<string> list = new List<string>();
				for (int i = 0; i < 100; i++)
				{
					list.Add(i.ToString());
				}
				cbIdGroup.Items.AddRange(list.ToArray());
				foreach (DataGridViewColumn column4 in dgvr.Columns)
				{
					DataGridViewColumn dataGridViewColumn2 = (DataGridViewColumn)column4.Clone();
					dgStatus.Columns.Add(dataGridViewColumn2);
				}
				DataGridViewRow dataGridViewRow = (DataGridViewRow)dgvr.Rows[0].Clone();
				int num = 0;
				foreach (DataGridViewCell cell4 in dgvr.Rows[selectRow].Cells)
				{
					dataGridViewRow.Cells[num].Value = cell4.Value;
					num++;
				}
				dgStatus.Rows.Add(dataGridViewRow);
				dgStatus.Refresh();
				dgStatus.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells;
				if (!dgvr.Rows[selectRow].IsNewRow)
				{
					cbIdGroup.Text = dataGridViewRow.Cells["ID"].Value.ToString();
					text = dataGridViewRow.Cells["DeviceLogFileNameTemplate"].Value.ToString();
					text = text.Replace("%DATE_TIME%_", "");
					text = text.Replace("_" + dataGridViewRow.Cells["ID"].Value.ToString() + ".txt", "");
					tbUseInput2.Text = text;
				}
				break;
			}
			}
		}
		catch
		{
		}
	}

	private void QSeqPopUpEditForm_Load(object sender, EventArgs e)
	{
		switch (EditType)
		{
		case Common.EditTypes.DeviceCfg:
			plGrid.Visible = true;
			plDevice.Visible = true;
			base.Height -= plEdit.Height;
			plDevice.Location = new Point(plDevice.Location.X, plDevice.Location.Y - plEdit.Height);
			plSave.Location = new Point(plSave.Location.X, plSave.Location.Y - plEdit.Height);
			break;
		case Common.EditTypes.DLL:
			cbDll.Visible = true;
			plGrid.Visible = true;
			plEdit.Visible = true;
			base.Height -= plDevice.Height;
			plSave.Location = new Point(plSave.Location.X, plSave.Location.Y - plDevice.Height);
			break;
		case Common.EditTypes.Resource:
			plGrid.Visible = true;
			plEdit.Visible = true;
			plEdit2.Visible = true;
			base.Height -= plDevice.Height;
			plSave.Location = new Point(plSave.Location.X, plSave.Location.Y - plDevice.Height);
			break;
		case Common.EditTypes.DeviceGroup:
			plID.Visible = true;
			plEdit2.Visible = true;
			plGrid.Visible = true;
			base.Height -= plDevice.Height;
			plSave.Location = new Point(plSave.Location.X, plSave.Location.Y - plDevice.Height);
			break;
		default:
			plTxt.Visible = true;
			plEdit.Visible = true;
			base.Height -= plDevice.Height;
			plSave.Location = new Point(plSave.Location.X, plSave.Location.Y - plDevice.Height);
			break;
		}
		switch (EditType)
		{
		case Common.EditTypes.TesterName:
			lbItem.Text = "Tester name:";
			lbPre.Text = "";
			lbExt.Text = "";
			break;
		case Common.EditTypes.DomainName:
			lbItem.Text = "Domain name:";
			lbPre.Text = "";
			lbExt.Text = "";
			break;
		case Common.EditTypes.SeqLogTxt:
			lbItem.Text = "Sequence log file name:";
			lbPre.Text = "%DATE_TIME%_";
			lbExt.Text = ".txt";
			break;
		case Common.EditTypes.SheetLog:
			lbItem.Text = "Combined log sheet:";
			lbPre.Text = "";
			lbExt.Text = ".xsl";
			break;
		case Common.EditTypes.XmlLog:
			lbItem.Text = "Xml log file name:";
			lbPre.Text = "%DATE_TIME%_";
			lbExt.Text = "_%DEVICE_GROUP_ID%";
			break;
		case Common.EditTypes.DLL:
			lbItem.Text = "Libraries:";
			lbPre.Text = "";
			lbExt.Text = ".dll";
			break;
		case Common.EditTypes.DeviceGroup:
			lbItem2.Text = "Device log name:";
			lbPre2.Text = "%DATE_TIME%_";
			break;
		case Common.EditTypes.Resource:
			lbItem.Text = "name";
			lbPre.Text = "";
			lbExt.Text = "";
			lbItem2.Text = "config";
			lbPre2.Text = "";
			lbExt2.Text = "";
			break;
		}
	}

	private void btnSave_Click(object sender, EventArgs e)
	{
		string text = "";
		Dictionary<string, string> dictionary = new Dictionary<string, string>();
		switch (EditType)
		{
		case Common.EditTypes.TesterName:
		case Common.EditTypes.DomainName:
		case Common.EditTypes.SeqLogTxt:
		case Common.EditTypes.SheetLog:
		case Common.EditTypes.XmlLog:
		{
			string text3 = tbUserInput.Text;
			if (!string.IsNullOrEmpty(lbPre.Text))
			{
				text3.Replace(lbPre.Text, "");
			}
			if (!string.IsNullOrEmpty(lbExt.Text))
			{
				text3.Replace(lbExt.Text, "");
			}
			text3 = lbPre.Text + text3 + lbExt.Text;
			base.Tag = text3;
			break;
		}
		case Common.EditTypes.DLL:
		{
			string tag = cbDll.Text + ".dll";
			base.Tag = tag;
			break;
		}
		case Common.EditTypes.DeviceGroup:
			dictionary.Clear();
			dictionary.Add("ID", cbIdGroup.Text);
			dictionary.Add("DeviceLogFileNameTemplate", lbPre2.Text + tbUseInput2.Text + lbExt2.Text);
			base.Tag = dictionary;
			break;
		case Common.EditTypes.Resource:
			dictionary.Clear();
			dictionary.Add("name", tbUserInput.Text);
			dictionary.Add("config", tbUseInput2.Text);
			base.Tag = dictionary;
			break;
		case Common.EditTypes.DeviceCfg:
		{
			dictionary.Clear();
			dictionary.Add("ID", cbDeviceID.Text);
			dictionary.Add("NOTINUSE", (cbNotInUse.Text == "true") ? "false" : "true");
			dictionary.Add("UUT", cbUUT.Text);
			dictionary.Add("Type", cbType.Text.ToUpper());
			string text2 = "";
			if (cbUUT.Text == "False")
			{
				bool flag = true;
				text = tbPortId.Text;
				if (string.IsNullOrEmpty(text))
				{
					flag = false;
				}
				else if (text.LastIndexOf(",") == text.Length - 1)
				{
					text = text.Substring(0, text.Length - 1);
				}
				text2 = (cbUsrDll.Checked ? ((!cbOtherVisaString.Checked) ? (flag ? ("GPIB=GPIB" + cbBid.Text + "::" + cbPad.Text + "::" + cbSad.Text + "::INSTR|RF_PORT_IDS=" + text + "|USRDLL=" + tbUsrDll.Text) : ("GPIB=GPIB" + cbBid.Text + "::" + cbPad.Text + "::" + cbSad.Text + "|USRDLL=" + tbUsrDll.Text)) : (flag ? ("VISA=" + tbVisaString.Text + "|RF_PORT_IDS=" + text + "|USRDLL=" + tbUsrDll.Text) : ("VISA=" + tbVisaString.Text + "|USRDLL=" + tbUsrDll.Text))) : ((!cbOtherVisaString.Checked) ? (flag ? ("CONNECT=GPIB" + cbBid.Text + "::" + cbPad.Text + "::" + cbSad.Text + "::INSTR|RF_PORT_IDS=" + text) : ("CONNECT=GPIB" + cbBid.Text + "::" + cbPad.Text + "::" + cbSad.Text + "::INSTR")) : (flag ? ("CONNECT=" + tbVisaString.Text + "|RF_PORT_IDS=" + text) : tbVisaString.Text)));
			}
			else
			{
				text2 = "CONNECT=" + cbDiagMode.Text + ":" + cbComPort.Text + ":TIMEOUT_SEC:" + cbTimeout.Text;
			}
			dictionary.Add("ConfigString", text2);
			base.Tag = dictionary;
			break;
		}
		}
	}

	private void btnCancel_Click(object sender, EventArgs e)
	{
		Close();
	}

	private void cbUUT_SelectedValueChanged(object sender, EventArgs e)
	{
		if (cbUUT.Text == "True")
		{
			plMobile.Visible = true;
			plInst.Visible = false;
			cbType.Items.Clear();
			cbType.Items.AddRange(new string[1] { "QSEQ_Device_Qualcomm_Mobile" });
			cbType.SelectedIndex = 0;
		}
		else
		{
			plMobile.Visible = false;
			plInst.Visible = true;
			cbType.Items.Clear();
			cbType.Items.AddRange(new string[7] { "QSEQ_Device_RohdeSchwarz_CMW500", "QSEQ_Device_Anritsu_MT8820C", "QSEQ_Device_Anritsu_MT8870A", "QSEQ_Device_Agilent_EXx", "QSEQ_Device_Litepoint_IQXSTREAM", "QSEQ_Device_NationalInstrument_MCT", "QSEQ_Device_Aeroflex_PXI_3000" });
		}
	}

	private void cbOtherVisaString_CheckedChanged(object sender, EventArgs e)
	{
		if (cbOtherVisaString.Checked)
		{
			tbVisaString.Enabled = true;
			cbBid.Enabled = false;
			cbPad.Enabled = false;
			cbSad.Enabled = false;
		}
		else
		{
			tbVisaString.Enabled = false;
			cbBid.Enabled = true;
			cbPad.Enabled = true;
			cbSad.Enabled = true;
		}
	}

	private void cbUsrDll_CheckedChanged(object sender, EventArgs e)
	{
		if (cbUsrDll.Checked)
		{
			tbUsrDll.Enabled = true;
			btnUsrDll.Enabled = true;
		}
		else
		{
			tbUsrDll.Enabled = false;
			btnUsrDll.Enabled = false;
		}
	}

	private void btnUsrDll_Click(object sender, EventArgs e)
	{
		OpenFileDialog openFileDialog = new OpenFileDialog();
		openFileDialog.Filter = ".dll|*.dll";
		if (openFileDialog.ShowDialog() == DialogResult.OK)
		{
			tbUsrDll.Text = openFileDialog.FileName;
		}
	}

	private void cbIdGroup_TextChanged(object sender, EventArgs e)
	{
		if (!string.IsNullOrEmpty(lbExt2.Text))
		{
			lbExt2.Text = "_" + cbIdGroup.Text + ".txt";
		}
	}

	private void btnFile_Click(object sender, EventArgs e)
	{
		OpenFileDialog openFileDialog = new OpenFileDialog();
		openFileDialog.Filter = ".xsl|*.xsl";
		if (openFileDialog.ShowDialog() == DialogResult.OK)
		{
			tbUserInput.Text = openFileDialog.FileName;
			lbExt.Text = "";
		}
	}

	private void btnClear_Click(object sender, EventArgs e)
	{
		tbPortId.Text = "";
	}

	private void cbRFPortID_SelectedIndexChanged(object sender, EventArgs e)
	{
		TextBox textBox = tbPortId;
		textBox.Text = textBox.Text + cbRFPortID.Text + ",";
	}

	protected override void Dispose(bool disposing)
	{
		if (disposing && components != null)
		{
			components.Dispose();
		}
		base.Dispose(disposing);
	}

	private void InitializeComponent()
	{
		this.plInst = new System.Windows.Forms.Panel();
		this.gpInst = new System.Windows.Forms.GroupBox();
		this.btnClear = new System.Windows.Forms.Button();
		this.cbRFPortID = new System.Windows.Forms.ComboBox();
		this.tbPortId = new System.Windows.Forms.TextBox();
		this.tbVisaString = new System.Windows.Forms.TextBox();
		this.cbOtherVisaString = new System.Windows.Forms.CheckBox();
		this.cbSad = new System.Windows.Forms.ComboBox();
		this.cbPad = new System.Windows.Forms.ComboBox();
		this.cbBid = new System.Windows.Forms.ComboBox();
		this.label14 = new System.Windows.Forms.Label();
		this.label16 = new System.Windows.Forms.Label();
		this.label13 = new System.Windows.Forms.Label();
		this.label12 = new System.Windows.Forms.Label();
		this.gpMobile = new System.Windows.Forms.GroupBox();
		this.cbTimeout = new System.Windows.Forms.ComboBox();
		this.cbComPort = new System.Windows.Forms.ComboBox();
		this.cbDiagMode = new System.Windows.Forms.ComboBox();
		this.label10 = new System.Windows.Forms.Label();
		this.label9 = new System.Windows.Forms.Label();
		this.label8 = new System.Windows.Forms.Label();
		this.plMobile = new System.Windows.Forms.Panel();
		this.label15 = new System.Windows.Forms.Label();
		this.cbType = new System.Windows.Forms.ComboBox();
		this.cbDeviceID = new System.Windows.Forms.ComboBox();
		this.label11 = new System.Windows.Forms.Label();
		this.btnSave = new System.Windows.Forms.Button();
		this.btnCancel = new System.Windows.Forms.Button();
		this.label1 = new System.Windows.Forms.Label();
		this.dgStatus = new System.Windows.Forms.DataGridView();
		this.cbNotInUse = new System.Windows.Forms.ComboBox();
		this.cbUUT = new System.Windows.Forms.ComboBox();
		this.label3 = new System.Windows.Forms.Label();
		this.label4 = new System.Windows.Forms.Label();
		this.plGrid = new System.Windows.Forms.Panel();
		this.plTxt = new System.Windows.Forms.Panel();
		this.tbOri = new System.Windows.Forms.TextBox();
		this.plEdit = new System.Windows.Forms.Panel();
		this.btnFile = new System.Windows.Forms.Button();
		this.cbDll = new System.Windows.Forms.ComboBox();
		this.panel1 = new System.Windows.Forms.Panel();
		this.label2 = new System.Windows.Forms.Label();
		this.label6 = new System.Windows.Forms.Label();
		this.label7 = new System.Windows.Forms.Label();
		this.textBox1 = new System.Windows.Forms.TextBox();
		this.lbExt = new System.Windows.Forms.Label();
		this.lbPre = new System.Windows.Forms.Label();
		this.lbItem = new System.Windows.Forms.Label();
		this.tbUserInput = new System.Windows.Forms.TextBox();
		this.plDevice = new System.Windows.Forms.Panel();
		this.cbIdGroup = new System.Windows.Forms.ComboBox();
		this.label5 = new System.Windows.Forms.Label();
		this.plID = new System.Windows.Forms.Panel();
		this.plSave = new System.Windows.Forms.Panel();
		this.plEdit2 = new System.Windows.Forms.Panel();
		this.panel3 = new System.Windows.Forms.Panel();
		this.label17 = new System.Windows.Forms.Label();
		this.label18 = new System.Windows.Forms.Label();
		this.label19 = new System.Windows.Forms.Label();
		this.textBox2 = new System.Windows.Forms.TextBox();
		this.lbExt2 = new System.Windows.Forms.Label();
		this.lbPre2 = new System.Windows.Forms.Label();
		this.lbItem2 = new System.Windows.Forms.Label();
		this.tbUseInput2 = new System.Windows.Forms.TextBox();
		this.cbUsrDll = new System.Windows.Forms.CheckBox();
		this.tbUsrDll = new System.Windows.Forms.TextBox();
		this.btnUsrDll = new System.Windows.Forms.Button();
		this.plInst.SuspendLayout();
		this.gpInst.SuspendLayout();
		this.gpMobile.SuspendLayout();
		this.plMobile.SuspendLayout();
		((System.ComponentModel.ISupportInitialize)this.dgStatus).BeginInit();
		this.plGrid.SuspendLayout();
		this.plTxt.SuspendLayout();
		this.plEdit.SuspendLayout();
		this.panel1.SuspendLayout();
		this.plDevice.SuspendLayout();
		this.plID.SuspendLayout();
		this.plSave.SuspendLayout();
		this.plEdit2.SuspendLayout();
		this.panel3.SuspendLayout();
		base.SuspendLayout();
		this.plInst.Controls.Add(this.gpInst);
		this.plInst.Location = new System.Drawing.Point(97, 79);
		this.plInst.Name = "plInst";
		this.plInst.Size = new System.Drawing.Size(553, 187);
		this.plInst.TabIndex = 35;
		this.gpInst.Controls.Add(this.btnUsrDll);
		this.gpInst.Controls.Add(this.tbUsrDll);
		this.gpInst.Controls.Add(this.cbUsrDll);
		this.gpInst.Controls.Add(this.btnClear);
		this.gpInst.Controls.Add(this.cbRFPortID);
		this.gpInst.Controls.Add(this.tbPortId);
		this.gpInst.Controls.Add(this.tbVisaString);
		this.gpInst.Controls.Add(this.cbOtherVisaString);
		this.gpInst.Controls.Add(this.cbSad);
		this.gpInst.Controls.Add(this.cbPad);
		this.gpInst.Controls.Add(this.cbBid);
		this.gpInst.Controls.Add(this.label14);
		this.gpInst.Controls.Add(this.label16);
		this.gpInst.Controls.Add(this.label13);
		this.gpInst.Controls.Add(this.label12);
		this.gpInst.Dock = System.Windows.Forms.DockStyle.Fill;
		this.gpInst.Location = new System.Drawing.Point(0, 0);
		this.gpInst.Name = "gpInst";
		this.gpInst.Size = new System.Drawing.Size(553, 187);
		this.gpInst.TabIndex = 22;
		this.gpInst.TabStop = false;
		this.gpInst.Text = "Instrument";
		this.btnClear.Location = new System.Drawing.Point(372, 141);
		this.btnClear.Name = "btnClear";
		this.btnClear.Size = new System.Drawing.Size(53, 23);
		this.btnClear.TabIndex = 27;
		this.btnClear.Text = "Clear";
		this.btnClear.UseVisualStyleBackColor = true;
		this.btnClear.Click += new System.EventHandler(btnClear_Click);
		this.cbRFPortID.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
		this.cbRFPortID.FormattingEnabled = true;
		this.cbRFPortID.Location = new System.Drawing.Point(277, 143);
		this.cbRFPortID.Name = "cbRFPortID";
		this.cbRFPortID.Size = new System.Drawing.Size(87, 21);
		this.cbRFPortID.TabIndex = 26;
		this.cbRFPortID.SelectedIndexChanged += new System.EventHandler(cbRFPortID_SelectedIndexChanged);
		this.tbPortId.Location = new System.Drawing.Point(33, 144);
		this.tbPortId.Name = "tbPortId";
		this.tbPortId.Size = new System.Drawing.Size(223, 20);
		this.tbPortId.TabIndex = 25;
		this.tbVisaString.Enabled = false;
		this.tbVisaString.Location = new System.Drawing.Point(165, 51);
		this.tbVisaString.Multiline = true;
		this.tbVisaString.Name = "tbVisaString";
		this.tbVisaString.Size = new System.Drawing.Size(364, 48);
		this.tbVisaString.TabIndex = 23;
		this.cbOtherVisaString.AutoSize = true;
		this.cbOtherVisaString.Location = new System.Drawing.Point(34, 53);
		this.cbOtherVisaString.Name = "cbOtherVisaString";
		this.cbOtherVisaString.Size = new System.Drawing.Size(125, 17);
		this.cbOtherVisaString.TabIndex = 21;
		this.cbOtherVisaString.Text = "Other Connect String";
		this.cbOtherVisaString.UseVisualStyleBackColor = true;
		this.cbOtherVisaString.CheckedChanged += new System.EventHandler(cbOtherVisaString_CheckedChanged);
		this.cbSad.FormattingEnabled = true;
		this.cbSad.Location = new System.Drawing.Point(321, 22);
		this.cbSad.Name = "cbSad";
		this.cbSad.Size = new System.Drawing.Size(59, 21);
		this.cbSad.TabIndex = 19;
		this.cbPad.FormattingEnabled = true;
		this.cbPad.Location = new System.Drawing.Point(199, 22);
		this.cbPad.Name = "cbPad";
		this.cbPad.Size = new System.Drawing.Size(59, 21);
		this.cbPad.TabIndex = 17;
		this.cbBid.FormattingEnabled = true;
		this.cbBid.Location = new System.Drawing.Point(86, 22);
		this.cbBid.Name = "cbBid";
		this.cbBid.Size = new System.Drawing.Size(59, 21);
		this.cbBid.TabIndex = 15;
		this.label14.AutoSize = true;
		this.label14.Location = new System.Drawing.Point(289, 26);
		this.label14.Name = "label14";
		this.label14.Size = new System.Drawing.Size(26, 13);
		this.label14.TabIndex = 17;
		this.label14.Text = "Sad";
		this.label16.AutoSize = true;
		this.label16.Location = new System.Drawing.Point(32, 128);
		this.label16.Name = "label16";
		this.label16.Size = new System.Drawing.Size(449, 13);
		this.label16.TabIndex = 17;
		this.label16.Text = "Optional: RF port id for one or more ports( Comma \",\" delimited; leave blank when no needed )";
		this.label13.AutoSize = true;
		this.label13.Location = new System.Drawing.Point(170, 26);
		this.label13.Name = "label13";
		this.label13.Size = new System.Drawing.Size(26, 13);
		this.label13.TabIndex = 17;
		this.label13.Text = "Pad";
		this.label12.AutoSize = true;
		this.label12.Location = new System.Drawing.Point(31, 26);
		this.label12.Name = "label12";
		this.label12.Size = new System.Drawing.Size(49, 13);
		this.label12.TabIndex = 17;
		this.label12.Text = "Board ID";
		this.gpMobile.Controls.Add(this.cbTimeout);
		this.gpMobile.Controls.Add(this.cbComPort);
		this.gpMobile.Controls.Add(this.cbDiagMode);
		this.gpMobile.Controls.Add(this.label10);
		this.gpMobile.Controls.Add(this.label9);
		this.gpMobile.Controls.Add(this.label8);
		this.gpMobile.Location = new System.Drawing.Point(0, 0);
		this.gpMobile.Name = "gpMobile";
		this.gpMobile.Size = new System.Drawing.Size(464, 109);
		this.gpMobile.TabIndex = 21;
		this.gpMobile.TabStop = false;
		this.gpMobile.Text = "Mobile";
		this.cbTimeout.FormattingEnabled = true;
		this.cbTimeout.Location = new System.Drawing.Point(366, 54);
		this.cbTimeout.Name = "cbTimeout";
		this.cbTimeout.Size = new System.Drawing.Size(58, 21);
		this.cbTimeout.TabIndex = 31;
		this.cbComPort.FormattingEnabled = true;
		this.cbComPort.Location = new System.Drawing.Point(180, 54);
		this.cbComPort.Name = "cbComPort";
		this.cbComPort.Size = new System.Drawing.Size(58, 21);
		this.cbComPort.TabIndex = 29;
		this.cbDiagMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
		this.cbDiagMode.FormattingEnabled = true;
		this.cbDiagMode.Location = new System.Drawing.Point(122, 24);
		this.cbDiagMode.Name = "cbDiagMode";
		this.cbDiagMode.Size = new System.Drawing.Size(302, 21);
		this.cbDiagMode.TabIndex = 27;
		this.label10.AutoSize = true;
		this.label10.Location = new System.Drawing.Point(274, 57);
		this.label10.Name = "label10";
		this.label10.Size = new System.Drawing.Size(90, 13);
		this.label10.TabIndex = 17;
		this.label10.Text = "Time Out Second";
		this.label9.AutoSize = true;
		this.label9.Location = new System.Drawing.Point(30, 57);
		this.label9.Name = "label9";
		this.label9.Size = new System.Drawing.Size(147, 13);
		this.label9.TabIndex = 17;
		this.label9.Text = "Com Port ( -1 for Auto Select )";
		this.label8.AutoSize = true;
		this.label8.Location = new System.Drawing.Point(30, 27);
		this.label8.Name = "label8";
		this.label8.Size = new System.Drawing.Size(59, 13);
		this.label8.TabIndex = 17;
		this.label8.Text = "Diag Mode";
		this.plMobile.Controls.Add(this.gpMobile);
		this.plMobile.Location = new System.Drawing.Point(111, 79);
		this.plMobile.Name = "plMobile";
		this.plMobile.Size = new System.Drawing.Size(477, 120);
		this.plMobile.TabIndex = 34;
		this.label15.AutoSize = true;
		this.label15.Location = new System.Drawing.Point(143, 22);
		this.label15.Name = "label15";
		this.label15.Size = new System.Drawing.Size(18, 13);
		this.label15.TabIndex = 31;
		this.label15.Text = "ID";
		this.cbType.FormattingEnabled = true;
		this.cbType.Location = new System.Drawing.Point(234, 52);
		this.cbType.Name = "cbType";
		this.cbType.Size = new System.Drawing.Size(302, 21);
		this.cbType.TabIndex = 13;
		this.cbDeviceID.FormattingEnabled = true;
		this.cbDeviceID.Location = new System.Drawing.Point(180, 15);
		this.cbDeviceID.Name = "cbDeviceID";
		this.cbDeviceID.Size = new System.Drawing.Size(59, 21);
		this.cbDeviceID.TabIndex = 7;
		this.label11.AutoSize = true;
		this.label11.Location = new System.Drawing.Point(142, 55);
		this.label11.Name = "label11";
		this.label11.Size = new System.Drawing.Size(65, 13);
		this.label11.TabIndex = 28;
		this.label11.Text = "DeviceType";
		this.btnSave.DialogResult = System.Windows.Forms.DialogResult.OK;
		this.btnSave.Location = new System.Drawing.Point(257, 10);
		this.btnSave.Name = "btnSave";
		this.btnSave.Size = new System.Drawing.Size(79, 39);
		this.btnSave.TabIndex = 38;
		this.btnSave.Text = "Apply";
		this.btnSave.UseVisualStyleBackColor = true;
		this.btnSave.Click += new System.EventHandler(btnSave_Click);
		this.btnCancel.Location = new System.Drawing.Point(396, 10);
		this.btnCancel.Name = "btnCancel";
		this.btnCancel.Size = new System.Drawing.Size(79, 39);
		this.btnCancel.TabIndex = 39;
		this.btnCancel.Text = "Cancel";
		this.btnCancel.UseVisualStyleBackColor = true;
		this.btnCancel.Click += new System.EventHandler(btnCancel_Click);
		this.label1.AutoSize = true;
		this.label1.Location = new System.Drawing.Point(12, 38);
		this.label1.Name = "label1";
		this.label1.Size = new System.Drawing.Size(53, 13);
		this.label1.TabIndex = 39;
		this.label1.Text = "Raw data";
		this.dgStatus.AllowUserToAddRows = false;
		this.dgStatus.AllowUserToDeleteRows = false;
		this.dgStatus.BackgroundColor = System.Drawing.SystemColors.Control;
		this.dgStatus.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
		this.dgStatus.Enabled = false;
		this.dgStatus.Location = new System.Drawing.Point(3, 1);
		this.dgStatus.Name = "dgStatus";
		this.dgStatus.ReadOnly = true;
		this.dgStatus.Size = new System.Drawing.Size(632, 62);
		this.dgStatus.TabIndex = 40;
		this.cbNotInUse.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
		this.cbNotInUse.FormattingEnabled = true;
		this.cbNotInUse.Location = new System.Drawing.Point(351, 15);
		this.cbNotInUse.Name = "cbNotInUse";
		this.cbNotInUse.Size = new System.Drawing.Size(72, 21);
		this.cbNotInUse.TabIndex = 9;
		this.cbUUT.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
		this.cbUUT.FormattingEnabled = true;
		this.cbUUT.Location = new System.Drawing.Point(518, 15);
		this.cbUUT.Name = "cbUUT";
		this.cbUUT.Size = new System.Drawing.Size(72, 21);
		this.cbUUT.TabIndex = 11;
		this.cbUUT.SelectedValueChanged += new System.EventHandler(cbUUT_SelectedValueChanged);
		this.label3.AutoSize = true;
		this.label3.Location = new System.Drawing.Point(281, 22);
		this.label3.Name = "label3";
		this.label3.Size = new System.Drawing.Size(38, 13);
		this.label3.TabIndex = 41;
		this.label3.Text = "In Use";
		this.label4.AutoSize = true;
		this.label4.Location = new System.Drawing.Point(463, 22);
		this.label4.Name = "label4";
		this.label4.Size = new System.Drawing.Size(49, 13);
		this.label4.TabIndex = 41;
		this.label4.Text = "Is Mobile";
		this.plGrid.Controls.Add(this.dgStatus);
		this.plGrid.Location = new System.Drawing.Point(68, 12);
		this.plGrid.Name = "plGrid";
		this.plGrid.Size = new System.Drawing.Size(667, 65);
		this.plGrid.TabIndex = 42;
		this.plGrid.Visible = false;
		this.plTxt.Controls.Add(this.tbOri);
		this.plTxt.Location = new System.Drawing.Point(68, 12);
		this.plTxt.Name = "plTxt";
		this.plTxt.Size = new System.Drawing.Size(667, 65);
		this.plTxt.TabIndex = 43;
		this.plTxt.Visible = false;
		this.tbOri.Location = new System.Drawing.Point(24, 23);
		this.tbOri.Name = "tbOri";
		this.tbOri.ReadOnly = true;
		this.tbOri.Size = new System.Drawing.Size(468, 20);
		this.tbOri.TabIndex = 0;
		this.tbOri.TabStop = false;
		this.plEdit.Controls.Add(this.btnFile);
		this.plEdit.Controls.Add(this.cbDll);
		this.plEdit.Controls.Add(this.panel1);
		this.plEdit.Controls.Add(this.lbExt);
		this.plEdit.Controls.Add(this.lbPre);
		this.plEdit.Controls.Add(this.lbItem);
		this.plEdit.Controls.Add(this.tbUserInput);
		this.plEdit.Location = new System.Drawing.Point(91, 80);
		this.plEdit.Name = "plEdit";
		this.plEdit.Size = new System.Drawing.Size(647, 50);
		this.plEdit.TabIndex = 44;
		this.plEdit.Visible = false;
		this.btnFile.Location = new System.Drawing.Point(503, 23);
		this.btnFile.Name = "btnFile";
		this.btnFile.Size = new System.Drawing.Size(38, 23);
		this.btnFile.TabIndex = 46;
		this.btnFile.Text = "...";
		this.btnFile.UseVisualStyleBackColor = true;
		this.btnFile.Visible = false;
		this.btnFile.Click += new System.EventHandler(btnFile_Click);
		this.cbDll.FormattingEnabled = true;
		this.cbDll.Location = new System.Drawing.Point(135, 25);
		this.cbDll.Name = "cbDll";
		this.cbDll.Size = new System.Drawing.Size(335, 21);
		this.cbDll.TabIndex = 3;
		this.cbDll.Visible = false;
		this.panel1.Controls.Add(this.label2);
		this.panel1.Controls.Add(this.label6);
		this.panel1.Controls.Add(this.label7);
		this.panel1.Controls.Add(this.textBox1);
		this.panel1.Location = new System.Drawing.Point(-2, 55);
		this.panel1.Name = "panel1";
		this.panel1.Size = new System.Drawing.Size(647, 50);
		this.panel1.TabIndex = 45;
		this.panel1.Visible = false;
		this.label2.AutoSize = true;
		this.label2.Location = new System.Drawing.Point(483, 28);
		this.label2.Name = "label2";
		this.label2.Size = new System.Drawing.Size(22, 13);
		this.label2.TabIndex = 2;
		this.label2.Text = "Ext";
		this.label6.AutoSize = true;
		this.label6.Location = new System.Drawing.Point(37, 29);
		this.label6.Name = "label6";
		this.label6.Size = new System.Drawing.Size(23, 13);
		this.label6.TabIndex = 2;
		this.label6.Text = "Pre";
		this.label7.AutoSize = true;
		this.label7.Location = new System.Drawing.Point(9, 5);
		this.label7.Name = "label7";
		this.label7.Size = new System.Drawing.Size(26, 13);
		this.label7.TabIndex = 1;
		this.label7.Text = "item";
		this.textBox1.Location = new System.Drawing.Point(135, 26);
		this.textBox1.Name = "textBox1";
		this.textBox1.Size = new System.Drawing.Size(335, 20);
		this.textBox1.TabIndex = 0;
		this.lbExt.AutoSize = true;
		this.lbExt.Location = new System.Drawing.Point(483, 28);
		this.lbExt.Name = "lbExt";
		this.lbExt.Size = new System.Drawing.Size(22, 13);
		this.lbExt.TabIndex = 2;
		this.lbExt.Text = "Ext";
		this.lbPre.AutoSize = true;
		this.lbPre.Location = new System.Drawing.Point(37, 29);
		this.lbPre.Name = "lbPre";
		this.lbPre.Size = new System.Drawing.Size(23, 13);
		this.lbPre.TabIndex = 2;
		this.lbPre.Text = "Pre";
		this.lbItem.AutoSize = true;
		this.lbItem.Location = new System.Drawing.Point(9, 5);
		this.lbItem.Name = "lbItem";
		this.lbItem.Size = new System.Drawing.Size(26, 13);
		this.lbItem.TabIndex = 1;
		this.lbItem.Text = "item";
		this.tbUserInput.Location = new System.Drawing.Point(135, 26);
		this.tbUserInput.Name = "tbUserInput";
		this.tbUserInput.Size = new System.Drawing.Size(335, 20);
		this.tbUserInput.TabIndex = 3;
		this.plDevice.Controls.Add(this.label4);
		this.plDevice.Controls.Add(this.plInst);
		this.plDevice.Controls.Add(this.label3);
		this.plDevice.Controls.Add(this.cbUUT);
		this.plDevice.Controls.Add(this.cbNotInUse);
		this.plDevice.Controls.Add(this.plMobile);
		this.plDevice.Controls.Add(this.label15);
		this.plDevice.Controls.Add(this.cbType);
		this.plDevice.Controls.Add(this.cbDeviceID);
		this.plDevice.Controls.Add(this.label11);
		this.plDevice.Location = new System.Drawing.Point(6, 187);
		this.plDevice.Name = "plDevice";
		this.plDevice.Size = new System.Drawing.Size(732, 269);
		this.plDevice.TabIndex = 45;
		this.plDevice.Visible = false;
		this.cbIdGroup.FormattingEnabled = true;
		this.cbIdGroup.Location = new System.Drawing.Point(42, 21);
		this.cbIdGroup.Name = "cbIdGroup";
		this.cbIdGroup.Size = new System.Drawing.Size(59, 21);
		this.cbIdGroup.TabIndex = 1;
		this.cbIdGroup.TextChanged += new System.EventHandler(cbIdGroup_TextChanged);
		this.label5.AutoSize = true;
		this.label5.Location = new System.Drawing.Point(9, 5);
		this.label5.Name = "label5";
		this.label5.Size = new System.Drawing.Size(21, 13);
		this.label5.TabIndex = 31;
		this.label5.Text = "ID:";
		this.plID.Controls.Add(this.label5);
		this.plID.Controls.Add(this.cbIdGroup);
		this.plID.Location = new System.Drawing.Point(89, 80);
		this.plID.Name = "plID";
		this.plID.Size = new System.Drawing.Size(220, 53);
		this.plID.TabIndex = 44;
		this.plID.Visible = false;
		this.plSave.Controls.Add(this.btnCancel);
		this.plSave.Controls.Add(this.btnSave);
		this.plSave.Location = new System.Drawing.Point(6, 462);
		this.plSave.Name = "plSave";
		this.plSave.Size = new System.Drawing.Size(732, 52);
		this.plSave.TabIndex = 47;
		this.plEdit2.Controls.Add(this.panel3);
		this.plEdit2.Controls.Add(this.lbExt2);
		this.plEdit2.Controls.Add(this.lbPre2);
		this.plEdit2.Controls.Add(this.lbItem2);
		this.plEdit2.Controls.Add(this.tbUseInput2);
		this.plEdit2.Location = new System.Drawing.Point(91, 133);
		this.plEdit2.Name = "plEdit2";
		this.plEdit2.Size = new System.Drawing.Size(647, 50);
		this.plEdit2.TabIndex = 44;
		this.plEdit2.Visible = false;
		this.panel3.Controls.Add(this.label17);
		this.panel3.Controls.Add(this.label18);
		this.panel3.Controls.Add(this.label19);
		this.panel3.Controls.Add(this.textBox2);
		this.panel3.Location = new System.Drawing.Point(-2, 55);
		this.panel3.Name = "panel3";
		this.panel3.Size = new System.Drawing.Size(647, 50);
		this.panel3.TabIndex = 45;
		this.panel3.Visible = false;
		this.label17.AutoSize = true;
		this.label17.Location = new System.Drawing.Point(483, 28);
		this.label17.Name = "label17";
		this.label17.Size = new System.Drawing.Size(22, 13);
		this.label17.TabIndex = 2;
		this.label17.Text = "Ext";
		this.label18.AutoSize = true;
		this.label18.Location = new System.Drawing.Point(37, 29);
		this.label18.Name = "label18";
		this.label18.Size = new System.Drawing.Size(23, 13);
		this.label18.TabIndex = 2;
		this.label18.Text = "Pre";
		this.label19.AutoSize = true;
		this.label19.Location = new System.Drawing.Point(9, 5);
		this.label19.Name = "label19";
		this.label19.Size = new System.Drawing.Size(26, 13);
		this.label19.TabIndex = 1;
		this.label19.Text = "item";
		this.textBox2.Location = new System.Drawing.Point(135, 26);
		this.textBox2.Name = "textBox2";
		this.textBox2.Size = new System.Drawing.Size(335, 20);
		this.textBox2.TabIndex = 0;
		this.lbExt2.AutoSize = true;
		this.lbExt2.Location = new System.Drawing.Point(483, 28);
		this.lbExt2.Name = "lbExt2";
		this.lbExt2.Size = new System.Drawing.Size(22, 13);
		this.lbExt2.TabIndex = 2;
		this.lbExt2.Text = "Ext";
		this.lbPre2.AutoSize = true;
		this.lbPre2.Location = new System.Drawing.Point(37, 29);
		this.lbPre2.Name = "lbPre2";
		this.lbPre2.Size = new System.Drawing.Size(23, 13);
		this.lbPre2.TabIndex = 2;
		this.lbPre2.Text = "Pre";
		this.lbItem2.AutoSize = true;
		this.lbItem2.Location = new System.Drawing.Point(9, 5);
		this.lbItem2.Name = "lbItem2";
		this.lbItem2.Size = new System.Drawing.Size(26, 13);
		this.lbItem2.TabIndex = 1;
		this.lbItem2.Text = "item";
		this.tbUseInput2.Location = new System.Drawing.Point(135, 26);
		this.tbUseInput2.Name = "tbUseInput2";
		this.tbUseInput2.Size = new System.Drawing.Size(335, 20);
		this.tbUseInput2.TabIndex = 5;
		this.cbUsrDll.AutoSize = true;
		this.cbUsrDll.Location = new System.Drawing.Point(34, 108);
		this.cbUsrDll.Name = "cbUsrDll";
		this.cbUsrDll.Size = new System.Drawing.Size(61, 17);
		this.cbUsrDll.TabIndex = 28;
		this.cbUsrDll.Text = "User dll";
		this.cbUsrDll.UseVisualStyleBackColor = true;
		this.cbUsrDll.CheckedChanged += new System.EventHandler(cbUsrDll_CheckedChanged);
		this.tbUsrDll.Location = new System.Drawing.Point(106, 106);
		this.tbUsrDll.Name = "tbUsrDll";
		this.tbUsrDll.Size = new System.Drawing.Size(372, 20);
		this.tbUsrDll.TabIndex = 29;
		this.btnUsrDll.Location = new System.Drawing.Point(491, 106);
		this.btnUsrDll.Name = "btnUsrDll";
		this.btnUsrDll.Size = new System.Drawing.Size(38, 23);
		this.btnUsrDll.TabIndex = 47;
		this.btnUsrDll.Text = "...";
		this.btnUsrDll.UseVisualStyleBackColor = true;
		this.btnUsrDll.Click += new System.EventHandler(btnUsrDll_Click);
		base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 13f);
		base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
		base.ClientSize = new System.Drawing.Size(760, 524);
		base.Controls.Add(this.plSave);
		base.Controls.Add(this.plTxt);
		base.Controls.Add(this.plID);
		base.Controls.Add(this.plDevice);
		base.Controls.Add(this.plEdit2);
		base.Controls.Add(this.plEdit);
		base.Controls.Add(this.plGrid);
		base.Controls.Add(this.label1);
		base.Name = "QSeqPopUpEditForm";
		base.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
		this.Text = "QSeqPopUpEditForm";
		base.Load += new System.EventHandler(QSeqPopUpEditForm_Load);
		this.plInst.ResumeLayout(false);
		this.gpInst.ResumeLayout(false);
		this.gpInst.PerformLayout();
		this.gpMobile.ResumeLayout(false);
		this.gpMobile.PerformLayout();
		this.plMobile.ResumeLayout(false);
		((System.ComponentModel.ISupportInitialize)this.dgStatus).EndInit();
		this.plGrid.ResumeLayout(false);
		this.plTxt.ResumeLayout(false);
		this.plTxt.PerformLayout();
		this.plEdit.ResumeLayout(false);
		this.plEdit.PerformLayout();
		this.panel1.ResumeLayout(false);
		this.panel1.PerformLayout();
		this.plDevice.ResumeLayout(false);
		this.plDevice.PerformLayout();
		this.plID.ResumeLayout(false);
		this.plID.PerformLayout();
		this.plSave.ResumeLayout(false);
		this.plEdit2.ResumeLayout(false);
		this.plEdit2.PerformLayout();
		this.panel3.ResumeLayout(false);
		this.panel3.PerformLayout();
		base.ResumeLayout(false);
		base.PerformLayout();
	}
}
