Fixed some UI bugs in the Category Manager form.
This commit is contained in:
+27
-25
@@ -41,12 +41,12 @@ namespace InventoryTest
|
||||
this.NewCategoryNameTextBox = new System.Windows.Forms.TextBox();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.groupBox6 = new System.Windows.Forms.GroupBox();
|
||||
this.DeleteSubCategoryPropertyButton = new System.Windows.Forms.Button();
|
||||
this.CreateSubCategoryButton = new System.Windows.Forms.Button();
|
||||
this.SubCategoryPropertyNameTextBox = new System.Windows.Forms.TextBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
||||
this.SubCategoryPropertiesListBox = new System.Windows.Forms.ListBox();
|
||||
this.menuStrip2 = new System.Windows.Forms.MenuStrip();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.DeleteSubCategoryButton = new System.Windows.Forms.Button();
|
||||
this.DeleteCategoryButton = new System.Windows.Forms.Button();
|
||||
@@ -57,10 +57,10 @@ namespace InventoryTest
|
||||
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
||||
this.CategoryPropertiesListBox = new System.Windows.Forms.ListBox();
|
||||
this.groupBox5 = new System.Windows.Forms.GroupBox();
|
||||
this.DeleteCategoryPropertyButton = new System.Windows.Forms.Button();
|
||||
this.CategoryPropertyNameTextBox = new System.Windows.Forms.TextBox();
|
||||
this.CreateCategoryPropertyButton = new System.Windows.Forms.Button();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.groupBox8 = new System.Windows.Forms.GroupBox();
|
||||
this.MainLayoutPanel.SuspendLayout();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
@@ -128,11 +128,9 @@ namespace InventoryTest
|
||||
this.tableLayoutPanel1.Controls.Add(this.groupBox7, 0, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.groupBox6, 1, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.groupBox4, 2, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.menuStrip2, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.groupBox2, 0, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.groupBox3, 2, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.groupBox5, 1, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.groupBox8, 0, 3);
|
||||
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
@@ -198,6 +196,7 @@ namespace InventoryTest
|
||||
//
|
||||
// groupBox6
|
||||
//
|
||||
this.groupBox6.Controls.Add(this.DeleteSubCategoryPropertyButton);
|
||||
this.groupBox6.Controls.Add(this.CreateSubCategoryButton);
|
||||
this.groupBox6.Controls.Add(this.SubCategoryPropertyNameTextBox);
|
||||
this.groupBox6.Controls.Add(this.label4);
|
||||
@@ -209,6 +208,16 @@ namespace InventoryTest
|
||||
this.groupBox6.TabStop = false;
|
||||
this.groupBox6.Text = "Sub-Category Property";
|
||||
//
|
||||
// DeleteSubCategoryPropertyButton
|
||||
//
|
||||
this.DeleteSubCategoryPropertyButton.Enabled = false;
|
||||
this.DeleteSubCategoryPropertyButton.Location = new System.Drawing.Point(6, 109);
|
||||
this.DeleteSubCategoryPropertyButton.Name = "DeleteSubCategoryPropertyButton";
|
||||
this.DeleteSubCategoryPropertyButton.Size = new System.Drawing.Size(75, 23);
|
||||
this.DeleteSubCategoryPropertyButton.TabIndex = 3;
|
||||
this.DeleteSubCategoryPropertyButton.Text = "Delete";
|
||||
this.DeleteSubCategoryPropertyButton.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// CreateSubCategoryButton
|
||||
//
|
||||
this.CreateSubCategoryButton.Enabled = false;
|
||||
@@ -258,14 +267,6 @@ namespace InventoryTest
|
||||
this.SubCategoryPropertiesListBox.Size = new System.Drawing.Size(252, 116);
|
||||
this.SubCategoryPropertiesListBox.TabIndex = 1;
|
||||
//
|
||||
// menuStrip2
|
||||
//
|
||||
this.menuStrip2.Location = new System.Drawing.Point(0, 0);
|
||||
this.menuStrip2.Name = "menuStrip2";
|
||||
this.menuStrip2.Size = new System.Drawing.Size(264, 24);
|
||||
this.menuStrip2.TabIndex = 0;
|
||||
this.menuStrip2.Text = "menuStrip2";
|
||||
//
|
||||
// groupBox2
|
||||
//
|
||||
this.groupBox2.Controls.Add(this.DeleteSubCategoryButton);
|
||||
@@ -362,6 +363,7 @@ namespace InventoryTest
|
||||
//
|
||||
// groupBox5
|
||||
//
|
||||
this.groupBox5.Controls.Add(this.DeleteCategoryPropertyButton);
|
||||
this.groupBox5.Controls.Add(this.CategoryPropertyNameTextBox);
|
||||
this.groupBox5.Controls.Add(this.CreateCategoryPropertyButton);
|
||||
this.groupBox5.Controls.Add(this.label3);
|
||||
@@ -373,6 +375,17 @@ namespace InventoryTest
|
||||
this.groupBox5.TabStop = false;
|
||||
this.groupBox5.Text = "Category Property";
|
||||
//
|
||||
// DeleteCategoryPropertyButton
|
||||
//
|
||||
this.DeleteCategoryPropertyButton.Enabled = false;
|
||||
this.DeleteCategoryPropertyButton.Location = new System.Drawing.Point(6, 105);
|
||||
this.DeleteCategoryPropertyButton.Name = "DeleteCategoryPropertyButton";
|
||||
this.DeleteCategoryPropertyButton.Size = new System.Drawing.Size(75, 23);
|
||||
this.DeleteCategoryPropertyButton.TabIndex = 6;
|
||||
this.DeleteCategoryPropertyButton.Text = "Delete";
|
||||
this.DeleteCategoryPropertyButton.UseVisualStyleBackColor = true;
|
||||
this.DeleteCategoryPropertyButton.Click += new System.EventHandler(this.DeleteCategoryPropertyButton_Click);
|
||||
//
|
||||
// CategoryPropertyNameTextBox
|
||||
//
|
||||
this.CategoryPropertyNameTextBox.Location = new System.Drawing.Point(6, 41);
|
||||
@@ -400,16 +413,6 @@ namespace InventoryTest
|
||||
this.label3.TabIndex = 0;
|
||||
this.label3.Text = "Property Name:";
|
||||
//
|
||||
// groupBox8
|
||||
//
|
||||
this.groupBox8.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.groupBox8.Location = new System.Drawing.Point(3, 312);
|
||||
this.groupBox8.Name = "groupBox8";
|
||||
this.groupBox8.Size = new System.Drawing.Size(258, 135);
|
||||
this.groupBox8.TabIndex = 7;
|
||||
this.groupBox8.TabStop = false;
|
||||
this.groupBox8.Text = "Delete";
|
||||
//
|
||||
// CategoryManager
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||
@@ -422,7 +425,6 @@ namespace InventoryTest
|
||||
this.MainLayoutPanel.PerformLayout();
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
this.tableLayoutPanel1.PerformLayout();
|
||||
this.groupBox7.ResumeLayout(false);
|
||||
this.groupBox7.PerformLayout();
|
||||
this.groupBox6.ResumeLayout(false);
|
||||
@@ -445,7 +447,6 @@ namespace InventoryTest
|
||||
private System.Windows.Forms.ComboBox SubCategoryComboBox;
|
||||
private System.Windows.Forms.ComboBox CategoryComboBox;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private System.Windows.Forms.MenuStrip menuStrip2;
|
||||
private System.Windows.Forms.GroupBox groupBox2;
|
||||
private System.Windows.Forms.ComboBox CategoryComboBoxManager;
|
||||
private System.Windows.Forms.Label label2;
|
||||
@@ -470,6 +471,7 @@ namespace InventoryTest
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.Button DeleteSubCategoryButton;
|
||||
private System.Windows.Forms.Button DeleteCategoryButton;
|
||||
private System.Windows.Forms.GroupBox groupBox8;
|
||||
private System.Windows.Forms.Button DeleteSubCategoryPropertyButton;
|
||||
private System.Windows.Forms.Button DeleteCategoryPropertyButton;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user