From 1791d37b02cbf21747166695c2b80e248dcded55 Mon Sep 17 00:00:00 2001 From: Evan Langlais Date: Thu, 30 Mar 2017 11:38:05 -0400 Subject: [PATCH] Added skeleton methods --- .../StationsGUI/AdminStationView.Designer.cs | 457 ++++++++++-------- Enigma/StationsGUI/AdminStationView.cs | 24 + 2 files changed, 287 insertions(+), 194 deletions(-) diff --git a/Enigma/StationsGUI/AdminStationView.Designer.cs b/Enigma/StationsGUI/AdminStationView.Designer.cs index 679a287..9ac1046 100644 --- a/Enigma/StationsGUI/AdminStationView.Designer.cs +++ b/Enigma/StationsGUI/AdminStationView.Designer.cs @@ -30,6 +30,8 @@ private void InitializeComponent() { this.adminTabControl = new MetroFramework.Controls.MetroTabControl(); this.menuTab = new MetroFramework.Controls.MetroTabPage(); + this.menuListBox = new System.Windows.Forms.ListBox(); + this.menuSelectionBox = new MetroFramework.Controls.MetroComboBox(); this.menuSaveButton = new MetroFramework.Controls.MetroButton(); this.menuRevertButton = new MetroFramework.Controls.MetroButton(); this.groupBox1 = new System.Windows.Forms.GroupBox(); @@ -89,8 +91,6 @@ private void InitializeComponent() this.stationRenameButton = new MetroFramework.Controls.MetroButton(); this.stationAddButton = new MetroFramework.Controls.MetroButton(); this.metroLabel3 = new MetroFramework.Controls.MetroLabel(); - this.menuSelectionBox = new MetroFramework.Controls.MetroComboBox(); - this.menuListBox = new System.Windows.Forms.ListBox(); this.adminTabControl.SuspendLayout(); this.menuTab.SuspendLayout(); this.groupBox1.SuspendLayout(); @@ -117,10 +117,11 @@ private void InitializeComponent() this.adminTabControl.Controls.Add(this.itemsTab); this.adminTabControl.Controls.Add(this.employeeTab); this.adminTabControl.Controls.Add(this.stationTab); - this.adminTabControl.Location = new System.Drawing.Point(23, 63); + this.adminTabControl.Location = new System.Drawing.Point(28, 76); + this.adminTabControl.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.adminTabControl.Name = "adminTabControl"; this.adminTabControl.SelectedIndex = 0; - this.adminTabControl.Size = new System.Drawing.Size(1368, 832); + this.adminTabControl.Size = new System.Drawing.Size(1672, 998); this.adminTabControl.TabIndex = 0; this.adminTabControl.UseSelectable = true; // @@ -135,24 +136,68 @@ private void InitializeComponent() this.menuTab.Controls.Add(this.metroLabel1); this.menuTab.HorizontalScrollbarBarColor = true; this.menuTab.HorizontalScrollbarHighlightOnWheel = false; - this.menuTab.HorizontalScrollbarSize = 10; + this.menuTab.HorizontalScrollbarSize = 12; this.menuTab.Location = new System.Drawing.Point(4, 38); + this.menuTab.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.menuTab.Name = "menuTab"; - this.menuTab.Size = new System.Drawing.Size(1360, 790); + this.menuTab.Size = new System.Drawing.Size(1664, 956); this.menuTab.TabIndex = 0; this.menuTab.Text = "Edit Menus"; this.menuTab.VerticalScrollbarBarColor = true; this.menuTab.VerticalScrollbarHighlightOnWheel = false; - this.menuTab.VerticalScrollbarSize = 10; + this.menuTab.VerticalScrollbarSize = 12; + // + // menuListBox + // + this.menuListBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.menuListBox.Font = new System.Drawing.Font("Segoe UI Light", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.menuListBox.FormattingEnabled = true; + this.menuListBox.ItemHeight = 45; + this.menuListBox.Items.AddRange(new object[] { + "Item1", + "Item1", + "Item1", + "Item1", + "Item1", + "Item1", + "Item2", + "Item2", + "Item2", + "Item2", + "Item3", + "Item3", + "Item3"}); + this.menuListBox.Location = new System.Drawing.Point(10, 83); + this.menuListBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.menuListBox.Name = "menuListBox"; + this.menuListBox.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended; + this.menuListBox.Size = new System.Drawing.Size(850, 814); + this.menuListBox.TabIndex = 11; + // + // menuSelectionBox + // + this.menuSelectionBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.menuSelectionBox.FormattingEnabled = true; + this.menuSelectionBox.ItemHeight = 23; + this.menuSelectionBox.Location = new System.Drawing.Point(155, 43); + this.menuSelectionBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.menuSelectionBox.Name = "menuSelectionBox"; + this.menuSelectionBox.Size = new System.Drawing.Size(388, 29); + this.menuSelectionBox.TabIndex = 10; + this.menuSelectionBox.UseSelectable = true; // // menuSaveButton // this.menuSaveButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.menuSaveButton.FontSize = MetroFramework.MetroButtonSize.Tall; this.menuSaveButton.FontWeight = MetroFramework.MetroButtonWeight.Regular; - this.menuSaveButton.Location = new System.Drawing.Point(1038, 711); + this.menuSaveButton.Location = new System.Drawing.Point(1269, 853); + this.menuSaveButton.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.menuSaveButton.Name = "menuSaveButton"; - this.menuSaveButton.Size = new System.Drawing.Size(298, 45); + this.menuSaveButton.Size = new System.Drawing.Size(364, 54); this.menuSaveButton.TabIndex = 9; this.menuSaveButton.Text = "Save"; this.menuSaveButton.UseSelectable = true; @@ -162,9 +207,10 @@ private void InitializeComponent() this.menuRevertButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.menuRevertButton.FontSize = MetroFramework.MetroButtonSize.Tall; this.menuRevertButton.FontWeight = MetroFramework.MetroButtonWeight.Regular; - this.menuRevertButton.Location = new System.Drawing.Point(741, 712); + this.menuRevertButton.Location = new System.Drawing.Point(906, 854); + this.menuRevertButton.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.menuRevertButton.Name = "menuRevertButton"; - this.menuRevertButton.Size = new System.Drawing.Size(291, 45); + this.menuRevertButton.Size = new System.Drawing.Size(356, 54); this.menuRevertButton.TabIndex = 8; this.menuRevertButton.Text = "Revert"; this.menuRevertButton.UseSelectable = true; @@ -177,19 +223,21 @@ private void InitializeComponent() this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.displayedOnDevices); this.groupBox1.Font = new System.Drawing.Font("Segoe UI Light", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.groupBox1.Location = new System.Drawing.Point(741, 287); + this.groupBox1.Location = new System.Drawing.Point(906, 344); + this.groupBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.groupBox1.Name = "groupBox1"; - this.groupBox1.Padding = new System.Windows.Forms.Padding(8); - this.groupBox1.Size = new System.Drawing.Size(595, 418); + this.groupBox1.Padding = new System.Windows.Forms.Padding(10, 10, 10, 10); + this.groupBox1.Size = new System.Drawing.Size(727, 502); this.groupBox1.TabIndex = 7; this.groupBox1.TabStop = false; this.groupBox1.Text = "Options"; // // label1 // - this.label1.Location = new System.Drawing.Point(6, 35); + this.label1.Location = new System.Drawing.Point(7, 42); + this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(171, 36); + this.label1.Size = new System.Drawing.Size(209, 43); this.label1.TabIndex = 1; this.label1.Text = "Display Menu On:"; // @@ -199,16 +247,17 @@ private void InitializeComponent() | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.displayedOnDevices.FormattingEnabled = true; - this.displayedOnDevices.ItemHeight = 28; + this.displayedOnDevices.ItemHeight = 31; this.displayedOnDevices.Items.AddRange(new object[] { "Computer1", "Computer2", "Computer3", "Computer4"}); - this.displayedOnDevices.Location = new System.Drawing.Point(183, 35); + this.displayedOnDevices.Location = new System.Drawing.Point(224, 42); + this.displayedOnDevices.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.displayedOnDevices.Name = "displayedOnDevices"; this.displayedOnDevices.SelectionMode = System.Windows.Forms.SelectionMode.MultiSimple; - this.displayedOnDevices.Size = new System.Drawing.Size(401, 368); + this.displayedOnDevices.Size = new System.Drawing.Size(489, 438); this.displayedOnDevices.Sorted = true; this.displayedOnDevices.TabIndex = 0; // @@ -220,10 +269,11 @@ private void InitializeComponent() this.menuGroup1.Controls.Add(this.metroButton2); this.menuGroup1.Controls.Add(this.metroButton1); this.menuGroup1.Font = new System.Drawing.Font("Segoe UI Light", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.menuGroup1.Location = new System.Drawing.Point(741, 63); + this.menuGroup1.Location = new System.Drawing.Point(906, 76); + this.menuGroup1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.menuGroup1.Name = "menuGroup1"; - this.menuGroup1.Padding = new System.Windows.Forms.Padding(8); - this.menuGroup1.Size = new System.Drawing.Size(595, 218); + this.menuGroup1.Padding = new System.Windows.Forms.Padding(10, 10, 10, 10); + this.menuGroup1.Size = new System.Drawing.Size(727, 262); this.menuGroup1.TabIndex = 6; this.menuGroup1.TabStop = false; this.menuGroup1.Text = "Edit Menus"; @@ -234,9 +284,10 @@ private void InitializeComponent() | System.Windows.Forms.AnchorStyles.Right))); this.metroButton3.FontSize = MetroFramework.MetroButtonSize.Tall; this.metroButton3.FontWeight = MetroFramework.MetroButtonWeight.Regular; - this.metroButton3.Location = new System.Drawing.Point(397, 30); + this.metroButton3.Location = new System.Drawing.Point(485, 36); + this.metroButton3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.metroButton3.Name = "metroButton3"; - this.metroButton3.Size = new System.Drawing.Size(187, 177); + this.metroButton3.Size = new System.Drawing.Size(229, 212); this.metroButton3.TabIndex = 6; this.metroButton3.Text = "Remove Menu"; this.metroButton3.UseSelectable = true; @@ -247,9 +298,10 @@ private void InitializeComponent() | System.Windows.Forms.AnchorStyles.Right))); this.metroButton2.FontSize = MetroFramework.MetroButtonSize.Tall; this.metroButton2.FontWeight = MetroFramework.MetroButtonWeight.Regular; - this.metroButton2.Location = new System.Drawing.Point(204, 30); + this.metroButton2.Location = new System.Drawing.Point(249, 36); + this.metroButton2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.metroButton2.Name = "metroButton2"; - this.metroButton2.Size = new System.Drawing.Size(187, 177); + this.metroButton2.Size = new System.Drawing.Size(229, 212); this.metroButton2.TabIndex = 5; this.metroButton2.Text = "Rename Menu"; this.metroButton2.UseSelectable = true; @@ -260,9 +312,10 @@ private void InitializeComponent() | System.Windows.Forms.AnchorStyles.Right))); this.metroButton1.FontSize = MetroFramework.MetroButtonSize.Tall; this.metroButton1.FontWeight = MetroFramework.MetroButtonWeight.Regular; - this.metroButton1.Location = new System.Drawing.Point(11, 30); + this.metroButton1.Location = new System.Drawing.Point(13, 36); + this.metroButton1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.metroButton1.Name = "metroButton1"; - this.metroButton1.Size = new System.Drawing.Size(187, 177); + this.metroButton1.Size = new System.Drawing.Size(229, 212); this.metroButton1.TabIndex = 4; this.metroButton1.Text = "Add Menu"; this.metroButton1.UseSelectable = true; @@ -272,9 +325,10 @@ private void InitializeComponent() this.metroLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.metroLabel1.FontSize = MetroFramework.MetroLabelSize.Tall; - this.metroLabel1.Location = new System.Drawing.Point(3, 23); + this.metroLabel1.Location = new System.Drawing.Point(4, 28); + this.metroLabel1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.metroLabel1.Name = "metroLabel1"; - this.metroLabel1.Size = new System.Drawing.Size(700, 37); + this.metroLabel1.Size = new System.Drawing.Size(856, 44); this.metroLabel1.TabIndex = 3; this.metroLabel1.Text = "Select Menu"; this.metroLabel1.TextAlign = System.Drawing.ContentAlignment.BottomLeft; @@ -289,24 +343,26 @@ private void InitializeComponent() this.itemsTab.Controls.Add(this.metroLabel2); this.itemsTab.HorizontalScrollbarBarColor = true; this.itemsTab.HorizontalScrollbarHighlightOnWheel = false; - this.itemsTab.HorizontalScrollbarSize = 10; + this.itemsTab.HorizontalScrollbarSize = 12; this.itemsTab.Location = new System.Drawing.Point(4, 38); + this.itemsTab.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.itemsTab.Name = "itemsTab"; - this.itemsTab.Size = new System.Drawing.Size(1360, 790); + this.itemsTab.Size = new System.Drawing.Size(1664, 956); this.itemsTab.TabIndex = 1; this.itemsTab.Text = "Edit Items"; this.itemsTab.VerticalScrollbarBarColor = true; this.itemsTab.VerticalScrollbarHighlightOnWheel = false; - this.itemsTab.VerticalScrollbarSize = 10; + this.itemsTab.VerticalScrollbarSize = 12; // // itemsSaveButton // this.itemsSaveButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.itemsSaveButton.FontSize = MetroFramework.MetroButtonSize.Tall; this.itemsSaveButton.FontWeight = MetroFramework.MetroButtonWeight.Regular; - this.itemsSaveButton.Location = new System.Drawing.Point(1038, 712); + this.itemsSaveButton.Location = new System.Drawing.Point(1269, 854); + this.itemsSaveButton.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.itemsSaveButton.Name = "itemsSaveButton"; - this.itemsSaveButton.Size = new System.Drawing.Size(298, 45); + this.itemsSaveButton.Size = new System.Drawing.Size(364, 54); this.itemsSaveButton.TabIndex = 11; this.itemsSaveButton.Text = "Save"; this.itemsSaveButton.UseSelectable = true; @@ -318,7 +374,7 @@ private void InitializeComponent() | System.Windows.Forms.AnchorStyles.Right))); this.itemListBox.Font = new System.Drawing.Font("Segoe UI Light", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.itemListBox.FormattingEnabled = true; - this.itemListBox.ItemHeight = 38; + this.itemListBox.ItemHeight = 45; this.itemListBox.Items.AddRange(new object[] { "Item1", "Item1", @@ -338,10 +394,11 @@ private void InitializeComponent() "Item3", "Item3", "Item3"}); - this.itemListBox.Location = new System.Drawing.Point(7, 69); + this.itemListBox.Location = new System.Drawing.Point(9, 83); + this.itemListBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.itemListBox.Name = "itemListBox"; this.itemListBox.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended; - this.itemListBox.Size = new System.Drawing.Size(696, 688); + this.itemListBox.Size = new System.Drawing.Size(850, 814); this.itemListBox.TabIndex = 8; // // itemsRevertButton @@ -349,9 +406,10 @@ private void InitializeComponent() this.itemsRevertButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.itemsRevertButton.FontSize = MetroFramework.MetroButtonSize.Tall; this.itemsRevertButton.FontWeight = MetroFramework.MetroButtonWeight.Regular; - this.itemsRevertButton.Location = new System.Drawing.Point(741, 713); + this.itemsRevertButton.Location = new System.Drawing.Point(906, 856); + this.itemsRevertButton.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.itemsRevertButton.Name = "itemsRevertButton"; - this.itemsRevertButton.Size = new System.Drawing.Size(291, 45); + this.itemsRevertButton.Size = new System.Drawing.Size(356, 54); this.itemsRevertButton.TabIndex = 10; this.itemsRevertButton.Text = "Revert"; this.itemsRevertButton.UseSelectable = true; @@ -370,10 +428,11 @@ private void InitializeComponent() this.groupBox2.Controls.Add(this.label2); this.groupBox2.Controls.Add(this.categoryListBox); this.groupBox2.Font = new System.Drawing.Font("Segoe UI Light", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.groupBox2.Location = new System.Drawing.Point(741, 237); + this.groupBox2.Location = new System.Drawing.Point(906, 284); + this.groupBox2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.groupBox2.Name = "groupBox2"; - this.groupBox2.Padding = new System.Windows.Forms.Padding(8); - this.groupBox2.Size = new System.Drawing.Size(595, 470); + this.groupBox2.Padding = new System.Windows.Forms.Padding(10, 10, 10, 10); + this.groupBox2.Size = new System.Drawing.Size(727, 564); this.groupBox2.TabIndex = 12; this.groupBox2.TabStop = false; this.groupBox2.Text = "Options"; @@ -383,9 +442,10 @@ private void InitializeComponent() this.itemPrice.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.itemPrice.DecimalPlaces = 2; - this.itemPrice.Location = new System.Drawing.Point(166, 187); + this.itemPrice.Location = new System.Drawing.Point(203, 224); + this.itemPrice.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.itemPrice.Name = "itemPrice"; - this.itemPrice.Size = new System.Drawing.Size(125, 34); + this.itemPrice.Size = new System.Drawing.Size(153, 39); this.itemPrice.TabIndex = 9; // // itemDescriptionTextbox @@ -396,9 +456,10 @@ private void InitializeComponent() // // this.itemDescriptionTextbox.CustomButton.Image = null; - this.itemDescriptionTextbox.CustomButton.Location = new System.Drawing.Point(278, 1); + this.itemDescriptionTextbox.CustomButton.Location = new System.Drawing.Point(419, 1); + this.itemDescriptionTextbox.CustomButton.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.itemDescriptionTextbox.CustomButton.Name = ""; - this.itemDescriptionTextbox.CustomButton.Size = new System.Drawing.Size(139, 139); + this.itemDescriptionTextbox.CustomButton.Size = new System.Drawing.Size(204, 200); this.itemDescriptionTextbox.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; this.itemDescriptionTextbox.CustomButton.TabIndex = 1; this.itemDescriptionTextbox.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; @@ -407,7 +468,8 @@ private void InitializeComponent() this.itemDescriptionTextbox.FontSize = MetroFramework.MetroTextBoxSize.Medium; this.itemDescriptionTextbox.Lines = new string[] { "metroTextBox1"}; - this.itemDescriptionTextbox.Location = new System.Drawing.Point(166, 35); + this.itemDescriptionTextbox.Location = new System.Drawing.Point(203, 42); + this.itemDescriptionTextbox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.itemDescriptionTextbox.MaxLength = 32767; this.itemDescriptionTextbox.Multiline = true; this.itemDescriptionTextbox.Name = "itemDescriptionTextbox"; @@ -417,7 +479,7 @@ private void InitializeComponent() this.itemDescriptionTextbox.SelectionLength = 0; this.itemDescriptionTextbox.SelectionStart = 0; this.itemDescriptionTextbox.ShortcutsEnabled = true; - this.itemDescriptionTextbox.Size = new System.Drawing.Size(418, 141); + this.itemDescriptionTextbox.Size = new System.Drawing.Size(511, 169); this.itemDescriptionTextbox.TabIndex = 6; this.itemDescriptionTextbox.Text = "metroTextBox1"; this.itemDescriptionTextbox.UseSelectable = true; @@ -426,17 +488,19 @@ private void InitializeComponent() // // label5 // - this.label5.Location = new System.Drawing.Point(6, 183); + this.label5.Location = new System.Drawing.Point(7, 220); + this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(154, 36); + this.label5.Size = new System.Drawing.Size(188, 43); this.label5.TabIndex = 5; this.label5.Text = "Price:"; // // label4 // - this.label4.Location = new System.Drawing.Point(6, 35); + this.label4.Location = new System.Drawing.Point(7, 42); + this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(154, 36); + this.label4.Size = new System.Drawing.Size(188, 43); this.label4.TabIndex = 4; this.label4.Text = "Description: "; // @@ -445,29 +509,32 @@ private void InitializeComponent() this.printingListBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.printingListBox.FormattingEnabled = true; - this.printingListBox.ItemHeight = 28; + this.printingListBox.ItemHeight = 31; this.printingListBox.Items.AddRange(new object[] { "Cold", "Hot"}); - this.printingListBox.Location = new System.Drawing.Point(166, 399); + this.printingListBox.Location = new System.Drawing.Point(203, 479); + this.printingListBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.printingListBox.Name = "printingListBox"; - this.printingListBox.Size = new System.Drawing.Size(418, 60); + this.printingListBox.Size = new System.Drawing.Size(510, 66); this.printingListBox.Sorted = true; this.printingListBox.TabIndex = 3; // // label3 // - this.label3.Location = new System.Drawing.Point(6, 399); + this.label3.Location = new System.Drawing.Point(7, 479); + this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(149, 36); + this.label3.Size = new System.Drawing.Size(182, 43); this.label3.TabIndex = 2; this.label3.Text = "Printing Station:"; // // label2 // - this.label2.Location = new System.Drawing.Point(6, 249); + this.label2.Location = new System.Drawing.Point(7, 299); + this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(154, 36); + this.label2.Size = new System.Drawing.Size(188, 43); this.label2.TabIndex = 1; this.label2.Text = "Category:"; // @@ -476,17 +543,18 @@ private void InitializeComponent() this.categoryListBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.categoryListBox.FormattingEnabled = true; - this.categoryListBox.ItemHeight = 28; + this.categoryListBox.ItemHeight = 31; this.categoryListBox.Items.AddRange(new object[] { "Appitizer", "Dessert", "Drink", "Entre", "Other"}); - this.categoryListBox.Location = new System.Drawing.Point(166, 236); + this.categoryListBox.Location = new System.Drawing.Point(203, 283); + this.categoryListBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.categoryListBox.Name = "categoryListBox"; this.categoryListBox.SelectionMode = System.Windows.Forms.SelectionMode.MultiSimple; - this.categoryListBox.Size = new System.Drawing.Size(418, 144); + this.categoryListBox.Size = new System.Drawing.Size(510, 159); this.categoryListBox.Sorted = true; this.categoryListBox.TabIndex = 0; // @@ -498,10 +566,11 @@ private void InitializeComponent() this.groupBox3.Controls.Add(this.renameItemButton); this.groupBox3.Controls.Add(this.addItemButton); this.groupBox3.Font = new System.Drawing.Font("Segoe UI Light", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.groupBox3.Location = new System.Drawing.Point(741, 63); + this.groupBox3.Location = new System.Drawing.Point(906, 76); + this.groupBox3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.groupBox3.Name = "groupBox3"; - this.groupBox3.Padding = new System.Windows.Forms.Padding(8); - this.groupBox3.Size = new System.Drawing.Size(595, 168); + this.groupBox3.Padding = new System.Windows.Forms.Padding(10, 10, 10, 10); + this.groupBox3.Size = new System.Drawing.Size(727, 202); this.groupBox3.TabIndex = 11; this.groupBox3.TabStop = false; this.groupBox3.Text = "Edit Items"; @@ -512,9 +581,10 @@ private void InitializeComponent() | System.Windows.Forms.AnchorStyles.Right))); this.removeItemButton.FontSize = MetroFramework.MetroButtonSize.Tall; this.removeItemButton.FontWeight = MetroFramework.MetroButtonWeight.Regular; - this.removeItemButton.Location = new System.Drawing.Point(397, 30); + this.removeItemButton.Location = new System.Drawing.Point(485, 36); + this.removeItemButton.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.removeItemButton.Name = "removeItemButton"; - this.removeItemButton.Size = new System.Drawing.Size(187, 127); + this.removeItemButton.Size = new System.Drawing.Size(229, 152); this.removeItemButton.TabIndex = 6; this.removeItemButton.Text = "Remove Item(s)"; this.removeItemButton.UseSelectable = true; @@ -525,9 +595,10 @@ private void InitializeComponent() | System.Windows.Forms.AnchorStyles.Right))); this.renameItemButton.FontSize = MetroFramework.MetroButtonSize.Tall; this.renameItemButton.FontWeight = MetroFramework.MetroButtonWeight.Regular; - this.renameItemButton.Location = new System.Drawing.Point(204, 30); + this.renameItemButton.Location = new System.Drawing.Point(249, 36); + this.renameItemButton.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.renameItemButton.Name = "renameItemButton"; - this.renameItemButton.Size = new System.Drawing.Size(187, 127); + this.renameItemButton.Size = new System.Drawing.Size(229, 152); this.renameItemButton.TabIndex = 5; this.renameItemButton.Text = "Rename Item"; this.renameItemButton.UseSelectable = true; @@ -538,9 +609,10 @@ private void InitializeComponent() | System.Windows.Forms.AnchorStyles.Right))); this.addItemButton.FontSize = MetroFramework.MetroButtonSize.Tall; this.addItemButton.FontWeight = MetroFramework.MetroButtonWeight.Regular; - this.addItemButton.Location = new System.Drawing.Point(11, 30); + this.addItemButton.Location = new System.Drawing.Point(13, 36); + this.addItemButton.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.addItemButton.Name = "addItemButton"; - this.addItemButton.Size = new System.Drawing.Size(187, 127); + this.addItemButton.Size = new System.Drawing.Size(229, 152); this.addItemButton.TabIndex = 4; this.addItemButton.Text = "Add Item(s)"; this.addItemButton.UseSelectable = true; @@ -550,9 +622,10 @@ private void InitializeComponent() this.metroLabel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.metroLabel2.FontSize = MetroFramework.MetroLabelSize.Tall; - this.metroLabel2.Location = new System.Drawing.Point(3, 23); + this.metroLabel2.Location = new System.Drawing.Point(4, 28); + this.metroLabel2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.metroLabel2.Name = "metroLabel2"; - this.metroLabel2.Size = new System.Drawing.Size(700, 37); + this.metroLabel2.Size = new System.Drawing.Size(856, 44); this.metroLabel2.TabIndex = 10; this.metroLabel2.Text = "Select Items"; this.metroLabel2.TextAlign = System.Drawing.ContentAlignment.BottomLeft; @@ -567,24 +640,26 @@ private void InitializeComponent() this.employeeTab.Controls.Add(this.metroLabel4); this.employeeTab.HorizontalScrollbarBarColor = true; this.employeeTab.HorizontalScrollbarHighlightOnWheel = false; - this.employeeTab.HorizontalScrollbarSize = 10; + this.employeeTab.HorizontalScrollbarSize = 12; this.employeeTab.Location = new System.Drawing.Point(4, 38); + this.employeeTab.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.employeeTab.Name = "employeeTab"; - this.employeeTab.Size = new System.Drawing.Size(1360, 790); + this.employeeTab.Size = new System.Drawing.Size(1664, 956); this.employeeTab.TabIndex = 2; this.employeeTab.Text = "Edit Employees"; this.employeeTab.VerticalScrollbarBarColor = true; this.employeeTab.VerticalScrollbarHighlightOnWheel = false; - this.employeeTab.VerticalScrollbarSize = 10; + this.employeeTab.VerticalScrollbarSize = 12; // // metroButton4 // this.metroButton4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.metroButton4.FontSize = MetroFramework.MetroButtonSize.Tall; this.metroButton4.FontWeight = MetroFramework.MetroButtonWeight.Regular; - this.metroButton4.Location = new System.Drawing.Point(1038, 711); + this.metroButton4.Location = new System.Drawing.Point(1269, 853); + this.metroButton4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.metroButton4.Name = "metroButton4"; - this.metroButton4.Size = new System.Drawing.Size(298, 45); + this.metroButton4.Size = new System.Drawing.Size(364, 54); this.metroButton4.TabIndex = 21; this.metroButton4.Text = "Save"; this.metroButton4.UseSelectable = true; @@ -594,9 +669,10 @@ private void InitializeComponent() this.metroButton5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.metroButton5.FontSize = MetroFramework.MetroButtonSize.Tall; this.metroButton5.FontWeight = MetroFramework.MetroButtonWeight.Regular; - this.metroButton5.Location = new System.Drawing.Point(741, 712); + this.metroButton5.Location = new System.Drawing.Point(906, 854); + this.metroButton5.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.metroButton5.Name = "metroButton5"; - this.metroButton5.Size = new System.Drawing.Size(291, 45); + this.metroButton5.Size = new System.Drawing.Size(356, 54); this.metroButton5.TabIndex = 20; this.metroButton5.Text = "Revert"; this.metroButton5.UseSelectable = true; @@ -608,7 +684,7 @@ private void InitializeComponent() | System.Windows.Forms.AnchorStyles.Right))); this.employeeListBox.Font = new System.Drawing.Font("Segoe UI Light", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.employeeListBox.FormattingEnabled = true; - this.employeeListBox.ItemHeight = 38; + this.employeeListBox.ItemHeight = 45; this.employeeListBox.Items.AddRange(new object[] { "Item1", "Item1", @@ -628,10 +704,11 @@ private void InitializeComponent() "Item3", "Item3", "Item3"}); - this.employeeListBox.Location = new System.Drawing.Point(7, 69); + this.employeeListBox.Location = new System.Drawing.Point(9, 83); + this.employeeListBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.employeeListBox.Name = "employeeListBox"; this.employeeListBox.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended; - this.employeeListBox.Size = new System.Drawing.Size(696, 688); + this.employeeListBox.Size = new System.Drawing.Size(850, 814); this.employeeListBox.TabIndex = 16; // // groupBox6 @@ -650,10 +727,11 @@ private void InitializeComponent() this.groupBox6.Controls.Add(this.label7); this.groupBox6.Controls.Add(this.listBox2); this.groupBox6.Font = new System.Drawing.Font("Segoe UI Light", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.groupBox6.Location = new System.Drawing.Point(741, 287); + this.groupBox6.Location = new System.Drawing.Point(906, 344); + this.groupBox6.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.groupBox6.Name = "groupBox6"; - this.groupBox6.Padding = new System.Windows.Forms.Padding(8); - this.groupBox6.Size = new System.Drawing.Size(595, 418); + this.groupBox6.Padding = new System.Windows.Forms.Padding(10, 10, 10, 10); + this.groupBox6.Size = new System.Drawing.Size(727, 502); this.groupBox6.TabIndex = 19; this.groupBox6.TabStop = false; this.groupBox6.Text = "Options"; @@ -666,9 +744,10 @@ private void InitializeComponent() // // this.lastNameTextBox.CustomButton.Image = null; - this.lastNameTextBox.CustomButton.Location = new System.Drawing.Point(384, 2); + this.lastNameTextBox.CustomButton.Location = new System.Drawing.Point(573, 1); + this.lastNameTextBox.CustomButton.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.lastNameTextBox.CustomButton.Name = ""; - this.lastNameTextBox.CustomButton.Size = new System.Drawing.Size(31, 31); + this.lastNameTextBox.CustomButton.Size = new System.Drawing.Size(50, 49); this.lastNameTextBox.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; this.lastNameTextBox.CustomButton.TabIndex = 1; this.lastNameTextBox.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; @@ -677,7 +756,8 @@ private void InitializeComponent() this.lastNameTextBox.FontSize = MetroFramework.MetroTextBoxSize.Medium; this.lastNameTextBox.Lines = new string[] { "metroTextBox2"}; - this.lastNameTextBox.Location = new System.Drawing.Point(166, 131); + this.lastNameTextBox.Location = new System.Drawing.Point(203, 157); + this.lastNameTextBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.lastNameTextBox.MaxLength = 32767; this.lastNameTextBox.Multiline = true; this.lastNameTextBox.Name = "lastNameTextBox"; @@ -687,7 +767,7 @@ private void InitializeComponent() this.lastNameTextBox.SelectionLength = 0; this.lastNameTextBox.SelectionStart = 0; this.lastNameTextBox.ShortcutsEnabled = true; - this.lastNameTextBox.Size = new System.Drawing.Size(418, 36); + this.lastNameTextBox.Size = new System.Drawing.Size(511, 43); this.lastNameTextBox.TabIndex = 17; this.lastNameTextBox.Text = "metroTextBox2"; this.lastNameTextBox.UseSelectable = true; @@ -696,9 +776,10 @@ private void InitializeComponent() // // label11 // - this.label11.Location = new System.Drawing.Point(6, 131); + this.label11.Location = new System.Drawing.Point(7, 157); + this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(154, 36); + this.label11.Size = new System.Drawing.Size(188, 43); this.label11.TabIndex = 16; this.label11.Text = "Last Name:"; // @@ -710,9 +791,10 @@ private void InitializeComponent() // // this.firstNameTextBox.CustomButton.Image = null; - this.firstNameTextBox.CustomButton.Location = new System.Drawing.Point(384, 2); + this.firstNameTextBox.CustomButton.Location = new System.Drawing.Point(573, 1); + this.firstNameTextBox.CustomButton.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.firstNameTextBox.CustomButton.Name = ""; - this.firstNameTextBox.CustomButton.Size = new System.Drawing.Size(31, 31); + this.firstNameTextBox.CustomButton.Size = new System.Drawing.Size(50, 49); this.firstNameTextBox.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; this.firstNameTextBox.CustomButton.TabIndex = 1; this.firstNameTextBox.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; @@ -721,7 +803,8 @@ private void InitializeComponent() this.firstNameTextBox.FontSize = MetroFramework.MetroTextBoxSize.Medium; this.firstNameTextBox.Lines = new string[] { "metroTextBox1"}; - this.firstNameTextBox.Location = new System.Drawing.Point(166, 83); + this.firstNameTextBox.Location = new System.Drawing.Point(203, 100); + this.firstNameTextBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.firstNameTextBox.MaxLength = 32767; this.firstNameTextBox.Multiline = true; this.firstNameTextBox.Name = "firstNameTextBox"; @@ -731,7 +814,7 @@ private void InitializeComponent() this.firstNameTextBox.SelectionLength = 0; this.firstNameTextBox.SelectionStart = 0; this.firstNameTextBox.ShortcutsEnabled = true; - this.firstNameTextBox.Size = new System.Drawing.Size(418, 36); + this.firstNameTextBox.Size = new System.Drawing.Size(511, 43); this.firstNameTextBox.TabIndex = 15; this.firstNameTextBox.Text = "metroTextBox1"; this.firstNameTextBox.UseSelectable = true; @@ -740,9 +823,10 @@ private void InitializeComponent() // // label10 // - this.label10.Location = new System.Drawing.Point(6, 83); + this.label10.Location = new System.Drawing.Point(7, 100); + this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(154, 36); + this.label10.Size = new System.Drawing.Size(188, 43); this.label10.TabIndex = 14; this.label10.Text = "First Name:"; // @@ -750,14 +834,15 @@ private void InitializeComponent() // this.pinNumber.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.pinNumber.Location = new System.Drawing.Point(166, 187); + this.pinNumber.Location = new System.Drawing.Point(203, 224); + this.pinNumber.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.pinNumber.Maximum = new decimal(new int[] { 9999, 0, 0, 0}); this.pinNumber.Name = "pinNumber"; - this.pinNumber.Size = new System.Drawing.Size(125, 34); + this.pinNumber.Size = new System.Drawing.Size(153, 39); this.pinNumber.TabIndex = 13; // // usernameTextBox @@ -768,9 +853,10 @@ private void InitializeComponent() // // this.usernameTextBox.CustomButton.Image = null; - this.usernameTextBox.CustomButton.Location = new System.Drawing.Point(384, 2); + this.usernameTextBox.CustomButton.Location = new System.Drawing.Point(573, 1); + this.usernameTextBox.CustomButton.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.usernameTextBox.CustomButton.Name = ""; - this.usernameTextBox.CustomButton.Size = new System.Drawing.Size(31, 31); + this.usernameTextBox.CustomButton.Size = new System.Drawing.Size(50, 49); this.usernameTextBox.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; this.usernameTextBox.CustomButton.TabIndex = 1; this.usernameTextBox.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; @@ -779,7 +865,8 @@ private void InitializeComponent() this.usernameTextBox.FontSize = MetroFramework.MetroTextBoxSize.Medium; this.usernameTextBox.Lines = new string[] { "metroTextBox1"}; - this.usernameTextBox.Location = new System.Drawing.Point(166, 35); + this.usernameTextBox.Location = new System.Drawing.Point(203, 42); + this.usernameTextBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.usernameTextBox.MaxLength = 32767; this.usernameTextBox.Multiline = true; this.usernameTextBox.Name = "usernameTextBox"; @@ -789,7 +876,7 @@ private void InitializeComponent() this.usernameTextBox.SelectionLength = 0; this.usernameTextBox.SelectionStart = 0; this.usernameTextBox.ShortcutsEnabled = true; - this.usernameTextBox.Size = new System.Drawing.Size(418, 36); + this.usernameTextBox.Size = new System.Drawing.Size(511, 43); this.usernameTextBox.TabIndex = 12; this.usernameTextBox.Text = "metroTextBox1"; this.usernameTextBox.UseSelectable = true; @@ -798,25 +885,28 @@ private void InitializeComponent() // // pin // - this.pin.Location = new System.Drawing.Point(6, 183); + this.pin.Location = new System.Drawing.Point(7, 220); + this.pin.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.pin.Name = "pin"; - this.pin.Size = new System.Drawing.Size(154, 36); + this.pin.Size = new System.Drawing.Size(188, 43); this.pin.TabIndex = 11; this.pin.Text = "Pin:"; // // label9 // - this.label9.Location = new System.Drawing.Point(6, 35); + this.label9.Location = new System.Drawing.Point(7, 42); + this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(154, 36); + this.label9.Size = new System.Drawing.Size(188, 43); this.label9.TabIndex = 10; this.label9.Text = "Username:"; // // label7 // - this.label7.Location = new System.Drawing.Point(6, 237); + this.label7.Location = new System.Drawing.Point(7, 284); + this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(154, 36); + this.label7.Size = new System.Drawing.Size(188, 43); this.label7.TabIndex = 1; this.label7.Text = "Roles:"; // @@ -826,16 +916,17 @@ private void InitializeComponent() | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.listBox2.FormattingEnabled = true; - this.listBox2.ItemHeight = 28; + this.listBox2.ItemHeight = 31; this.listBox2.Items.AddRange(new object[] { "Admin", "Chef", "Host", "Waiter"}); - this.listBox2.Location = new System.Drawing.Point(166, 237); + this.listBox2.Location = new System.Drawing.Point(203, 284); + this.listBox2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.listBox2.Name = "listBox2"; this.listBox2.SelectionMode = System.Windows.Forms.SelectionMode.MultiSimple; - this.listBox2.Size = new System.Drawing.Size(418, 116); + this.listBox2.Size = new System.Drawing.Size(510, 128); this.listBox2.TabIndex = 0; // // groupBox7 @@ -845,10 +936,11 @@ private void InitializeComponent() this.groupBox7.Controls.Add(this.employeeRemoveButton); this.groupBox7.Controls.Add(this.employeeAddButton); this.groupBox7.Font = new System.Drawing.Font("Segoe UI Light", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.groupBox7.Location = new System.Drawing.Point(741, 63); + this.groupBox7.Location = new System.Drawing.Point(906, 76); + this.groupBox7.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.groupBox7.Name = "groupBox7"; - this.groupBox7.Padding = new System.Windows.Forms.Padding(8); - this.groupBox7.Size = new System.Drawing.Size(595, 218); + this.groupBox7.Padding = new System.Windows.Forms.Padding(10, 10, 10, 10); + this.groupBox7.Size = new System.Drawing.Size(727, 262); this.groupBox7.TabIndex = 18; this.groupBox7.TabStop = false; this.groupBox7.Text = "Edit Employees"; @@ -859,9 +951,10 @@ private void InitializeComponent() | System.Windows.Forms.AnchorStyles.Right))); this.employeeRemoveButton.FontSize = MetroFramework.MetroButtonSize.Tall; this.employeeRemoveButton.FontWeight = MetroFramework.MetroButtonWeight.Regular; - this.employeeRemoveButton.Location = new System.Drawing.Point(297, 30); + this.employeeRemoveButton.Location = new System.Drawing.Point(363, 36); + this.employeeRemoveButton.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.employeeRemoveButton.Name = "employeeRemoveButton"; - this.employeeRemoveButton.Size = new System.Drawing.Size(287, 177); + this.employeeRemoveButton.Size = new System.Drawing.Size(351, 212); this.employeeRemoveButton.TabIndex = 6; this.employeeRemoveButton.Text = "Remove Employee"; this.employeeRemoveButton.UseSelectable = true; @@ -872,9 +965,10 @@ private void InitializeComponent() | System.Windows.Forms.AnchorStyles.Right))); this.employeeAddButton.FontSize = MetroFramework.MetroButtonSize.Tall; this.employeeAddButton.FontWeight = MetroFramework.MetroButtonWeight.Regular; - this.employeeAddButton.Location = new System.Drawing.Point(11, 30); + this.employeeAddButton.Location = new System.Drawing.Point(13, 36); + this.employeeAddButton.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.employeeAddButton.Name = "employeeAddButton"; - this.employeeAddButton.Size = new System.Drawing.Size(280, 177); + this.employeeAddButton.Size = new System.Drawing.Size(342, 212); this.employeeAddButton.TabIndex = 4; this.employeeAddButton.Text = "Add Employee"; this.employeeAddButton.UseSelectable = true; @@ -884,9 +978,10 @@ private void InitializeComponent() this.metroLabel4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.metroLabel4.FontSize = MetroFramework.MetroLabelSize.Tall; - this.metroLabel4.Location = new System.Drawing.Point(3, 23); + this.metroLabel4.Location = new System.Drawing.Point(4, 28); + this.metroLabel4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.metroLabel4.Name = "metroLabel4"; - this.metroLabel4.Size = new System.Drawing.Size(700, 37); + this.metroLabel4.Size = new System.Drawing.Size(856, 44); this.metroLabel4.TabIndex = 17; this.metroLabel4.Text = "Select Employee"; this.metroLabel4.TextAlign = System.Drawing.ContentAlignment.BottomLeft; @@ -901,24 +996,26 @@ private void InitializeComponent() this.stationTab.Controls.Add(this.metroLabel3); this.stationTab.HorizontalScrollbarBarColor = true; this.stationTab.HorizontalScrollbarHighlightOnWheel = false; - this.stationTab.HorizontalScrollbarSize = 10; + this.stationTab.HorizontalScrollbarSize = 12; this.stationTab.Location = new System.Drawing.Point(4, 38); + this.stationTab.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.stationTab.Name = "stationTab"; - this.stationTab.Size = new System.Drawing.Size(1360, 790); + this.stationTab.Size = new System.Drawing.Size(1664, 956); this.stationTab.TabIndex = 3; this.stationTab.Text = "Edit Stations"; this.stationTab.VerticalScrollbarBarColor = true; this.stationTab.VerticalScrollbarHighlightOnWheel = false; - this.stationTab.VerticalScrollbarSize = 10; + this.stationTab.VerticalScrollbarSize = 12; // // stationSaveButton // this.stationSaveButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.stationSaveButton.FontSize = MetroFramework.MetroButtonSize.Tall; this.stationSaveButton.FontWeight = MetroFramework.MetroButtonWeight.Regular; - this.stationSaveButton.Location = new System.Drawing.Point(1038, 711); + this.stationSaveButton.Location = new System.Drawing.Point(1269, 853); + this.stationSaveButton.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.stationSaveButton.Name = "stationSaveButton"; - this.stationSaveButton.Size = new System.Drawing.Size(298, 45); + this.stationSaveButton.Size = new System.Drawing.Size(364, 54); this.stationSaveButton.TabIndex = 15; this.stationSaveButton.Text = "Save"; this.stationSaveButton.UseSelectable = true; @@ -928,9 +1025,10 @@ private void InitializeComponent() this.stationRevertButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.stationRevertButton.FontSize = MetroFramework.MetroButtonSize.Tall; this.stationRevertButton.FontWeight = MetroFramework.MetroButtonWeight.Regular; - this.stationRevertButton.Location = new System.Drawing.Point(741, 712); + this.stationRevertButton.Location = new System.Drawing.Point(906, 854); + this.stationRevertButton.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.stationRevertButton.Name = "stationRevertButton"; - this.stationRevertButton.Size = new System.Drawing.Size(291, 45); + this.stationRevertButton.Size = new System.Drawing.Size(356, 54); this.stationRevertButton.TabIndex = 14; this.stationRevertButton.Text = "Revert"; this.stationRevertButton.UseSelectable = true; @@ -942,7 +1040,7 @@ private void InitializeComponent() | System.Windows.Forms.AnchorStyles.Right))); this.stationListBox.Font = new System.Drawing.Font("Segoe UI Light", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.stationListBox.FormattingEnabled = true; - this.stationListBox.ItemHeight = 38; + this.stationListBox.ItemHeight = 45; this.stationListBox.Items.AddRange(new object[] { "Item1", "Item1", @@ -962,10 +1060,11 @@ private void InitializeComponent() "Item3", "Item3", "Item3"}); - this.stationListBox.Location = new System.Drawing.Point(7, 69); + this.stationListBox.Location = new System.Drawing.Point(9, 83); + this.stationListBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.stationListBox.Name = "stationListBox"; this.stationListBox.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended; - this.stationListBox.Size = new System.Drawing.Size(696, 688); + this.stationListBox.Size = new System.Drawing.Size(850, 814); this.stationListBox.TabIndex = 10; // // groupBox4 @@ -976,19 +1075,21 @@ private void InitializeComponent() this.groupBox4.Controls.Add(this.label6); this.groupBox4.Controls.Add(this.stationTypeListBox); this.groupBox4.Font = new System.Drawing.Font("Segoe UI Light", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.groupBox4.Location = new System.Drawing.Point(741, 287); + this.groupBox4.Location = new System.Drawing.Point(906, 344); + this.groupBox4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.groupBox4.Name = "groupBox4"; - this.groupBox4.Padding = new System.Windows.Forms.Padding(8); - this.groupBox4.Size = new System.Drawing.Size(595, 418); + this.groupBox4.Padding = new System.Windows.Forms.Padding(10, 10, 10, 10); + this.groupBox4.Size = new System.Drawing.Size(727, 502); this.groupBox4.TabIndex = 13; this.groupBox4.TabStop = false; this.groupBox4.Text = "Options"; // // label6 // - this.label6.Location = new System.Drawing.Point(6, 35); + this.label6.Location = new System.Drawing.Point(7, 42); + this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(171, 36); + this.label6.Size = new System.Drawing.Size(209, 43); this.label6.TabIndex = 1; this.label6.Text = "Station Type:"; // @@ -998,15 +1099,16 @@ private void InitializeComponent() | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.stationTypeListBox.FormattingEnabled = true; - this.stationTypeListBox.ItemHeight = 28; + this.stationTypeListBox.ItemHeight = 31; this.stationTypeListBox.Items.AddRange(new object[] { "Admin Station", "Chef Station", "Host Station", "Waiter Station"}); - this.stationTypeListBox.Location = new System.Drawing.Point(183, 35); + this.stationTypeListBox.Location = new System.Drawing.Point(224, 42); + this.stationTypeListBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.stationTypeListBox.Name = "stationTypeListBox"; - this.stationTypeListBox.Size = new System.Drawing.Size(401, 340); + this.stationTypeListBox.Size = new System.Drawing.Size(489, 407); this.stationTypeListBox.Sorted = true; this.stationTypeListBox.TabIndex = 0; // @@ -1018,10 +1120,11 @@ private void InitializeComponent() this.groupBox5.Controls.Add(this.stationRenameButton); this.groupBox5.Controls.Add(this.stationAddButton); this.groupBox5.Font = new System.Drawing.Font("Segoe UI Light", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.groupBox5.Location = new System.Drawing.Point(741, 63); + this.groupBox5.Location = new System.Drawing.Point(906, 76); + this.groupBox5.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.groupBox5.Name = "groupBox5"; - this.groupBox5.Padding = new System.Windows.Forms.Padding(8); - this.groupBox5.Size = new System.Drawing.Size(595, 218); + this.groupBox5.Padding = new System.Windows.Forms.Padding(10, 10, 10, 10); + this.groupBox5.Size = new System.Drawing.Size(727, 262); this.groupBox5.TabIndex = 12; this.groupBox5.TabStop = false; this.groupBox5.Text = "Edit Stations"; @@ -1032,9 +1135,10 @@ private void InitializeComponent() | System.Windows.Forms.AnchorStyles.Right))); this.stationRemoveButton.FontSize = MetroFramework.MetroButtonSize.Tall; this.stationRemoveButton.FontWeight = MetroFramework.MetroButtonWeight.Regular; - this.stationRemoveButton.Location = new System.Drawing.Point(397, 30); + this.stationRemoveButton.Location = new System.Drawing.Point(485, 36); + this.stationRemoveButton.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.stationRemoveButton.Name = "stationRemoveButton"; - this.stationRemoveButton.Size = new System.Drawing.Size(187, 177); + this.stationRemoveButton.Size = new System.Drawing.Size(229, 212); this.stationRemoveButton.TabIndex = 6; this.stationRemoveButton.Text = "Remove Station"; this.stationRemoveButton.UseSelectable = true; @@ -1045,9 +1149,10 @@ private void InitializeComponent() | System.Windows.Forms.AnchorStyles.Right))); this.stationRenameButton.FontSize = MetroFramework.MetroButtonSize.Tall; this.stationRenameButton.FontWeight = MetroFramework.MetroButtonWeight.Regular; - this.stationRenameButton.Location = new System.Drawing.Point(204, 30); + this.stationRenameButton.Location = new System.Drawing.Point(249, 36); + this.stationRenameButton.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.stationRenameButton.Name = "stationRenameButton"; - this.stationRenameButton.Size = new System.Drawing.Size(187, 177); + this.stationRenameButton.Size = new System.Drawing.Size(229, 212); this.stationRenameButton.TabIndex = 5; this.stationRenameButton.Text = "Rename Station"; this.stationRenameButton.UseSelectable = true; @@ -1058,9 +1163,10 @@ private void InitializeComponent() | System.Windows.Forms.AnchorStyles.Right))); this.stationAddButton.FontSize = MetroFramework.MetroButtonSize.Tall; this.stationAddButton.FontWeight = MetroFramework.MetroButtonWeight.Regular; - this.stationAddButton.Location = new System.Drawing.Point(11, 30); + this.stationAddButton.Location = new System.Drawing.Point(13, 36); + this.stationAddButton.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.stationAddButton.Name = "stationAddButton"; - this.stationAddButton.Size = new System.Drawing.Size(187, 177); + this.stationAddButton.Size = new System.Drawing.Size(229, 212); this.stationAddButton.TabIndex = 4; this.stationAddButton.Text = "Add Station"; this.stationAddButton.UseSelectable = true; @@ -1070,60 +1176,23 @@ private void InitializeComponent() this.metroLabel3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.metroLabel3.FontSize = MetroFramework.MetroLabelSize.Tall; - this.metroLabel3.Location = new System.Drawing.Point(3, 23); + this.metroLabel3.Location = new System.Drawing.Point(4, 28); + this.metroLabel3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.metroLabel3.Name = "metroLabel3"; - this.metroLabel3.Size = new System.Drawing.Size(700, 37); + this.metroLabel3.Size = new System.Drawing.Size(856, 44); this.metroLabel3.TabIndex = 11; this.metroLabel3.Text = "Select Stations"; this.metroLabel3.TextAlign = System.Drawing.ContentAlignment.BottomLeft; // - // menuSelectionBox - // - this.menuSelectionBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.menuSelectionBox.FormattingEnabled = true; - this.menuSelectionBox.ItemHeight = 23; - this.menuSelectionBox.Location = new System.Drawing.Point(7, 63); - this.menuSelectionBox.Name = "menuSelectionBox"; - this.menuSelectionBox.Size = new System.Drawing.Size(318, 29); - this.menuSelectionBox.TabIndex = 10; - this.menuSelectionBox.UseSelectable = true; - // - // menuListBox - // - this.menuListBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.menuListBox.Font = new System.Drawing.Font("Segoe UI Light", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.menuListBox.FormattingEnabled = true; - this.menuListBox.ItemHeight = 38; - this.menuListBox.Items.AddRange(new object[] { - "Item1", - "Item1", - "Item1", - "Item1", - "Item1", - "Item1", - "Item2", - "Item2", - "Item2", - "Item2", - "Item3", - "Item3", - "Item3"}); - this.menuListBox.Location = new System.Drawing.Point(7, 107); - this.menuListBox.Name = "menuListBox"; - this.menuListBox.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended; - this.menuListBox.Size = new System.Drawing.Size(696, 650); - this.menuListBox.TabIndex = 11; - // // AdminStationView // - this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); + this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 24F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1414, 918); + this.ClientSize = new System.Drawing.Size(1728, 1102); this.Controls.Add(this.adminTabControl); + this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.Name = "AdminStationView"; + this.Padding = new System.Windows.Forms.Padding(24, 72, 24, 24); this.Load += new System.EventHandler(this.AdminStationView_Load); this.adminTabControl.ResumeLayout(false); this.menuTab.ResumeLayout(false); diff --git a/Enigma/StationsGUI/AdminStationView.cs b/Enigma/StationsGUI/AdminStationView.cs index 8ad79ff..784c900 100644 --- a/Enigma/StationsGUI/AdminStationView.cs +++ b/Enigma/StationsGUI/AdminStationView.cs @@ -25,5 +25,29 @@ private void AdminStationView_Load(object sender, EventArgs e) { } + + private void loadAllData() { + + } + + private void loadMenus() { + + } + + private void loadMenuItems() + { + + } + + private void loadEmployees() + { + + } + + private void loadStations() + { + + } + } }