private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(PlayForm)); this.cmbSourcePorts = new ComboBox(); this.btnOK = new Button(); this.btnCancel = new Button(); this.cmbIwad = new ComboBox(); this.chkRemember = new CheckBox(); this.groupBox1 = new GroupBox(); this.label2 = new Label(); this.label1 = new Label(); this.cmbMap = new ComboBox(); this.label4 = new Label(); this.cmbSkill = new ComboBox(); this.chkRecord = new CheckBox(); this.txtDescription = new TextBox(); this.cmbDemo = new ComboBox(); this.chkDemo = new CheckBox(); this.chkMap = new CheckBox(); this.groupBox2 = new GroupBox(); this.label3 = new Label(); this.txtParameters = new TextBox(); this.chkPreview = new CheckBox(); this.lnkMore = new LinkLabel(); this.chkSaveStats = new CheckBox(); this.groupBox4 = new GroupBox(); this.lnkSpecific = new LinkLabel(); this.groupBox3 = new GroupBox(); this.tblFiles = new TableLayoutPanel(); this.panel1 = new Panel(); this.lblInfo = new Label(); this.pbInfo = new PictureBox(); this.tblMain = new TableLayoutPanel(); this.tblInner = new TableLayoutPanel(); this.pnlLeft = new Panel(); this.pnlBottom = new Panel(); this.btnSaveSettings = new Button(); this.flpButtons = new FlowLayoutPanel(); this.ctrlFiles = new FilesCtrl(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox4.SuspendLayout(); this.groupBox3.SuspendLayout(); this.tblFiles.SuspendLayout(); this.panel1.SuspendLayout(); ((ISupportInitialize)this.pbInfo).BeginInit(); this.tblMain.SuspendLayout(); this.tblInner.SuspendLayout(); this.pnlLeft.SuspendLayout(); this.pnlBottom.SuspendLayout(); this.flpButtons.SuspendLayout(); base.SuspendLayout(); this.cmbSourcePorts.DisplayMember = "Name"; this.cmbSourcePorts.FormattingEnabled = true; this.cmbSourcePorts.Location = new Point(0x2f, 0x13); this.cmbSourcePorts.Name = "cmbSourcePorts"; this.cmbSourcePorts.Size = new Size(0xc5, 0x15); this.cmbSourcePorts.TabIndex = 0; this.cmbSourcePorts.SelectedIndexChanged += new EventHandler(this.cmbSourcePorts_SelectedIndexChanged); this.btnOK.DialogResult = DialogResult.OK; this.btnOK.Location = new Point(0x29, 5); this.btnOK.Name = "btnOK"; this.btnOK.Size = new Size(0x4b, 0x17); this.btnOK.TabIndex = 1; this.btnOK.Text = "OK"; this.btnOK.UseVisualStyleBackColor = true; this.btnOK.Click += new EventHandler(this.btnOK_Click); this.btnCancel.DialogResult = DialogResult.Cancel; this.btnCancel.Location = new Point(0x7a, 5); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new Size(0x4b, 0x17); this.btnCancel.TabIndex = 2; this.btnCancel.Text = "Cancel"; this.btnCancel.UseVisualStyleBackColor = true; this.cmbIwad.DisplayMember = "FileName"; this.cmbIwad.FormattingEnabled = true; this.cmbIwad.Location = new Point(0x2f, 0x2e); this.cmbIwad.Name = "cmbIwad"; this.cmbIwad.Size = new Size(0xc5, 0x15); this.cmbIwad.TabIndex = 3; this.cmbIwad.ValueMember = "GameFileID"; this.cmbIwad.SelectedIndexChanged += new EventHandler(this.cmbIwad_SelectedIndexChanged); this.chkRemember.AutoSize = true; this.chkRemember.Checked = true; this.chkRemember.CheckState = CheckState.Checked; this.chkRemember.Location = new Point(9, 9); this.chkRemember.Name = "chkRemember"; this.chkRemember.Size = new Size(0x76, 0x11); this.chkRemember.TabIndex = 4; this.chkRemember.Text = "Remember Settings"; this.chkRemember.UseVisualStyleBackColor = true; this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.cmbSourcePorts); this.groupBox1.Controls.Add(this.cmbIwad); this.groupBox1.Location = new Point(3, 7); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new Size(0xfc, 80); this.groupBox1.TabIndex = 5; this.groupBox1.TabStop = false; this.label2.AutoSize = true; this.label2.Location = new Point(6, 0x31); this.label2.Name = "label2"; this.label2.Size = new Size(0x24, 13); this.label2.TabIndex = 8; this.label2.Text = "IWAD"; this.label1.AutoSize = true; this.label1.Location = new Point(6, 0x16); this.label1.Name = "label1"; this.label1.Size = new Size(0x1a, 13); this.label1.TabIndex = 7; this.label1.Text = "Port"; this.cmbMap.DisplayMember = "Name"; this.cmbMap.Enabled = false; this.cmbMap.FormattingEnabled = true; this.cmbMap.Location = new Point(0x52, 0x13); this.cmbMap.Name = "cmbMap"; this.cmbMap.Size = new Size(160, 0x15); this.cmbMap.TabIndex = 6; this.label4.AutoSize = true; this.label4.Location = new Point(0x17, 0x31); this.label4.Name = "label4"; this.label4.Size = new Size(0x1a, 13); this.label4.TabIndex = 11; this.label4.Text = "Skill"; this.cmbSkill.DisplayMember = "Name"; this.cmbSkill.Enabled = false; this.cmbSkill.FormattingEnabled = true; this.cmbSkill.Location = new Point(0x52, 0x2e); this.cmbSkill.Name = "cmbSkill"; this.cmbSkill.Size = new Size(160, 0x15); this.cmbSkill.TabIndex = 10; this.chkRecord.AutoSize = true; this.chkRecord.Location = new Point(7, 0x67); this.chkRecord.Name = "chkRecord"; this.chkRecord.Size = new Size(0x3d, 0x11); this.chkRecord.TabIndex = 12; this.chkRecord.Text = "Record"; this.chkRecord.UseVisualStyleBackColor = true; this.chkRecord.CheckedChanged += new EventHandler(this.chkRecord_CheckedChanged); this.txtDescription.Enabled = false; this.txtDescription.Location = new Point(0x52, 100); this.txtDescription.Name = "txtDescription"; this.txtDescription.Size = new Size(160, 20); this.txtDescription.TabIndex = 13; this.cmbDemo.DisplayMember = "Description"; this.cmbDemo.Enabled = false; this.cmbDemo.FormattingEnabled = true; this.cmbDemo.Location = new Point(0x52, 0x49); this.cmbDemo.Name = "cmbDemo"; this.cmbDemo.Size = new Size(160, 0x15); this.cmbDemo.TabIndex = 14; this.chkDemo.AutoSize = true; this.chkDemo.Location = new Point(7, 0x4b); this.chkDemo.Name = "chkDemo"; this.chkDemo.Size = new Size(0x4d, 0x11); this.chkDemo.TabIndex = 15; this.chkDemo.Text = "Play Demo"; this.chkDemo.UseVisualStyleBackColor = true; this.chkDemo.CheckedChanged += new EventHandler(this.chkDemo_CheckedChanged); this.chkMap.AutoSize = true; this.chkMap.Location = new Point(7, 0x15); this.chkMap.Name = "chkMap"; this.chkMap.Size = new Size(0x2f, 0x11); this.chkMap.TabIndex = 0x10; this.chkMap.Text = "Map"; this.chkMap.UseVisualStyleBackColor = true; this.chkMap.CheckedChanged += new EventHandler(this.chkMap_CheckedChanged); this.groupBox2.Controls.Add(this.label3); this.groupBox2.Controls.Add(this.txtParameters); this.groupBox2.Controls.Add(this.cmbMap); this.groupBox2.Controls.Add(this.chkMap); this.groupBox2.Controls.Add(this.cmbSkill); this.groupBox2.Controls.Add(this.chkDemo); this.groupBox2.Controls.Add(this.label4); this.groupBox2.Controls.Add(this.cmbDemo); this.groupBox2.Controls.Add(this.chkRecord); this.groupBox2.Controls.Add(this.txtDescription); this.groupBox2.Location = new Point(3, 0x5d); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new Size(0x101, 0x9b); this.groupBox2.TabIndex = 0x11; this.groupBox2.TabStop = false; this.label3.AutoSize = true; this.label3.Location = new Point(6, 0x81); this.label3.Name = "label3"; this.label3.Size = new Size(0x45, 13); this.label3.TabIndex = 0x12; this.label3.Text = "Extra Params"; this.txtParameters.Location = new Point(0x52, 0x7e); this.txtParameters.Name = "txtParameters"; this.txtParameters.Size = new Size(160, 20); this.txtParameters.TabIndex = 0x11; this.chkPreview.AutoSize = true; this.chkPreview.Location = new Point(6, 0x2b); this.chkPreview.Name = "chkPreview"; this.chkPreview.Size = new Size(0x9f, 0x11); this.chkPreview.TabIndex = 0x15; this.chkPreview.Text = "Preview Launch Parameters"; this.chkPreview.UseVisualStyleBackColor = true; this.lnkMore.AutoSize = true; this.lnkMore.Location = new Point(0x6c, 20); this.lnkMore.Name = "lnkMore"; this.lnkMore.Size = new Size(0x3d, 13); this.lnkMore.TabIndex = 20; this.lnkMore.TabStop = true; this.lnkMore.Text = "More Info..."; this.lnkMore.LinkClicked += new LinkLabelLinkClickedEventHandler(this.lnkMore_LinkClicked); this.chkSaveStats.AutoSize = true; this.chkSaveStats.Checked = true; this.chkSaveStats.CheckState = CheckState.Checked; this.chkSaveStats.Location = new Point(6, 20); this.chkSaveStats.Name = "chkSaveStats"; this.chkSaveStats.Size = new Size(0x60, 0x11); this.chkSaveStats.TabIndex = 0x13; this.chkSaveStats.Text = "Save Statistics"; this.chkSaveStats.UseVisualStyleBackColor = true; this.groupBox4.Controls.Add(this.chkPreview); this.groupBox4.Controls.Add(this.chkSaveStats); this.groupBox4.Controls.Add(this.lnkMore); this.groupBox4.Location = new Point(3, 0xfe); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new Size(0x101, 0x44); this.groupBox4.TabIndex = 20; this.groupBox4.TabStop = false; this.lnkSpecific.Anchor = AnchorStyles.Left; this.lnkSpecific.AutoSize = true; this.lnkSpecific.Location = new Point(3, 0x125); this.lnkSpecific.Name = "lnkSpecific"; this.lnkSpecific.Size = new Size(0x76, 13); this.lnkSpecific.TabIndex = 0x13; this.lnkSpecific.TabStop = true; this.lnkSpecific.Text = "Select Individual Files..."; this.lnkSpecific.LinkClicked += new LinkLabelLinkClickedEventHandler(this.lnkSpecific_LinkClicked); this.groupBox3.Controls.Add(this.tblFiles); this.groupBox3.Dock = DockStyle.Fill; this.groupBox3.Location = new Point(0x109, 3); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new Size(0xec, 0x14b); this.groupBox3.TabIndex = 0x12; this.groupBox3.TabStop = false; this.groupBox3.Text = "Additional Files / Load Order"; this.tblFiles.ColumnCount = 1; this.tblFiles.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f)); this.tblFiles.Controls.Add(this.ctrlFiles, 0, 1); this.tblFiles.Controls.Add(this.lnkSpecific, 0, 2); this.tblFiles.Controls.Add(this.panel1, 0, 0); this.tblFiles.Dock = DockStyle.Fill; this.tblFiles.Location = new Point(3, 0x10); this.tblFiles.Margin = new Padding(0); this.tblFiles.Name = "tblFiles"; this.tblFiles.RowCount = 3; this.tblFiles.RowStyles.Add(new RowStyle(SizeType.Absolute, 40f)); this.tblFiles.RowStyles.Add(new RowStyle(SizeType.Percent, 100f)); this.tblFiles.RowStyles.Add(new RowStyle(SizeType.Absolute, 24f)); this.tblFiles.Size = new Size(230, 0x138); this.tblFiles.TabIndex = 0; this.panel1.Controls.Add(this.lblInfo); this.panel1.Controls.Add(this.pbInfo); this.panel1.Dock = DockStyle.Fill; this.panel1.Location = new Point(0, 0); this.panel1.Margin = new Padding(0); this.panel1.Name = "panel1"; this.panel1.Size = new Size(230, 40); this.panel1.TabIndex = 0x15; this.lblInfo.AutoSize = true; this.lblInfo.Location = new Point(0x19, 7); this.lblInfo.Name = "lblInfo"; this.lblInfo.Size = new Size(0x1d, 13); this.lblInfo.TabIndex = 0x19; this.lblInfo.Text = "label"; this.pbInfo.Location = new Point(3, 7); this.pbInfo.Name = "pbInfo"; this.pbInfo.Size = new Size(0x10, 0x10); this.pbInfo.TabIndex = 0x18; this.pbInfo.TabStop = false; this.tblMain.ColumnCount = 1; this.tblMain.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f)); this.tblMain.Controls.Add(this.tblInner, 0, 0); this.tblMain.Controls.Add(this.pnlBottom, 0, 1); this.tblMain.Dock = DockStyle.Fill; this.tblMain.Location = new Point(0, 0); this.tblMain.Name = "tblMain"; this.tblMain.RowCount = 2; this.tblMain.RowStyles.Add(new RowStyle(SizeType.Percent, 100f)); this.tblMain.RowStyles.Add(new RowStyle(SizeType.Absolute, 32f)); this.tblMain.Size = new Size(0x1f8, 0x171); this.tblMain.TabIndex = 0x15; this.tblInner.ColumnCount = 2; this.tblInner.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 262f)); this.tblInner.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f)); this.tblInner.Controls.Add(this.pnlLeft, 0, 0); this.tblInner.Controls.Add(this.groupBox3, 1, 0); this.tblInner.Dock = DockStyle.Fill; this.tblInner.Location = new Point(0, 0); this.tblInner.Margin = new Padding(0); this.tblInner.Name = "tblInner"; this.tblInner.RowCount = 1; this.tblInner.RowStyles.Add(new RowStyle(SizeType.Percent, 100f)); this.tblInner.Size = new Size(0x1f8, 0x151); this.tblInner.TabIndex = 0; this.pnlLeft.Controls.Add(this.groupBox1); this.pnlLeft.Controls.Add(this.groupBox4); this.pnlLeft.Controls.Add(this.groupBox2); this.pnlLeft.Dock = DockStyle.Fill; this.pnlLeft.Location = new Point(0, 0); this.pnlLeft.Margin = new Padding(0); this.pnlLeft.Name = "pnlLeft"; this.pnlLeft.Size = new Size(0x106, 0x151); this.pnlLeft.TabIndex = 0; this.pnlBottom.Controls.Add(this.btnSaveSettings); this.pnlBottom.Controls.Add(this.flpButtons); this.pnlBottom.Controls.Add(this.chkRemember); this.pnlBottom.Dock = DockStyle.Fill; this.pnlBottom.Location = new Point(0, 0x151); this.pnlBottom.Margin = new Padding(0); this.pnlBottom.Name = "pnlBottom"; this.pnlBottom.Size = new Size(0x1f8, 0x20); this.pnlBottom.TabIndex = 1; this.btnSaveSettings.Location = new Point(0x85, 5); this.btnSaveSettings.Name = "btnSaveSettings"; this.btnSaveSettings.Size = new Size(0x52, 0x17); this.btnSaveSettings.TabIndex = 6; this.btnSaveSettings.Text = "Save Settings"; this.btnSaveSettings.UseVisualStyleBackColor = true; this.btnSaveSettings.Click += new EventHandler(this.btnSaveSettings_Click); this.flpButtons.Controls.Add(this.btnCancel); this.flpButtons.Controls.Add(this.btnOK); this.flpButtons.Dock = DockStyle.Right; this.flpButtons.FlowDirection = FlowDirection.RightToLeft; this.flpButtons.Location = new Point(0x130, 0); this.flpButtons.Name = "flpButtons"; this.flpButtons.Padding = new Padding(0, 2, 0, 0); this.flpButtons.Size = new Size(200, 0x20); this.flpButtons.TabIndex = 5; this.ctrlFiles.Dock = DockStyle.Fill; this.ctrlFiles.Location = new Point(3, 0x2b); this.ctrlFiles.Name = "ctrlFiles"; this.ctrlFiles.Size = new Size(0xe0, 0xf2); this.ctrlFiles.TabIndex = 20; base.AcceptButton = this.btnOK; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.CancelButton = this.btnCancel; base.ClientSize = new Size(0x1f8, 0x171); base.Controls.Add(this.tblMain); base.Icon = (Icon)manager.GetObject("$this.Icon"); base.Name = "PlayForm"; base.ShowIcon = false; this.Text = "Run"; this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.groupBox4.ResumeLayout(false); this.groupBox4.PerformLayout(); this.groupBox3.ResumeLayout(false); this.tblFiles.ResumeLayout(false); this.tblFiles.PerformLayout(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((ISupportInitialize)this.pbInfo).EndInit(); this.tblMain.ResumeLayout(false); this.tblInner.ResumeLayout(false); this.pnlLeft.ResumeLayout(false); this.pnlBottom.ResumeLayout(false); this.pnlBottom.PerformLayout(); this.flpButtons.ResumeLayout(false); base.ResumeLayout(false); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(SourcePortEditForm)); this.tblMain = new TableLayoutPanel(); this.flowLayoutPanel1 = new FlowLayoutPanel(); this.button1 = new Button(); this.btnSave = new Button(); this.groupBox1 = new GroupBox(); this.lblInfo = new Label(); this.pbInfo = new PictureBox(); this.ctrlFiles = new FilesCtrl(); this.groupBox2 = new GroupBox(); this.sourcePortEdit1 = new SourcePortEdit(); this.tblMain.SuspendLayout(); this.flowLayoutPanel1.SuspendLayout(); this.groupBox1.SuspendLayout(); ((ISupportInitialize)this.pbInfo).BeginInit(); this.groupBox2.SuspendLayout(); base.SuspendLayout(); this.tblMain.ColumnCount = 1; this.tblMain.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f)); this.tblMain.Controls.Add(this.flowLayoutPanel1, 0, 2); this.tblMain.Controls.Add(this.groupBox1, 0, 1); this.tblMain.Controls.Add(this.groupBox2, 0, 0); this.tblMain.Dock = DockStyle.Fill; this.tblMain.Location = new Point(0, 0); this.tblMain.Name = "tblMain"; this.tblMain.RowCount = 3; this.tblMain.RowStyles.Add(new RowStyle(SizeType.Absolute, 100f)); this.tblMain.RowStyles.Add(new RowStyle(SizeType.Absolute, 200f)); this.tblMain.RowStyles.Add(new RowStyle(SizeType.Absolute, 200f)); this.tblMain.Size = new Size(0x164, 0x14e); this.tblMain.TabIndex = 2; this.flowLayoutPanel1.Controls.Add(this.button1); this.flowLayoutPanel1.Controls.Add(this.btnSave); this.flowLayoutPanel1.Dock = DockStyle.Fill; this.flowLayoutPanel1.FlowDirection = FlowDirection.RightToLeft; this.flowLayoutPanel1.Location = new Point(0, 300); this.flowLayoutPanel1.Margin = new Padding(0); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Size = new Size(0x164, 200); this.flowLayoutPanel1.TabIndex = 1; this.button1.DialogResult = DialogResult.Cancel; this.button1.Location = new Point(0x116, 3); this.button1.Name = "button1"; this.button1.Size = new Size(0x4b, 0x17); this.button1.TabIndex = 0; this.button1.Text = "Cancel"; this.button1.UseVisualStyleBackColor = true; this.btnSave.DialogResult = DialogResult.OK; this.btnSave.Location = new Point(0xc5, 3); this.btnSave.Name = "btnSave"; this.btnSave.Size = new Size(0x4b, 0x17); this.btnSave.TabIndex = 1; this.btnSave.Text = "Save"; this.btnSave.UseVisualStyleBackColor = true; this.btnSave.Click += new EventHandler(this.btnSave_Click); this.groupBox1.Controls.Add(this.lblInfo); this.groupBox1.Controls.Add(this.pbInfo); this.groupBox1.Controls.Add(this.ctrlFiles); this.groupBox1.Location = new Point(3, 0x67); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new Size(350, 0xc2); this.groupBox1.TabIndex = 3; this.groupBox1.TabStop = false; this.groupBox1.Text = "Additional Files"; this.lblInfo.AutoSize = true; this.lblInfo.Location = new Point(0x1f, 0x13); this.lblInfo.Name = "lblInfo"; this.lblInfo.Size = new Size(0x1d, 13); this.lblInfo.TabIndex = 0x17; this.lblInfo.Text = "label"; this.pbInfo.Location = new Point(9, 0x13); this.pbInfo.Name = "pbInfo"; this.pbInfo.Size = new Size(0x10, 0x10); this.pbInfo.TabIndex = 0x16; this.pbInfo.TabStop = false; this.ctrlFiles.Location = new Point(9, 0x33); this.ctrlFiles.Name = "ctrlFiles"; this.ctrlFiles.Size = new Size(0x14c, 0x89); this.ctrlFiles.TabIndex = 0x15; this.groupBox2.Controls.Add(this.sourcePortEdit1); this.groupBox2.Location = new Point(3, 3); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new Size(350, 0x5e); this.groupBox2.TabIndex = 4; this.groupBox2.TabStop = false; this.groupBox2.Text = "Properties"; this.sourcePortEdit1.Location = new Point(6, 13); this.sourcePortEdit1.Name = "sourcePortEdit1"; this.sourcePortEdit1.Size = new Size(0x152, 0x4b); this.sourcePortEdit1.TabIndex = 3; base.AcceptButton = this.btnSave; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.CancelButton = this.button1; base.ClientSize = new Size(0x164, 0x14e); base.Controls.Add(this.tblMain); base.Icon = (Icon)manager.GetObject("$this.Icon"); base.Name = "SourcePortEditForm"; base.ShowIcon = false; this.Text = "Source Port"; this.tblMain.ResumeLayout(false); this.flowLayoutPanel1.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); ((ISupportInitialize)this.pbInfo).EndInit(); this.groupBox2.ResumeLayout(false); base.ResumeLayout(false); }