From 9de93268f217647707931959a77def786087a8cc Mon Sep 17 00:00:00 2001 From: Vitalii Ganzha Date: Thu, 31 Dec 2015 00:01:41 -0800 Subject: [PATCH] sketched controls layout --- .../SoundSelectControl.Designer.cs | 110 ++++++++++++++---- .../SoundSelectControl.resx | 3 + 2 files changed, 91 insertions(+), 22 deletions(-) diff --git a/VsDingExtensionProject/SoundSelectControl.Designer.cs b/VsDingExtensionProject/SoundSelectControl.Designer.cs index 97a6f67..50ca2f8 100644 --- a/VsDingExtensionProject/SoundSelectControl.Designer.cs +++ b/VsDingExtensionProject/SoundSelectControl.Designer.cs @@ -28,37 +28,97 @@ /// private void InitializeComponent() { - this.checkBox1 = new System.Windows.Forms.CheckBox(); - this.checkBox2 = new System.Windows.Forms.CheckBox(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.panel1 = new System.Windows.Forms.Panel(); + this.panel2 = new System.Windows.Forms.Panel(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.button1 = new System.Windows.Forms.Button(); + this.label1 = new System.Windows.Forms.Label(); + this.soundsSelectOptionsPage1 = new VitaliiGanzha.VsDingExtension.SoundsSelectOptionsPage(); + this.groupBox1.SuspendLayout(); + this.panel1.SuspendLayout(); + this.panel2.SuspendLayout(); this.SuspendLayout(); // - // checkBox1 + // groupBox1 // - this.checkBox1.AutoSize = true; - this.checkBox1.Location = new System.Drawing.Point(42, 45); - this.checkBox1.Name = "checkBox1"; - this.checkBox1.Size = new System.Drawing.Size(80, 17); - this.checkBox1.TabIndex = 0; - this.checkBox1.Text = "checkBox1"; - this.checkBox1.UseVisualStyleBackColor = true; + this.groupBox1.AutoSize = true; + this.groupBox1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.groupBox1.Controls.Add(this.panel1); + this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; + this.groupBox1.Location = new System.Drawing.Point(0, 0); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(452, 371); + this.groupBox1.TabIndex = 0; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "Select custom sounds"; // - // checkBox2 + // panel1 // - this.checkBox2.AutoSize = true; - this.checkBox2.Location = new System.Drawing.Point(24, 106); - this.checkBox2.Name = "checkBox2"; - this.checkBox2.Size = new System.Drawing.Size(80, 17); - this.checkBox2.TabIndex = 1; - this.checkBox2.Text = "checkBox2"; - this.checkBox2.UseVisualStyleBackColor = true; + this.panel1.Controls.Add(this.panel2); + this.panel1.Controls.Add(this.label1); + this.panel1.Dock = System.Windows.Forms.DockStyle.Top; + this.panel1.Location = new System.Drawing.Point(3, 16); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(446, 53); + this.panel1.TabIndex = 0; + // + // panel2 + // + this.panel2.Controls.Add(this.textBox1); + this.panel2.Controls.Add(this.button1); + this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel2.Location = new System.Drawing.Point(0, 18); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(446, 35); + this.panel2.TabIndex = 1; + // + // textBox1 + // + this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.textBox1.Location = new System.Drawing.Point(0, 0); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(349, 20); + this.textBox1.TabIndex = 1; + // + // button1 + // + this.button1.Anchor = System.Windows.Forms.AnchorStyles.Right; + this.button1.Location = new System.Drawing.Point(415, 0); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(31, 32); + this.button1.TabIndex = 0; + this.button1.Text = "..."; + this.button1.UseVisualStyleBackColor = true; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Dock = System.Windows.Forms.DockStyle.Top; + this.label1.Location = new System.Drawing.Point(0, 0); + this.label1.Name = "label1"; + this.label1.Padding = new System.Windows.Forms.Padding(0, 0, 0, 5); + this.label1.Size = new System.Drawing.Size(85, 18); + this.label1.TabIndex = 0; + this.label1.Text = "Build completed:"; + // + // soundsSelectOptionsPage1 + // + this.soundsSelectOptionsPage1.CustomBitmap = null; // // SoundSelectControl // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.checkBox2); - this.Controls.Add(this.checkBox1); + this.Controls.Add(this.groupBox1); this.Name = "SoundSelectControl"; + this.Size = new System.Drawing.Size(452, 371); + this.groupBox1.ResumeLayout(false); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); @@ -66,7 +126,13 @@ #endregion - private System.Windows.Forms.CheckBox checkBox1; - private System.Windows.Forms.CheckBox checkBox2; + private System.Windows.Forms.GroupBox groupBox1; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.TextBox textBox1; + private SoundsSelectOptionsPage soundsSelectOptionsPage1; + } } diff --git a/VsDingExtensionProject/SoundSelectControl.resx b/VsDingExtensionProject/SoundSelectControl.resx index 1af7de1..a419a19 100644 --- a/VsDingExtensionProject/SoundSelectControl.resx +++ b/VsDingExtensionProject/SoundSelectControl.resx @@ -117,4 +117,7 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 17, 17 + \ No newline at end of file