/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> public void InitializeComponent() { this.FieldName = new System.Windows.Forms.VB.TextBox(); this.cmdCancel = new System.Windows.Forms.VB.CommandButton(); this.cmdOkay = new System.Windows.Forms.VB.CommandButton(); this.txtLength = new System.Windows.Forms.VB.TextBox(); this.lstType = new System.Windows.Forms.VB.ListBox(); this.Label3 = new System.Windows.Forms.VB.Label(); this.Label2 = new System.Windows.Forms.VB.Label(); this.Label1 = new System.Windows.Forms.VB.Label(); this.SuspendLayout(); // // FieldName // this.FieldName.Name = "FieldName"; this.FieldName.Size = new System.Drawing.Size(171, 20); this.FieldName.Location = new System.Drawing.Point(4, 18); this.FieldName.TabIndex = 0; // // cmdCancel // this.cmdCancel.Name = "cmdCancel"; this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cmdCancel.Text = "&Cancel"; this.cmdCancel.Size = new System.Drawing.Size(57, 29); this.cmdCancel.Location = new System.Drawing.Point(118, 96); this.cmdCancel.TabIndex = 4; // // cmdOkay // this.cmdOkay.Name = "cmdOkay"; this.cmdOkay.Text = "&OK"; this.cmdOkay.DialogResult = System.Windows.Forms.DialogResult.OK; this.cmdOkay.Size = new System.Drawing.Size(57, 29); this.cmdOkay.Location = new System.Drawing.Point(118, 60); this.cmdOkay.TabIndex = 3; // // txtLength // this.txtLength.Name = "txtLength"; this.txtLength.TextAlign = System.Drawing.ContentAlignment.TopRight; this.txtLength.Size = new System.Drawing.Size(107, 20); this.txtLength.Location = new System.Drawing.Point(4, 222); // this.txtLength.MultiLine = -1; this.txtLength.TabIndex = 2; this.txtLength.Text = "frmODBCFieldType.frx":0000; // // lstType // this.lstType.Name = "lstType"; this.lstType.Size = new System.Drawing.Size(107, 138); // this.lstType.IntegralHeight = 0; // this.lstType.ItemData = "frmODBCFieldType.frx":0004; this.lstType.Location = new System.Drawing.Point(4, 60); // this.lstType.List = "frmODBCFieldType.frx":0026; this.lstType.TabIndex = 1; // // Label3 // this.Label3.Name = "Label3"; this.Label3.Text = "Field Name:"; this.Label3.Size = new System.Drawing.Size(56, 13); this.Label3.Location = new System.Drawing.Point(4, 0); this.Label3.TabIndex = 7; // // Label2 // this.Label2.Name = "Label2"; this.Label2.Text = "Field Length:"; this.Label2.Size = new System.Drawing.Size(61, 13); this.Label2.Location = new System.Drawing.Point(4, 204); this.Label2.TabIndex = 6; // // Label1 // this.Label1.Name = "Label1"; this.Label1.Text = "Field Type:"; this.Label1.Size = new System.Drawing.Size(52, 13); this.Label1.Location = new System.Drawing.Point(4, 44); this.Label1.TabIndex = 5; // // frmODBCFieldType // this.Controls.AddRange(new System.Windows.Forms.Control[] { this.FieldName, this.cmdCancel, this.cmdOkay, this.txtLength, this.lstType, this.Label3, this.Label2, this.Label1 }); this.Name = "frmODBCFieldType"; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Text = "Set Field Name, type, size"; this.ClientSize = new System.Drawing.Size(178, 247); this.ControlBox = false; this.MaximizeBox = false; this.MinimizeBox = false; this.ShowInTaskbar = false; this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> public void InitializeComponent() { this.txtDataPaste = new System.Windows.Forms.VB.TextBox(); this.cmdRemove = new System.Windows.Forms.VB.CommandButton(); this.lstDataToPost = new System.Windows.Forms.VB.ListBox(); this.cmdAdd = new System.Windows.Forms.VB.CommandButton(); this.cmdCancel = new System.Windows.Forms.VB.CommandButton(); this.cmdOkay = new System.Windows.Forms.VB.CommandButton(); this.txtObjectToActivate = new System.Windows.Forms.VB.TextBox(); this.txtAltURL = new System.Windows.Forms.VB.TextBox(); this.txtURL = new System.Windows.Forms.VB.TextBox(); this.lblDataToPost = new System.Windows.Forms.VB.Label(); this.lblObjectToActivate = new System.Windows.Forms.VB.Label(); this.lblAltURL = new System.Windows.Forms.VB.Label(); this.lblURL = new System.Windows.Forms.VB.Label(); this.SuspendLayout(); // // txtDataPaste // this.txtDataPaste.Name = "txtDataPaste"; this.txtDataPaste.Size = new System.Drawing.Size(366, 20); this.txtDataPaste.Location = new System.Drawing.Point(139, 227); this.txtDataPaste.TabIndex = 12; // // cmdRemove // this.cmdRemove.Name = "cmdRemove"; this.cmdRemove.Text = "-"; this.cmdRemove.Font = new System.Drawing.Font("MS Sans Serif",12F, ( System.Drawing.FontStyle.Bold ), System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.cmdRemove.Size = new System.Drawing.Size(19, 60); this.cmdRemove.Location = new System.Drawing.Point(121, 168); this.cmdRemove.TabIndex = 11; // this.cmdRemove.ToolTipText = "Remove the currently selected entry from the list"; // // lstDataToPost // this.lstDataToPost.Name = "lstDataToPost"; this.lstDataToPost.Size = new System.Drawing.Size(366, 121); // this.lstDataToPost.IntegralHeight = 0; // this.lstDataToPost.ItemData = "frmAutoWebURLEntry.frx":0000; this.lstDataToPost.Location = new System.Drawing.Point(139, 106); // this.lstDataToPost.List = "frmAutoWebURLEntry.frx":0002; this.lstDataToPost.TabIndex = 10; // // cmdAdd // this.cmdAdd.Name = "cmdAdd"; this.cmdAdd.Text = "+"; this.cmdAdd.Font = new System.Drawing.Font("MS Sans Serif",12F, ( System.Drawing.FontStyle.Bold ), System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.cmdAdd.Size = new System.Drawing.Size(19, 60); this.cmdAdd.Location = new System.Drawing.Point(121, 107); this.cmdAdd.TabIndex = 9; // this.cmdAdd.ToolTipText = "Add a new entry to the list"; // // cmdCancel // this.cmdCancel.Name = "cmdCancel"; this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cmdCancel.Text = "&Cancel"; this.cmdCancel.Size = new System.Drawing.Size(81, 33); this.cmdCancel.Location = new System.Drawing.Point(1, 194); this.cmdCancel.TabIndex = 8; // // cmdOkay // this.cmdOkay.Name = "cmdOkay"; this.cmdOkay.Text = "&Okay"; this.cmdOkay.DialogResult = System.Windows.Forms.DialogResult.OK; this.cmdOkay.Size = new System.Drawing.Size(81, 33); this.cmdOkay.Location = new System.Drawing.Point(1, 158); this.cmdOkay.TabIndex = 7; // // txtObjectToActivate // this.txtObjectToActivate.Name = "txtObjectToActivate"; this.txtObjectToActivate.Size = new System.Drawing.Size(366, 20); this.txtObjectToActivate.Location = new System.Drawing.Point(139, 73); this.txtObjectToActivate.TabIndex = 5; // // txtAltURL // this.txtAltURL.Name = "txtAltURL"; this.txtAltURL.Size = new System.Drawing.Size(366, 20); this.txtAltURL.Location = new System.Drawing.Point(139, 40); this.txtAltURL.TabIndex = 3; // // txtURL // this.txtURL.Name = "txtURL"; this.txtURL.Size = new System.Drawing.Size(366, 20); this.txtURL.Location = new System.Drawing.Point(139, 6); this.txtURL.TabIndex = 1; // // lblDataToPost // this.lblDataToPost.Name = "lblDataToPost"; this.lblDataToPost.Text = "Data To Post"; this.lblDataToPost.Size = new System.Drawing.Size(80, 32); this.lblDataToPost.Location = new System.Drawing.Point(5, 107); this.lblDataToPost.TabIndex = 6; // // lblObjectToActivate // this.lblObjectToActivate.Name = "lblObjectToActivate"; this.lblObjectToActivate.Text = "Object To Activate"; this.lblObjectToActivate.Size = new System.Drawing.Size(124, 32); this.lblObjectToActivate.Location = new System.Drawing.Point(5, 73); this.lblObjectToActivate.TabIndex = 4; // // lblAltURL // this.lblAltURL.Name = "lblAltURL"; this.lblAltURL.Text = "Alt URL"; this.lblAltURL.Size = new System.Drawing.Size(80, 32); this.lblAltURL.Location = new System.Drawing.Point(4, 39); this.lblAltURL.TabIndex = 2; // // lblURL // this.lblURL.Name = "lblURL"; this.lblURL.Text = "URL"; this.lblURL.Size = new System.Drawing.Size(80, 32); this.lblURL.Location = new System.Drawing.Point(5, 7); this.lblURL.TabIndex = 0; // // frmURLEntry // this.Controls.AddRange(new System.Windows.Forms.Control[] { this.txtDataPaste, this.cmdRemove, this.lstDataToPost, this.cmdAdd, this.cmdCancel, this.cmdOkay, this.txtObjectToActivate, this.txtAltURL, this.txtURL, this.lblDataToPost, this.lblObjectToActivate, this.lblAltURL, this.lblURL }); this.Name = "frmURLEntry"; this.ResumeLayout(false); }
public void lstType_Click() { txtLength.Enabled = (lstType = "Text"); }