diff --git a/AiQ_GUI.Designer.cs b/AiQ_GUI.Designer.cs index 570fafd..5ce6cd8 100644 --- a/AiQ_GUI.Designer.cs +++ b/AiQ_GUI.Designer.cs @@ -148,6 +148,7 @@ namespace AiQ_GUI BtnFirewall = new Button(); TabImages = new TabPage(); TabSoak = new TabPage(); + BtnFactoryDefault = new Button(); SetGodModeAll = new Button(); BtnUploadBlob = new Button(); CkBxTickAll = new CheckBox(); @@ -157,7 +158,6 @@ namespace AiQ_GUI LblGUIVers = new Label(); timerTypeIP = new System.Windows.Forms.Timer(components); TimerFlash = new System.Windows.Forms.Timer(components); - BtnFactoryDefault = new Button(); ((System.ComponentModel.ISupportInitialize)PicBxMAV).BeginInit(); ((System.ComponentModel.ISupportInitialize)PicBxAiQ).BeginInit(); ((System.ComponentModel.ISupportInitialize)PicBxIRF2).BeginInit(); @@ -273,6 +273,7 @@ namespace AiQ_GUI CbBxUserName.Items.AddRange(new object[] { "Guest", "Clive", "Conor", "Charlie", "Henry", "Sam C", "Sam L", "Simon", "Toby", "Tom" }); CbBxUserName.Location = new Point(10, 262); CbBxUserName.Margin = new Padding(4, 3, 4, 3); + CbBxUserName.MaxDropDownItems = 20; CbBxUserName.Name = "CbBxUserName"; CbBxUserName.Size = new Size(233, 25); CbBxUserName.TabIndex = 159; @@ -1910,6 +1911,24 @@ namespace AiQ_GUI TabSoak.TabIndex = 2; TabSoak.Text = "Soak"; // + // BtnFactoryDefault + // + BtnFactoryDefault.BackColor = Color.FromArgb(70, 65, 80); + BtnFactoryDefault.Enabled = false; + BtnFactoryDefault.FlatAppearance.BorderColor = Color.FromArgb(70, 65, 80); + BtnFactoryDefault.FlatAppearance.BorderSize = 0; + BtnFactoryDefault.FlatStyle = FlatStyle.Flat; + BtnFactoryDefault.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnFactoryDefault.ForeColor = SystemColors.Control; + BtnFactoryDefault.Location = new Point(222, 209); + BtnFactoryDefault.Margin = new Padding(4, 3, 4, 3); + BtnFactoryDefault.Name = "BtnFactoryDefault"; + BtnFactoryDefault.Size = new Size(181, 49); + BtnFactoryDefault.TabIndex = 242; + BtnFactoryDefault.Text = "Set Modules to Factory Defaults"; + BtnFactoryDefault.UseVisualStyleBackColor = false; + BtnFactoryDefault.Click += BtnFactoryDefault_Click; + // // SetGodModeAll // SetGodModeAll.BackColor = Color.FromArgb(70, 65, 80); @@ -2000,24 +2019,6 @@ namespace AiQ_GUI timerTypeIP.Interval = 2000; timerTypeIP.Tick += timerTypeIP_Tick; // - // BtnFactoryDefault - // - BtnFactoryDefault.BackColor = Color.FromArgb(70, 65, 80); - BtnFactoryDefault.Enabled = false; - BtnFactoryDefault.FlatAppearance.BorderColor = Color.FromArgb(70, 65, 80); - BtnFactoryDefault.FlatAppearance.BorderSize = 0; - BtnFactoryDefault.FlatStyle = FlatStyle.Flat; - BtnFactoryDefault.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); - BtnFactoryDefault.ForeColor = SystemColors.Control; - BtnFactoryDefault.Location = new Point(222, 209); - BtnFactoryDefault.Margin = new Padding(4, 3, 4, 3); - BtnFactoryDefault.Name = "BtnFactoryDefault"; - BtnFactoryDefault.Size = new Size(181, 49); - BtnFactoryDefault.TabIndex = 242; - BtnFactoryDefault.Text = "Set Modules to Factory Defaults"; - BtnFactoryDefault.UseVisualStyleBackColor = false; - BtnFactoryDefault.Click += BtnFactoryDefault_Click; - // // MainForm // AutoScaleDimensions = new SizeF(7F, 15F); diff --git a/AiQ_GUI.cs b/AiQ_GUI.cs index 17cdb98..d5e84ba 100644 --- a/AiQ_GUI.cs +++ b/AiQ_GUI.cs @@ -218,7 +218,7 @@ namespace AiQ_GUI // If there are any actions identified then fail the test. // If any labels are red then fail. Only labels in panel so can foreach on labels not controls if (RhTxBxActions.Text.Length > 2 || PnlLbls.Controls.OfType