diff --git a/app/Extra.Designer.cs b/app/Extra.Designer.cs index 8deb7a78..73c9db01 100644 --- a/app/Extra.Designer.cs +++ b/app/Extra.Designer.cs @@ -86,21 +86,25 @@ private void InitializeComponent() checkBoot = new CheckBox(); checkSleep = new CheckBox(); checkShutdown = new CheckBox(); + checkBattery = new CheckBox(); labelBacklightLogo = new Label(); checkAwakeLogo = new CheckBox(); checkBootLogo = new CheckBox(); checkSleepLogo = new CheckBox(); checkShutdownLogo = new CheckBox(); + checkBatteryLogo = new CheckBox(); labelBacklightBar = new Label(); checkAwakeBar = new CheckBox(); checkBootBar = new CheckBox(); checkSleepBar = new CheckBox(); checkShutdownBar = new CheckBox(); + checkBatteryBar = new CheckBox(); labelBacklightLid = new Label(); checkAwakeLid = new CheckBox(); checkBootLid = new CheckBox(); checkSleepLid = new CheckBox(); checkShutdownLid = new CheckBox(); + checkBatteryLid = new CheckBox(); panelSettingsHeader = new Panel(); pictureScan = new PictureBox(); pictureLog = new PictureBox(); @@ -139,10 +143,6 @@ private void InitializeComponent() buttonACPISend = new RButton(); pictureDebug = new PictureBox(); labelACPITitle = new Label(); - checkBatteryBar = new CheckBox(); - checkBatteryLid = new CheckBox(); - checkBattery = new CheckBox(); - checkBatteryLogo = new CheckBox(); panelServices.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)pictureService).BeginInit(); panelBindingsHeader.SuspendLayout(); @@ -181,16 +181,16 @@ private void InitializeComponent() panelServices.Controls.Add(labelServices); panelServices.Controls.Add(buttonServices); panelServices.Dock = DockStyle.Top; - panelServices.Location = new Point(15, 1723); + panelServices.Location = new Point(15, 1722); panelServices.Name = "panelServices"; - panelServices.Size = new Size(949, 75); + panelServices.Size = new Size(983, 75); panelServices.TabIndex = 5; // // pictureService // pictureService.BackgroundImage = Resources.icons8_automation_32; pictureService.BackgroundImageLayout = ImageLayout.Zoom; - pictureService.Location = new Point(20, 19); + pictureService.Location = new Point(21, 19); pictureService.Name = "pictureService"; pictureService.Size = new Size(32, 32); pictureService.TabIndex = 21; @@ -199,7 +199,7 @@ private void InitializeComponent() // labelServices // labelServices.AutoSize = true; - labelServices.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point); + labelServices.Font = new Font("Segoe UI", 9F, FontStyle.Bold); labelServices.Location = new Point(57, 19); labelServices.Name = "labelServices"; labelServices.Size = new Size(273, 32); @@ -211,14 +211,15 @@ private void InitializeComponent() buttonServices.Activated = false; buttonServices.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; buttonServices.BackColor = SystemColors.ButtonHighlight; + buttonServices.Badge = false; buttonServices.BorderColor = Color.Transparent; buttonServices.BorderRadius = 2; buttonServices.FlatStyle = FlatStyle.Flat; - buttonServices.Location = new Point(713, 12); - buttonServices.Margin = new Padding(4, 3, 4, 3); + buttonServices.Location = new Point(713, 11); + buttonServices.Margin = new Padding(5, 3, 5, 3); buttonServices.Name = "buttonServices"; buttonServices.Secondary = false; - buttonServices.Size = new Size(256, 52); + buttonServices.Size = new Size(256, 53); buttonServices.TabIndex = 19; buttonServices.Text = "Start Services"; buttonServices.UseVisualStyleBackColor = false; @@ -234,14 +235,14 @@ private void InitializeComponent() panelBindingsHeader.Location = new Point(15, 15); panelBindingsHeader.Name = "panelBindingsHeader"; panelBindingsHeader.Padding = new Padding(11, 5, 11, 5); - panelBindingsHeader.Size = new Size(949, 51); + panelBindingsHeader.Size = new Size(983, 51); panelBindingsHeader.TabIndex = 4; // // pictureBindings // pictureBindings.BackgroundImage = Resources.icons8_keyboard_32; pictureBindings.BackgroundImageLayout = ImageLayout.Zoom; - pictureBindings.Location = new Point(20, 11); + pictureBindings.Location = new Point(21, 11); pictureBindings.Name = "pictureBindings"; pictureBindings.Size = new Size(32, 32); pictureBindings.TabIndex = 1; @@ -253,8 +254,8 @@ private void InitializeComponent() pictureHelp.BackgroundImage = Resources.icons8_help_32; pictureHelp.BackgroundImageLayout = ImageLayout.Zoom; pictureHelp.Cursor = Cursors.Hand; - pictureHelp.Location = new Point(897, 11); - pictureHelp.Margin = new Padding(4, 3, 4, 3); + pictureHelp.Location = new Point(931, 11); + pictureHelp.Margin = new Padding(5, 3, 5, 3); pictureHelp.Name = "pictureHelp"; pictureHelp.Size = new Size(32, 32); pictureHelp.TabIndex = 11; @@ -263,7 +264,7 @@ private void InitializeComponent() // labelBindings // labelBindings.AutoSize = true; - labelBindings.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point); + labelBindings.Font = new Font("Segoe UI", 9F, FontStyle.Bold); labelBindings.Location = new Point(56, 8); labelBindings.Name = "labelBindings"; labelBindings.Size = new Size(114, 32); @@ -279,7 +280,7 @@ private void InitializeComponent() panelBindings.Location = new Point(15, 66); panelBindings.Name = "panelBindings"; panelBindings.Padding = new Padding(0, 0, 11, 5); - panelBindings.Size = new Size(949, 397); + panelBindings.Size = new Size(983, 395); panelBindings.TabIndex = 1; panelBindings.TabStop = true; // @@ -318,9 +319,9 @@ private void InitializeComponent() tableBindings.Controls.Add(labelM1, 0, 0); tableBindings.Dock = DockStyle.Top; tableBindings.Location = new Point(0, 0); - tableBindings.Margin = new Padding(0, 3, 4, 3); + tableBindings.Margin = new Padding(0, 3, 5, 3); tableBindings.Name = "tableBindings"; - tableBindings.Padding = new Padding(16, 12, 0, 12); + tableBindings.Padding = new Padding(16, 11, 0, 11); tableBindings.RowCount = 8; tableBindings.RowStyles.Add(new RowStyle()); tableBindings.RowStyles.Add(new RowStyle()); @@ -330,13 +331,13 @@ private void InitializeComponent() tableBindings.RowStyles.Add(new RowStyle()); tableBindings.RowStyles.Add(new RowStyle()); tableBindings.RowStyles.Add(new RowStyle()); - tableBindings.Size = new Size(938, 392); + tableBindings.Size = new Size(972, 390); tableBindings.TabIndex = 12; // // labelFNE // labelFNE.AutoSize = true; - labelFNE.Location = new Point(16, 334); + labelFNE.Location = new Point(16, 333); labelFNE.Margin = new Padding(0); labelFNE.Name = "labelFNE"; labelFNE.Padding = new Padding(5, 11, 0, 0); @@ -350,27 +351,27 @@ private void InitializeComponent() comboFNE.ButtonColor = Color.FromArgb(255, 255, 255); comboFNE.Dock = DockStyle.Top; comboFNE.FormattingEnabled = true; - comboFNE.Location = new Point(204, 337); - comboFNE.Margin = new Padding(4, 3, 4, 3); + comboFNE.Location = new Point(212, 336); + comboFNE.Margin = new Padding(5, 3, 5, 3); comboFNE.Name = "comboFNE"; - comboFNE.Size = new Size(360, 40); + comboFNE.Size = new Size(372, 40); comboFNE.TabIndex = 8; // // textFNE // textFNE.Dock = DockStyle.Top; - textFNE.Location = new Point(572, 337); - textFNE.Margin = new Padding(4, 3, 4, 3); + textFNE.Location = new Point(594, 336); + textFNE.Margin = new Padding(5, 3, 5, 3); textFNE.Name = "textFNE"; textFNE.PlaceholderText = "action"; - textFNE.Size = new Size(362, 39); + textFNE.Size = new Size(373, 39); textFNE.TabIndex = 19; textFNE.TabStop = false; // // labelFNV // labelFNV.AutoSize = true; - labelFNV.Location = new Point(16, 288); + labelFNV.Location = new Point(16, 287); labelFNV.Margin = new Padding(0); labelFNV.Name = "labelFNV"; labelFNV.Padding = new Padding(5, 11, 0, 0); @@ -384,27 +385,27 @@ private void InitializeComponent() comboFNV.ButtonColor = Color.FromArgb(255, 255, 255); comboFNV.Dock = DockStyle.Top; comboFNV.FormattingEnabled = true; - comboFNV.Location = new Point(204, 291); - comboFNV.Margin = new Padding(4, 3, 4, 3); + comboFNV.Location = new Point(212, 290); + comboFNV.Margin = new Padding(5, 3, 5, 3); comboFNV.Name = "comboFNV"; - comboFNV.Size = new Size(360, 40); + comboFNV.Size = new Size(372, 40); comboFNV.TabIndex = 7; // // textFNV // textFNV.Dock = DockStyle.Top; - textFNV.Location = new Point(572, 291); - textFNV.Margin = new Padding(4, 3, 4, 3); + textFNV.Location = new Point(594, 290); + textFNV.Margin = new Padding(5, 3, 5, 3); textFNV.Name = "textFNV"; textFNV.PlaceholderText = "action"; - textFNV.Size = new Size(362, 39); + textFNV.Size = new Size(373, 39); textFNV.TabIndex = 18; textFNV.TabStop = false; // // labelFNC // labelFNC.AutoSize = true; - labelFNC.Location = new Point(16, 242); + labelFNC.Location = new Point(16, 241); labelFNC.Margin = new Padding(0); labelFNC.Name = "labelFNC"; labelFNC.Padding = new Padding(5, 11, 0, 0); @@ -418,27 +419,27 @@ private void InitializeComponent() comboFNC.ButtonColor = Color.FromArgb(255, 255, 255); comboFNC.Dock = DockStyle.Top; comboFNC.FormattingEnabled = true; - comboFNC.Location = new Point(204, 245); - comboFNC.Margin = new Padding(4, 3, 4, 3); + comboFNC.Location = new Point(212, 244); + comboFNC.Margin = new Padding(5, 3, 5, 3); comboFNC.Name = "comboFNC"; - comboFNC.Size = new Size(360, 40); + comboFNC.Size = new Size(372, 40); comboFNC.TabIndex = 6; // // textFNC // textFNC.Dock = DockStyle.Top; - textFNC.Location = new Point(572, 245); - textFNC.Margin = new Padding(4, 3, 4, 3); + textFNC.Location = new Point(594, 244); + textFNC.Margin = new Padding(5, 3, 5, 3); textFNC.Name = "textFNC"; textFNC.PlaceholderText = "action"; - textFNC.Size = new Size(362, 39); + textFNC.Size = new Size(373, 39); textFNC.TabIndex = 17; textFNC.TabStop = false; // // labelFNF4 // labelFNF4.AutoSize = true; - labelFNF4.Location = new Point(16, 196); + labelFNF4.Location = new Point(16, 195); labelFNF4.Margin = new Padding(0); labelFNF4.Name = "labelFNF4"; labelFNF4.Padding = new Padding(5, 11, 0, 0); @@ -452,20 +453,20 @@ private void InitializeComponent() comboFNF4.ButtonColor = Color.FromArgb(255, 255, 255); comboFNF4.Dock = DockStyle.Top; comboFNF4.FormattingEnabled = true; - comboFNF4.Location = new Point(204, 199); - comboFNF4.Margin = new Padding(4, 3, 4, 3); + comboFNF4.Location = new Point(212, 198); + comboFNF4.Margin = new Padding(5, 3, 5, 3); comboFNF4.Name = "comboFNF4"; - comboFNF4.Size = new Size(360, 40); + comboFNF4.Size = new Size(372, 40); comboFNF4.TabIndex = 5; // // textFNF4 // textFNF4.Dock = DockStyle.Top; - textFNF4.Location = new Point(572, 199); - textFNF4.Margin = new Padding(4, 3, 4, 3); + textFNF4.Location = new Point(594, 198); + textFNF4.Margin = new Padding(5, 3, 5, 3); textFNF4.Name = "textFNF4"; textFNF4.PlaceholderText = "action"; - textFNF4.Size = new Size(362, 39); + textFNF4.Size = new Size(373, 39); textFNF4.TabIndex = 8; textFNF4.TabStop = false; // @@ -476,27 +477,27 @@ private void InitializeComponent() comboM4.Dock = DockStyle.Top; comboM4.FormattingEnabled = true; comboM4.Items.AddRange(new object[] { Strings.PerformanceMode, Strings.OpenGHelper, Strings.Custom }); - comboM4.Location = new Point(204, 153); - comboM4.Margin = new Padding(4, 3, 4, 3); + comboM4.Location = new Point(212, 152); + comboM4.Margin = new Padding(5, 3, 5, 3); comboM4.Name = "comboM4"; - comboM4.Size = new Size(360, 40); + comboM4.Size = new Size(372, 40); comboM4.TabIndex = 4; // // textM4 // textM4.Dock = DockStyle.Top; - textM4.Location = new Point(572, 153); - textM4.Margin = new Padding(4, 3, 4, 3); + textM4.Location = new Point(594, 152); + textM4.Margin = new Padding(5, 3, 5, 3); textM4.Name = "textM4"; textM4.PlaceholderText = "action"; - textM4.Size = new Size(362, 39); + textM4.Size = new Size(373, 39); textM4.TabIndex = 5; textM4.TabStop = false; // // labelM4 // labelM4.AutoSize = true; - labelM4.Location = new Point(16, 150); + labelM4.Location = new Point(16, 149); labelM4.Margin = new Padding(0); labelM4.Name = "labelM4"; labelM4.Padding = new Padding(5, 11, 0, 0); @@ -511,27 +512,27 @@ private void InitializeComponent() comboM3.Dock = DockStyle.Top; comboM3.FormattingEnabled = true; comboM3.Items.AddRange(new object[] { Strings.Default, Strings.VolumeMute, Strings.PlayPause, Strings.PrintScreen, Strings.ToggleAura, Strings.Custom }); - comboM3.Location = new Point(204, 107); - comboM3.Margin = new Padding(4, 3, 4, 3); + comboM3.Location = new Point(212, 106); + comboM3.Margin = new Padding(5, 3, 5, 3); comboM3.Name = "comboM3"; - comboM3.Size = new Size(360, 40); + comboM3.Size = new Size(372, 40); comboM3.TabIndex = 3; // // textM3 // textM3.Dock = DockStyle.Top; - textM3.Location = new Point(572, 107); - textM3.Margin = new Padding(4, 3, 4, 3); + textM3.Location = new Point(594, 106); + textM3.Margin = new Padding(5, 3, 5, 3); textM3.Name = "textM3"; textM3.PlaceholderText = "action"; - textM3.Size = new Size(362, 39); + textM3.Size = new Size(373, 39); textM3.TabIndex = 4; textM3.TabStop = false; // // labelM3 // labelM3.AutoSize = true; - labelM3.Location = new Point(16, 104); + labelM3.Location = new Point(16, 103); labelM3.Margin = new Padding(0); labelM3.Name = "labelM3"; labelM3.Padding = new Padding(5, 11, 0, 0); @@ -542,18 +543,18 @@ private void InitializeComponent() // textM2 // textM2.Dock = DockStyle.Top; - textM2.Location = new Point(573, 61); + textM2.Location = new Point(594, 60); textM2.Margin = new Padding(5, 3, 5, 3); textM2.Name = "textM2"; textM2.PlaceholderText = "action"; - textM2.Size = new Size(360, 39); + textM2.Size = new Size(373, 39); textM2.TabIndex = 14; textM2.TabStop = false; // // labelM2 // labelM2.AutoSize = true; - labelM2.Location = new Point(16, 58); + labelM2.Location = new Point(16, 57); labelM2.Margin = new Padding(0); labelM2.Name = "labelM2"; labelM2.Padding = new Padding(5, 11, 0, 0); @@ -568,20 +569,20 @@ private void InitializeComponent() comboM2.Dock = DockStyle.Top; comboM2.FormattingEnabled = true; comboM2.Items.AddRange(new object[] { Strings.Default, Strings.VolumeMute, Strings.PlayPause, Strings.PrintScreen, Strings.ToggleAura, Strings.Custom }); - comboM2.Location = new Point(204, 61); - comboM2.Margin = new Padding(4, 3, 4, 3); + comboM2.Location = new Point(212, 60); + comboM2.Margin = new Padding(5, 3, 5, 3); comboM2.Name = "comboM2"; - comboM2.Size = new Size(360, 40); + comboM2.Size = new Size(372, 40); comboM2.TabIndex = 2; // // textM1 // textM1.Dock = DockStyle.Top; - textM1.Location = new Point(572, 15); - textM1.Margin = new Padding(4, 3, 4, 3); + textM1.Location = new Point(594, 14); + textM1.Margin = new Padding(5, 3, 5, 3); textM1.Name = "textM1"; textM1.PlaceholderText = "action"; - textM1.Size = new Size(362, 39); + textM1.Size = new Size(373, 39); textM1.TabIndex = 13; textM1.TabStop = false; // @@ -592,16 +593,16 @@ private void InitializeComponent() comboM1.Dock = DockStyle.Top; comboM1.FormattingEnabled = true; comboM1.Items.AddRange(new object[] { Strings.Default, Strings.VolumeMute, Strings.PlayPause, Strings.PrintScreen, Strings.ToggleAura, Strings.Custom }); - comboM1.Location = new Point(204, 15); - comboM1.Margin = new Padding(4, 3, 4, 3); + comboM1.Location = new Point(212, 14); + comboM1.Margin = new Padding(5, 3, 5, 3); comboM1.Name = "comboM1"; - comboM1.Size = new Size(360, 40); + comboM1.Size = new Size(372, 40); comboM1.TabIndex = 1; // // labelM1 // labelM1.AutoSize = true; - labelM1.Location = new Point(16, 12); + labelM1.Location = new Point(16, 11); labelM1.Margin = new Padding(0); labelM1.Name = "labelM1"; labelM1.Padding = new Padding(5, 11, 0, 0); @@ -635,21 +636,21 @@ private void InitializeComponent() panelBacklightHeader.Controls.Add(pictureBacklight); panelBacklightHeader.Controls.Add(labelBacklightTitle); panelBacklightHeader.Dock = DockStyle.Top; - panelBacklightHeader.Location = new Point(15, 463); + panelBacklightHeader.Location = new Point(15, 461); panelBacklightHeader.Name = "panelBacklightHeader"; panelBacklightHeader.Padding = new Padding(11, 5, 11, 5); - panelBacklightHeader.Size = new Size(949, 51); + panelBacklightHeader.Size = new Size(983, 51); panelBacklightHeader.TabIndex = 44; // // sliderBrightness // sliderBrightness.Anchor = AnchorStyles.Top | AnchorStyles.Right; - sliderBrightness.Location = new Point(433, 5); + sliderBrightness.Location = new Point(467, 5); sliderBrightness.Margin = new Padding(0); sliderBrightness.Max = 3; sliderBrightness.Min = 0; sliderBrightness.Name = "sliderBrightness"; - sliderBrightness.Size = new Size(500, 40); + sliderBrightness.Size = new Size(501, 40); sliderBrightness.Step = 1; sliderBrightness.TabIndex = 50; sliderBrightness.TabStop = false; @@ -660,7 +661,7 @@ private void InitializeComponent() // pictureBacklight.BackgroundImage = Resources.backlight; pictureBacklight.BackgroundImageLayout = ImageLayout.Zoom; - pictureBacklight.Location = new Point(20, 11); + pictureBacklight.Location = new Point(21, 11); pictureBacklight.Name = "pictureBacklight"; pictureBacklight.Size = new Size(32, 32); pictureBacklight.TabIndex = 3; @@ -669,7 +670,7 @@ private void InitializeComponent() // labelBacklightTitle // labelBacklightTitle.AutoSize = true; - labelBacklightTitle.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point); + labelBacklightTitle.Font = new Font("Segoe UI", 9F, FontStyle.Bold); labelBacklightTitle.Location = new Point(56, 8); labelBacklightTitle.Name = "labelBacklightTitle"; labelBacklightTitle.Size = new Size(119, 32); @@ -683,10 +684,10 @@ private void InitializeComponent() panelBacklight.Controls.Add(panelXMG); panelBacklight.Controls.Add(tableBacklight); panelBacklight.Dock = DockStyle.Top; - panelBacklight.Location = new Point(15, 514); + panelBacklight.Location = new Point(15, 512); panelBacklight.Name = "panelBacklight"; panelBacklight.Padding = new Padding(0, 5, 0, 5); - panelBacklight.Size = new Size(949, 445); + panelBacklight.Size = new Size(983, 444); panelBacklight.TabIndex = 2; // // panelBacklightExtra @@ -699,50 +700,52 @@ private void InitializeComponent() panelBacklightExtra.Controls.Add(labelSpeed); panelBacklightExtra.Controls.Add(comboKeyboardSpeed); panelBacklightExtra.Dock = DockStyle.Top; - panelBacklightExtra.Location = new Point(0, 325); - panelBacklightExtra.Margin = new Padding(4, 3, 4, 3); + panelBacklightExtra.Location = new Point(0, 324); + panelBacklightExtra.Margin = new Padding(5, 3, 5, 3); panelBacklightExtra.Name = "panelBacklightExtra"; panelBacklightExtra.Padding = new Padding(0, 0, 0, 5); - panelBacklightExtra.Size = new Size(949, 115); + panelBacklightExtra.Size = new Size(983, 115); panelBacklightExtra.TabIndex = 46; // // numericBacklightPluggedTime // numericBacklightPluggedTime.Anchor = AnchorStyles.Top | AnchorStyles.Right; - numericBacklightPluggedTime.Location = new Point(636, 63); - numericBacklightPluggedTime.Margin = new Padding(4, 3, 4, 3); + numericBacklightPluggedTime.Location = new Point(669, 63); + numericBacklightPluggedTime.Margin = new Padding(5, 3, 5, 3); numericBacklightPluggedTime.Maximum = new decimal(new int[] { 3600, 0, 0, 0 }); numericBacklightPluggedTime.Name = "numericBacklightPluggedTime"; - numericBacklightPluggedTime.Size = new Size(140, 39); + numericBacklightPluggedTime.Size = new Size(139, 39); numericBacklightPluggedTime.TabIndex = 1; numericBacklightPluggedTime.Unit = "sec"; + numericBacklightPluggedTime.UnitFirst = false; // // numericBacklightTime // numericBacklightTime.Anchor = AnchorStyles.Top | AnchorStyles.Right; - numericBacklightTime.Location = new Point(788, 63); - numericBacklightTime.Margin = new Padding(4, 3, 4, 3); + numericBacklightTime.Location = new Point(823, 63); + numericBacklightTime.Margin = new Padding(5, 3, 5, 3); numericBacklightTime.Maximum = new decimal(new int[] { 3600, 0, 0, 0 }); numericBacklightTime.Name = "numericBacklightTime"; - numericBacklightTime.Size = new Size(140, 39); + numericBacklightTime.Size = new Size(139, 39); numericBacklightTime.TabIndex = 2; numericBacklightTime.Unit = "sec"; + numericBacklightTime.UnitFirst = false; // // labelBacklightTimeout // labelBacklightTimeout.Location = new Point(16, 63); - labelBacklightTimeout.Margin = new Padding(4, 0, 4, 0); + labelBacklightTimeout.Margin = new Padding(5, 0, 5, 0); labelBacklightTimeout.Name = "labelBacklightTimeout"; - labelBacklightTimeout.Size = new Size(612, 47); + labelBacklightTimeout.Size = new Size(613, 47); labelBacklightTimeout.TabIndex = 46; labelBacklightTimeout.Text = "Timeout when plugged / on battery"; // // labelSpeed // labelSpeed.Location = new Point(16, 16); - labelSpeed.Margin = new Padding(4, 0, 4, 0); + labelSpeed.Margin = new Padding(5, 0, 5, 0); labelSpeed.Name = "labelSpeed"; - labelSpeed.Size = new Size(612, 43); + labelSpeed.Size = new Size(613, 43); labelSpeed.TabIndex = 44; labelSpeed.Text = "Animation Speed"; // @@ -752,12 +755,12 @@ private void InitializeComponent() comboKeyboardSpeed.BorderColor = Color.White; comboKeyboardSpeed.ButtonColor = SystemColors.ControlLight; comboKeyboardSpeed.FlatStyle = FlatStyle.Flat; - comboKeyboardSpeed.Font = new Font("Segoe UI", 9F, FontStyle.Regular, GraphicsUnit.Point); + comboKeyboardSpeed.Font = new Font("Segoe UI", 9F); comboKeyboardSpeed.FormattingEnabled = true; comboKeyboardSpeed.ItemHeight = 32; comboKeyboardSpeed.Items.AddRange(new object[] { "Slow", "Normal", "Fast" }); - comboKeyboardSpeed.Location = new Point(636, 13); - comboKeyboardSpeed.Margin = new Padding(4, 12, 4, 9); + comboKeyboardSpeed.Location = new Point(669, 13); + comboKeyboardSpeed.Margin = new Padding(5, 11, 5, 9); comboKeyboardSpeed.Name = "comboKeyboardSpeed"; comboKeyboardSpeed.Size = new Size(293, 40); comboKeyboardSpeed.TabIndex = 0; @@ -768,16 +771,16 @@ private void InitializeComponent() panelXMG.Controls.Add(checkXMG); panelXMG.Dock = DockStyle.Top; panelXMG.Location = new Point(0, 265); - panelXMG.Margin = new Padding(4, 3, 4, 3); + panelXMG.Margin = new Padding(5, 3, 5, 3); panelXMG.Name = "panelXMG"; - panelXMG.Size = new Size(949, 60); + panelXMG.Size = new Size(983, 59); panelXMG.TabIndex = 45; // // checkXMG // checkXMG.AutoSize = true; - checkXMG.Location = new Point(4, 11); - checkXMG.Margin = new Padding(4, 3, 4, 3); + checkXMG.Location = new Point(5, 11); + checkXMG.Margin = new Padding(5, 3, 5, 3); checkXMG.Name = "checkXMG"; checkXMG.Padding = new Padding(16, 3, 7, 3); checkXMG.Size = new Size(181, 42); @@ -793,35 +796,30 @@ private void InitializeComponent() tableBacklight.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25F)); tableBacklight.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25F)); tableBacklight.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25F)); - tableBacklight.Controls.Add(labelBacklightKeyboard, 0, 0); tableBacklight.Controls.Add(checkAwake, 0, 1); tableBacklight.Controls.Add(checkBoot, 0, 2); tableBacklight.Controls.Add(checkSleep, 0, 3); tableBacklight.Controls.Add(checkShutdown, 0, 4); tableBacklight.Controls.Add(checkBattery, 0, 5); - tableBacklight.Controls.Add(labelBacklightLogo, 1, 0); tableBacklight.Controls.Add(checkAwakeLogo, 1, 1); tableBacklight.Controls.Add(checkBootLogo, 1, 2); tableBacklight.Controls.Add(checkSleepLogo, 1, 3); tableBacklight.Controls.Add(checkShutdownLogo, 1, 4); tableBacklight.Controls.Add(checkBatteryLogo, 1, 5); - tableBacklight.Controls.Add(labelBacklightBar, 2, 0); tableBacklight.Controls.Add(checkAwakeBar, 2, 1); tableBacklight.Controls.Add(checkBootBar, 2, 2); tableBacklight.Controls.Add(checkSleepBar, 2, 3); tableBacklight.Controls.Add(checkShutdownBar, 2, 4); tableBacklight.Controls.Add(checkBatteryBar, 2, 5); - tableBacklight.Controls.Add(labelBacklightLid, 3, 0); tableBacklight.Controls.Add(checkAwakeLid, 3, 1); tableBacklight.Controls.Add(checkBootLid, 3, 2); tableBacklight.Controls.Add(checkSleepLid, 3, 3); tableBacklight.Controls.Add(checkShutdownLid, 3, 4); tableBacklight.Controls.Add(checkBatteryLid, 3, 5); - tableBacklight.Dock = DockStyle.Top; tableBacklight.Location = new Point(0, 5); tableBacklight.Margin = new Padding(0); @@ -833,29 +831,29 @@ private void InitializeComponent() tableBacklight.RowStyles.Add(new RowStyle()); tableBacklight.RowStyles.Add(new RowStyle()); tableBacklight.RowStyles.Add(new RowStyle()); - tableBacklight.Size = new Size(949, 260); + tableBacklight.Size = new Size(983, 260); tableBacklight.TabIndex = 44; // // labelBacklightKeyboard // labelBacklightKeyboard.Dock = DockStyle.Fill; - labelBacklightKeyboard.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point); - labelBacklightKeyboard.Location = new Point(4, 0); - labelBacklightKeyboard.Margin = new Padding(4, 0, 4, 0); + labelBacklightKeyboard.Font = new Font("Segoe UI", 9F, FontStyle.Bold); + labelBacklightKeyboard.Location = new Point(5, 0); + labelBacklightKeyboard.Margin = new Padding(5, 0, 5, 0); labelBacklightKeyboard.Name = "labelBacklightKeyboard"; - labelBacklightKeyboard.Padding = new Padding(9, 4, 7, 4); - labelBacklightKeyboard.Size = new Size(229, 45); + labelBacklightKeyboard.Padding = new Padding(9, 5, 7, 5); + labelBacklightKeyboard.Size = new Size(235, 45); labelBacklightKeyboard.TabIndex = 6; labelBacklightKeyboard.Text = "Keyboard"; // // checkAwake // checkAwake.Dock = DockStyle.Fill; - checkAwake.Location = new Point(4, 45); - checkAwake.Margin = new Padding(4, 0, 4, 0); + checkAwake.Location = new Point(5, 45); + checkAwake.Margin = new Padding(5, 0, 5, 0); checkAwake.Name = "checkAwake"; checkAwake.Padding = new Padding(16, 3, 7, 3); - checkAwake.Size = new Size(229, 43); + checkAwake.Size = new Size(235, 43); checkAwake.TabIndex = 1; checkAwake.Text = Strings.Awake; checkAwake.UseVisualStyleBackColor = true; @@ -863,11 +861,11 @@ private void InitializeComponent() // checkBoot // checkBoot.Dock = DockStyle.Fill; - checkBoot.Location = new Point(4, 88); - checkBoot.Margin = new Padding(4, 0, 4, 0); + checkBoot.Location = new Point(5, 88); + checkBoot.Margin = new Padding(5, 0, 5, 0); checkBoot.Name = "checkBoot"; checkBoot.Padding = new Padding(16, 3, 7, 3); - checkBoot.Size = new Size(229, 43); + checkBoot.Size = new Size(235, 43); checkBoot.TabIndex = 2; checkBoot.Text = Strings.Boot; checkBoot.UseVisualStyleBackColor = true; @@ -875,11 +873,11 @@ private void InitializeComponent() // checkSleep // checkSleep.Dock = DockStyle.Fill; - checkSleep.Location = new Point(4, 131); - checkSleep.Margin = new Padding(4, 0, 4, 0); + checkSleep.Location = new Point(5, 131); + checkSleep.Margin = new Padding(5, 0, 5, 0); checkSleep.Name = "checkSleep"; checkSleep.Padding = new Padding(16, 3, 7, 3); - checkSleep.Size = new Size(229, 43); + checkSleep.Size = new Size(235, 43); checkSleep.TabIndex = 3; checkSleep.Text = "Sleep"; checkSleep.UseVisualStyleBackColor = true; @@ -887,35 +885,47 @@ private void InitializeComponent() // checkShutdown // checkShutdown.Dock = DockStyle.Fill; - checkShutdown.Location = new Point(4, 174); - checkShutdown.Margin = new Padding(4, 0, 4, 0); + checkShutdown.Location = new Point(5, 174); + checkShutdown.Margin = new Padding(5, 0, 5, 0); checkShutdown.Name = "checkShutdown"; checkShutdown.Padding = new Padding(16, 3, 7, 3); - checkShutdown.Size = new Size(229, 43); + checkShutdown.Size = new Size(235, 43); checkShutdown.TabIndex = 4; checkShutdown.Text = Strings.Shutdown; checkShutdown.UseVisualStyleBackColor = true; // + // checkBattery + // + checkBattery.Dock = DockStyle.Fill; + checkBattery.Location = new Point(5, 217); + checkBattery.Margin = new Padding(5, 0, 5, 0); + checkBattery.Name = "checkBattery"; + checkBattery.Padding = new Padding(16, 3, 7, 3); + checkBattery.Size = new Size(235, 43); + checkBattery.TabIndex = 24; + checkBattery.Text = "Battery"; + checkBattery.UseVisualStyleBackColor = true; + // // labelBacklightLogo // labelBacklightLogo.Dock = DockStyle.Fill; - labelBacklightLogo.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point); - labelBacklightLogo.Location = new Point(241, 0); - labelBacklightLogo.Margin = new Padding(4, 0, 4, 0); + labelBacklightLogo.Font = new Font("Segoe UI", 9F, FontStyle.Bold); + labelBacklightLogo.Location = new Point(250, 0); + labelBacklightLogo.Margin = new Padding(5, 0, 5, 0); labelBacklightLogo.Name = "labelBacklightLogo"; - labelBacklightLogo.Padding = new Padding(9, 4, 7, 4); - labelBacklightLogo.Size = new Size(229, 45); + labelBacklightLogo.Padding = new Padding(9, 5, 7, 5); + labelBacklightLogo.Size = new Size(235, 45); labelBacklightLogo.TabIndex = 21; labelBacklightLogo.Text = "Logo"; // // checkAwakeLogo // checkAwakeLogo.Dock = DockStyle.Fill; - checkAwakeLogo.Location = new Point(241, 45); - checkAwakeLogo.Margin = new Padding(4, 0, 4, 0); + checkAwakeLogo.Location = new Point(250, 45); + checkAwakeLogo.Margin = new Padding(5, 0, 5, 0); checkAwakeLogo.Name = "checkAwakeLogo"; checkAwakeLogo.Padding = new Padding(16, 3, 7, 3); - checkAwakeLogo.Size = new Size(229, 43); + checkAwakeLogo.Size = new Size(235, 43); checkAwakeLogo.TabIndex = 17; checkAwakeLogo.Text = Strings.Awake; checkAwakeLogo.UseVisualStyleBackColor = true; @@ -923,11 +933,11 @@ private void InitializeComponent() // checkBootLogo // checkBootLogo.Dock = DockStyle.Fill; - checkBootLogo.Location = new Point(241, 88); - checkBootLogo.Margin = new Padding(4, 0, 4, 0); + checkBootLogo.Location = new Point(250, 88); + checkBootLogo.Margin = new Padding(5, 0, 5, 0); checkBootLogo.Name = "checkBootLogo"; checkBootLogo.Padding = new Padding(16, 3, 7, 3); - checkBootLogo.Size = new Size(229, 43); + checkBootLogo.Size = new Size(235, 43); checkBootLogo.TabIndex = 18; checkBootLogo.Text = Strings.Boot; checkBootLogo.UseVisualStyleBackColor = true; @@ -935,11 +945,11 @@ private void InitializeComponent() // checkSleepLogo // checkSleepLogo.Dock = DockStyle.Fill; - checkSleepLogo.Location = new Point(241, 131); - checkSleepLogo.Margin = new Padding(4, 0, 4, 0); + checkSleepLogo.Location = new Point(250, 131); + checkSleepLogo.Margin = new Padding(5, 0, 5, 0); checkSleepLogo.Name = "checkSleepLogo"; checkSleepLogo.Padding = new Padding(16, 3, 7, 3); - checkSleepLogo.Size = new Size(229, 43); + checkSleepLogo.Size = new Size(235, 43); checkSleepLogo.TabIndex = 19; checkSleepLogo.Text = Strings.Sleep; checkSleepLogo.UseVisualStyleBackColor = true; @@ -947,35 +957,47 @@ private void InitializeComponent() // checkShutdownLogo // checkShutdownLogo.Dock = DockStyle.Fill; - checkShutdownLogo.Location = new Point(241, 174); - checkShutdownLogo.Margin = new Padding(4, 0, 4, 0); + checkShutdownLogo.Location = new Point(250, 174); + checkShutdownLogo.Margin = new Padding(5, 0, 5, 0); checkShutdownLogo.Name = "checkShutdownLogo"; checkShutdownLogo.Padding = new Padding(16, 3, 7, 3); - checkShutdownLogo.Size = new Size(229, 43); + checkShutdownLogo.Size = new Size(235, 43); checkShutdownLogo.TabIndex = 20; checkShutdownLogo.Text = Strings.Shutdown; checkShutdownLogo.UseVisualStyleBackColor = true; // + // checkBatteryLogo + // + checkBatteryLogo.Dock = DockStyle.Fill; + checkBatteryLogo.Location = new Point(250, 217); + checkBatteryLogo.Margin = new Padding(5, 0, 5, 0); + checkBatteryLogo.Name = "checkBatteryLogo"; + checkBatteryLogo.Padding = new Padding(16, 3, 7, 3); + checkBatteryLogo.Size = new Size(235, 43); + checkBatteryLogo.TabIndex = 25; + checkBatteryLogo.Text = "Battery"; + checkBatteryLogo.UseVisualStyleBackColor = true; + // // labelBacklightBar // labelBacklightBar.Dock = DockStyle.Fill; - labelBacklightBar.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point); - labelBacklightBar.Location = new Point(478, 0); - labelBacklightBar.Margin = new Padding(4, 0, 4, 0); + labelBacklightBar.Font = new Font("Segoe UI", 9F, FontStyle.Bold); + labelBacklightBar.Location = new Point(495, 0); + labelBacklightBar.Margin = new Padding(5, 0, 5, 0); labelBacklightBar.Name = "labelBacklightBar"; - labelBacklightBar.Padding = new Padding(9, 4, 7, 4); - labelBacklightBar.Size = new Size(229, 45); + labelBacklightBar.Padding = new Padding(9, 5, 7, 5); + labelBacklightBar.Size = new Size(235, 45); labelBacklightBar.TabIndex = 11; labelBacklightBar.Text = "Lightbar"; // // checkAwakeBar // checkAwakeBar.Dock = DockStyle.Fill; - checkAwakeBar.Location = new Point(478, 45); - checkAwakeBar.Margin = new Padding(4, 0, 4, 0); + checkAwakeBar.Location = new Point(495, 45); + checkAwakeBar.Margin = new Padding(5, 0, 5, 0); checkAwakeBar.Name = "checkAwakeBar"; checkAwakeBar.Padding = new Padding(16, 3, 7, 3); - checkAwakeBar.Size = new Size(229, 43); + checkAwakeBar.Size = new Size(235, 43); checkAwakeBar.TabIndex = 7; checkAwakeBar.Text = Strings.Awake; checkAwakeBar.UseVisualStyleBackColor = true; @@ -983,11 +1005,11 @@ private void InitializeComponent() // checkBootBar // checkBootBar.Dock = DockStyle.Fill; - checkBootBar.Location = new Point(478, 88); - checkBootBar.Margin = new Padding(4, 0, 4, 0); + checkBootBar.Location = new Point(495, 88); + checkBootBar.Margin = new Padding(5, 0, 5, 0); checkBootBar.Name = "checkBootBar"; checkBootBar.Padding = new Padding(16, 3, 7, 3); - checkBootBar.Size = new Size(229, 43); + checkBootBar.Size = new Size(235, 43); checkBootBar.TabIndex = 8; checkBootBar.Text = Strings.Boot; checkBootBar.UseVisualStyleBackColor = true; @@ -995,11 +1017,11 @@ private void InitializeComponent() // checkSleepBar // checkSleepBar.Dock = DockStyle.Fill; - checkSleepBar.Location = new Point(478, 131); - checkSleepBar.Margin = new Padding(4, 0, 4, 0); + checkSleepBar.Location = new Point(495, 131); + checkSleepBar.Margin = new Padding(5, 0, 5, 0); checkSleepBar.Name = "checkSleepBar"; checkSleepBar.Padding = new Padding(16, 3, 7, 3); - checkSleepBar.Size = new Size(229, 43); + checkSleepBar.Size = new Size(235, 43); checkSleepBar.TabIndex = 9; checkSleepBar.Text = Strings.Sleep; checkSleepBar.UseVisualStyleBackColor = true; @@ -1007,35 +1029,47 @@ private void InitializeComponent() // checkShutdownBar // checkShutdownBar.Dock = DockStyle.Fill; - checkShutdownBar.Location = new Point(478, 174); - checkShutdownBar.Margin = new Padding(4, 0, 4, 0); + checkShutdownBar.Location = new Point(495, 174); + checkShutdownBar.Margin = new Padding(5, 0, 5, 0); checkShutdownBar.Name = "checkShutdownBar"; checkShutdownBar.Padding = new Padding(16, 3, 7, 3); - checkShutdownBar.Size = new Size(229, 43); + checkShutdownBar.Size = new Size(235, 43); checkShutdownBar.TabIndex = 10; checkShutdownBar.Text = Strings.Shutdown; checkShutdownBar.UseVisualStyleBackColor = true; // + // checkBatteryBar + // + checkBatteryBar.Dock = DockStyle.Fill; + checkBatteryBar.Location = new Point(495, 217); + checkBatteryBar.Margin = new Padding(5, 0, 5, 0); + checkBatteryBar.Name = "checkBatteryBar"; + checkBatteryBar.Padding = new Padding(16, 3, 7, 3); + checkBatteryBar.Size = new Size(235, 43); + checkBatteryBar.TabIndex = 22; + checkBatteryBar.Text = "Battery"; + checkBatteryBar.UseVisualStyleBackColor = true; + // // labelBacklightLid // labelBacklightLid.Dock = DockStyle.Fill; - labelBacklightLid.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point); - labelBacklightLid.Location = new Point(715, 0); - labelBacklightLid.Margin = new Padding(4, 0, 4, 0); + labelBacklightLid.Font = new Font("Segoe UI", 9F, FontStyle.Bold); + labelBacklightLid.Location = new Point(740, 0); + labelBacklightLid.Margin = new Padding(5, 0, 5, 0); labelBacklightLid.Name = "labelBacklightLid"; - labelBacklightLid.Padding = new Padding(9, 4, 7, 4); - labelBacklightLid.Size = new Size(230, 45); + labelBacklightLid.Padding = new Padding(9, 5, 7, 5); + labelBacklightLid.Size = new Size(238, 45); labelBacklightLid.TabIndex = 16; labelBacklightLid.Text = "Lid"; // // checkAwakeLid // checkAwakeLid.Dock = DockStyle.Fill; - checkAwakeLid.Location = new Point(715, 45); - checkAwakeLid.Margin = new Padding(4, 0, 4, 0); + checkAwakeLid.Location = new Point(740, 45); + checkAwakeLid.Margin = new Padding(5, 0, 5, 0); checkAwakeLid.Name = "checkAwakeLid"; checkAwakeLid.Padding = new Padding(16, 3, 7, 3); - checkAwakeLid.Size = new Size(230, 43); + checkAwakeLid.Size = new Size(238, 43); checkAwakeLid.TabIndex = 12; checkAwakeLid.Text = Strings.Awake; checkAwakeLid.UseVisualStyleBackColor = true; @@ -1043,11 +1077,11 @@ private void InitializeComponent() // checkBootLid // checkBootLid.Dock = DockStyle.Fill; - checkBootLid.Location = new Point(715, 88); - checkBootLid.Margin = new Padding(4, 0, 4, 0); + checkBootLid.Location = new Point(740, 88); + checkBootLid.Margin = new Padding(5, 0, 5, 0); checkBootLid.Name = "checkBootLid"; checkBootLid.Padding = new Padding(16, 3, 7, 3); - checkBootLid.Size = new Size(230, 43); + checkBootLid.Size = new Size(238, 43); checkBootLid.TabIndex = 13; checkBootLid.Text = Strings.Boot; checkBootLid.UseVisualStyleBackColor = true; @@ -1055,11 +1089,11 @@ private void InitializeComponent() // checkSleepLid // checkSleepLid.Dock = DockStyle.Fill; - checkSleepLid.Location = new Point(715, 131); - checkSleepLid.Margin = new Padding(4, 0, 4, 0); + checkSleepLid.Location = new Point(740, 131); + checkSleepLid.Margin = new Padding(5, 0, 5, 0); checkSleepLid.Name = "checkSleepLid"; checkSleepLid.Padding = new Padding(16, 3, 7, 3); - checkSleepLid.Size = new Size(230, 43); + checkSleepLid.Size = new Size(238, 43); checkSleepLid.TabIndex = 14; checkSleepLid.Text = Strings.Sleep; checkSleepLid.UseVisualStyleBackColor = true; @@ -1067,15 +1101,27 @@ private void InitializeComponent() // checkShutdownLid // checkShutdownLid.Dock = DockStyle.Fill; - checkShutdownLid.Location = new Point(715, 174); - checkShutdownLid.Margin = new Padding(4, 0, 4, 0); + checkShutdownLid.Location = new Point(740, 174); + checkShutdownLid.Margin = new Padding(5, 0, 5, 0); checkShutdownLid.Name = "checkShutdownLid"; checkShutdownLid.Padding = new Padding(16, 3, 7, 3); - checkShutdownLid.Size = new Size(230, 43); + checkShutdownLid.Size = new Size(238, 43); checkShutdownLid.TabIndex = 15; checkShutdownLid.Text = Strings.Shutdown; checkShutdownLid.UseVisualStyleBackColor = true; // + // checkBatteryLid + // + checkBatteryLid.Dock = DockStyle.Fill; + checkBatteryLid.Location = new Point(740, 217); + checkBatteryLid.Margin = new Padding(5, 0, 5, 0); + checkBatteryLid.Name = "checkBatteryLid"; + checkBatteryLid.Padding = new Padding(16, 3, 7, 3); + checkBatteryLid.Size = new Size(238, 43); + checkBatteryLid.TabIndex = 23; + checkBatteryLid.Text = "Battery"; + checkBatteryLid.UseVisualStyleBackColor = true; + // // panelSettingsHeader // panelSettingsHeader.AutoSize = true; @@ -1085,10 +1131,10 @@ private void InitializeComponent() panelSettingsHeader.Controls.Add(pictureSettings); panelSettingsHeader.Controls.Add(labelSettings); panelSettingsHeader.Dock = DockStyle.Top; - panelSettingsHeader.Location = new Point(15, 959); + panelSettingsHeader.Location = new Point(15, 956); panelSettingsHeader.Name = "panelSettingsHeader"; panelSettingsHeader.Padding = new Padding(11, 5, 11, 5); - panelSettingsHeader.Size = new Size(949, 51); + panelSettingsHeader.Size = new Size(983, 51); panelSettingsHeader.TabIndex = 45; // // pictureScan @@ -1097,8 +1143,8 @@ private void InitializeComponent() pictureScan.BackgroundImage = Resources.icons8_search_32; pictureScan.BackgroundImageLayout = ImageLayout.Zoom; pictureScan.Cursor = Cursors.Hand; - pictureScan.Location = new Point(857, 11); - pictureScan.Margin = new Padding(4, 3, 4, 3); + pictureScan.Location = new Point(891, 11); + pictureScan.Margin = new Padding(5, 3, 5, 3); pictureScan.Name = "pictureScan"; pictureScan.Size = new Size(32, 32); pictureScan.TabIndex = 13; @@ -1111,8 +1157,8 @@ private void InitializeComponent() pictureLog.BackgroundImage = Resources.icons8_log_32; pictureLog.BackgroundImageLayout = ImageLayout.Zoom; pictureLog.Cursor = Cursors.Hand; - pictureLog.Location = new Point(897, 11); - pictureLog.Margin = new Padding(4, 3, 4, 3); + pictureLog.Location = new Point(931, 11); + pictureLog.Margin = new Padding(5, 3, 5, 3); pictureLog.Name = "pictureLog"; pictureLog.Size = new Size(32, 32); pictureLog.TabIndex = 12; @@ -1122,7 +1168,7 @@ private void InitializeComponent() // pictureSettings.BackgroundImage = Resources.icons8_settings_32; pictureSettings.BackgroundImageLayout = ImageLayout.Zoom; - pictureSettings.Location = new Point(20, 11); + pictureSettings.Location = new Point(21, 11); pictureSettings.Name = "pictureSettings"; pictureSettings.Size = new Size(32, 32); pictureSettings.TabIndex = 1; @@ -1131,7 +1177,7 @@ private void InitializeComponent() // labelSettings // labelSettings.AutoSize = true; - labelSettings.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point); + labelSettings.Font = new Font("Segoe UI", 9F, FontStyle.Bold); labelSettings.Location = new Point(56, 9); labelSettings.Name = "labelSettings"; labelSettings.Size = new Size(78, 32); @@ -1155,20 +1201,20 @@ private void InitializeComponent() panelSettings.Controls.Add(checkStatusLed); panelSettings.Controls.Add(checkPerKeyRGB); panelSettings.Dock = DockStyle.Top; - panelSettings.Location = new Point(15, 1197); + panelSettings.Location = new Point(15, 1196); panelSettings.Name = "panelSettings"; - panelSettings.Padding = new Padding(20, 5, 11, 5); - panelSettings.Size = new Size(949, 472); + panelSettings.Padding = new Padding(21, 5, 11, 5); + panelSettings.Size = new Size(983, 472); panelSettings.TabIndex = 3; // // checkAutoToggleClamshellMode // checkAutoToggleClamshellMode.AutoSize = true; checkAutoToggleClamshellMode.Dock = DockStyle.Top; - checkAutoToggleClamshellMode.Location = new Point(20, 425); + checkAutoToggleClamshellMode.Location = new Point(21, 425); checkAutoToggleClamshellMode.Name = "checkAutoToggleClamshellMode"; checkAutoToggleClamshellMode.Padding = new Padding(3); - checkAutoToggleClamshellMode.Size = new Size(918, 42); + checkAutoToggleClamshellMode.Size = new Size(951, 42); checkAutoToggleClamshellMode.TabIndex = 8; checkAutoToggleClamshellMode.Text = "Auto Toggle Clamshell Mode"; checkAutoToggleClamshellMode.UseVisualStyleBackColor = true; @@ -1177,11 +1223,11 @@ private void InitializeComponent() // checkBWIcon.AutoSize = true; checkBWIcon.Dock = DockStyle.Top; - checkBWIcon.Location = new Point(20, 383); - checkBWIcon.Margin = new Padding(4, 3, 4, 3); + checkBWIcon.Location = new Point(21, 383); + checkBWIcon.Margin = new Padding(5, 3, 5, 3); checkBWIcon.Name = "checkBWIcon"; checkBWIcon.Padding = new Padding(3); - checkBWIcon.Size = new Size(918, 42); + checkBWIcon.Size = new Size(951, 42); checkBWIcon.TabIndex = 11; checkBWIcon.Text = "Black and white tray icon"; checkBWIcon.UseVisualStyleBackColor = true; @@ -1190,11 +1236,11 @@ private void InitializeComponent() // checkTopmost.AutoSize = true; checkTopmost.Dock = DockStyle.Top; - checkTopmost.Location = new Point(20, 341); - checkTopmost.Margin = new Padding(4, 3, 4, 3); + checkTopmost.Location = new Point(21, 341); + checkTopmost.Margin = new Padding(5, 3, 5, 3); checkTopmost.Name = "checkTopmost"; checkTopmost.Padding = new Padding(3); - checkTopmost.Size = new Size(918, 42); + checkTopmost.Size = new Size(951, 42); checkTopmost.TabIndex = 6; checkTopmost.Text = Strings.WindowTop; checkTopmost.UseVisualStyleBackColor = true; @@ -1203,11 +1249,11 @@ private void InitializeComponent() // checkNoOverdrive.AutoSize = true; checkNoOverdrive.Dock = DockStyle.Top; - checkNoOverdrive.Location = new Point(20, 299); - checkNoOverdrive.Margin = new Padding(4, 3, 4, 3); + checkNoOverdrive.Location = new Point(21, 299); + checkNoOverdrive.Margin = new Padding(5, 3, 5, 3); checkNoOverdrive.Name = "checkNoOverdrive"; checkNoOverdrive.Padding = new Padding(3); - checkNoOverdrive.Size = new Size(918, 42); + checkNoOverdrive.Size = new Size(951, 42); checkNoOverdrive.TabIndex = 5; checkNoOverdrive.Text = Strings.DisableOverdrive; checkNoOverdrive.UseVisualStyleBackColor = true; @@ -1216,11 +1262,11 @@ private void InitializeComponent() // checkBootSound.AutoSize = true; checkBootSound.Dock = DockStyle.Top; - checkBootSound.Location = new Point(20, 257); - checkBootSound.Margin = new Padding(4, 3, 4, 3); + checkBootSound.Location = new Point(21, 257); + checkBootSound.Margin = new Padding(5, 3, 5, 3); checkBootSound.Name = "checkBootSound"; checkBootSound.Padding = new Padding(3); - checkBootSound.Size = new Size(918, 42); + checkBootSound.Size = new Size(951, 42); checkBootSound.TabIndex = 10; checkBootSound.Text = "Boot Sound"; checkBootSound.UseVisualStyleBackColor = true; @@ -1229,11 +1275,11 @@ private void InitializeComponent() // checkUSBC.AutoSize = true; checkUSBC.Dock = DockStyle.Top; - checkUSBC.Location = new Point(20, 215); - checkUSBC.Margin = new Padding(4, 3, 4, 3); + checkUSBC.Location = new Point(21, 215); + checkUSBC.Margin = new Padding(5, 3, 5, 3); checkUSBC.Name = "checkUSBC"; checkUSBC.Padding = new Padding(3); - checkUSBC.Size = new Size(918, 42); + checkUSBC.Size = new Size(951, 42); checkUSBC.TabIndex = 4; checkUSBC.Text = "Keep GPU disabled on USB-C charger in Optimized mode"; checkUSBC.UseVisualStyleBackColor = true; @@ -1242,11 +1288,11 @@ private void InitializeComponent() // checkVariBright.AutoSize = true; checkVariBright.Dock = DockStyle.Top; - checkVariBright.Location = new Point(20, 173); - checkVariBright.Margin = new Padding(4, 3, 4, 3); + checkVariBright.Location = new Point(21, 173); + checkVariBright.Margin = new Padding(5, 3, 5, 3); checkVariBright.Name = "checkVariBright"; checkVariBright.Padding = new Padding(3); - checkVariBright.Size = new Size(918, 42); + checkVariBright.Size = new Size(951, 42); checkVariBright.TabIndex = 3; checkVariBright.Text = "AMD Display VariBright"; checkVariBright.UseVisualStyleBackColor = true; @@ -1255,11 +1301,11 @@ private void InitializeComponent() // checkGpuApps.AutoSize = true; checkGpuApps.Dock = DockStyle.Top; - checkGpuApps.Location = new Point(20, 131); - checkGpuApps.Margin = new Padding(4, 3, 4, 3); + checkGpuApps.Location = new Point(21, 131); + checkGpuApps.Margin = new Padding(5, 3, 5, 3); checkGpuApps.Name = "checkGpuApps"; checkGpuApps.Padding = new Padding(3); - checkGpuApps.Size = new Size(918, 42); + checkGpuApps.Size = new Size(951, 42); checkGpuApps.TabIndex = 2; checkGpuApps.Text = "Stop all apps using GPU when switching to Eco"; checkGpuApps.UseVisualStyleBackColor = true; @@ -1268,11 +1314,11 @@ private void InitializeComponent() // checkGPUFix.AutoSize = true; checkGPUFix.Dock = DockStyle.Top; - checkGPUFix.Location = new Point(20, 89); - checkGPUFix.Margin = new Padding(4, 3, 4, 3); + checkGPUFix.Location = new Point(21, 89); + checkGPUFix.Margin = new Padding(5, 3, 5, 3); checkGPUFix.Name = "checkGPUFix"; checkGPUFix.Padding = new Padding(3); - checkGPUFix.Size = new Size(918, 42); + checkGPUFix.Size = new Size(951, 42); checkGPUFix.TabIndex = 9; checkGPUFix.Text = "Enable GPU on shutdown (prevents issue with Eco mode)"; checkGPUFix.UseVisualStyleBackColor = true; @@ -1281,11 +1327,11 @@ private void InitializeComponent() // checkStatusLed.AutoSize = true; checkStatusLed.Dock = DockStyle.Top; - checkStatusLed.Location = new Point(20, 47); - checkStatusLed.Margin = new Padding(4, 3, 4, 3); + checkStatusLed.Location = new Point(21, 47); + checkStatusLed.Margin = new Padding(5, 3, 5, 3); checkStatusLed.Name = "checkStatusLed"; checkStatusLed.Padding = new Padding(3); - checkStatusLed.Size = new Size(918, 42); + checkStatusLed.Size = new Size(951, 42); checkStatusLed.TabIndex = 12; checkStatusLed.Text = "LED Status Indicators"; checkStatusLed.UseVisualStyleBackColor = true; @@ -1295,11 +1341,11 @@ private void InitializeComponent() // checkPerKeyRGB.AutoSize = true; checkPerKeyRGB.Dock = DockStyle.Top; - checkPerKeyRGB.Location = new Point(20, 5); - checkPerKeyRGB.Margin = new Padding(4, 3, 4, 3); + checkPerKeyRGB.Location = new Point(21, 5); + checkPerKeyRGB.Margin = new Padding(5, 3, 5, 3); checkPerKeyRGB.Name = "checkPerKeyRGB"; checkPerKeyRGB.Padding = new Padding(3); - checkPerKeyRGB.Size = new Size(918, 42); + checkPerKeyRGB.Size = new Size(951, 42); checkPerKeyRGB.TabIndex = 13; checkPerKeyRGB.Text = "Per-Key RGB Keyboard"; checkPerKeyRGB.UseVisualStyleBackColor = true; @@ -1311,28 +1357,29 @@ private void InitializeComponent() panelPower.Controls.Add(labelHibernateAfter); panelPower.Controls.Add(pictureHibernate); panelPower.Dock = DockStyle.Top; - panelPower.Location = new Point(15, 1669); + panelPower.Location = new Point(15, 1668); panelPower.Name = "panelPower"; - panelPower.Size = new Size(949, 54); + panelPower.Size = new Size(983, 54); panelPower.TabIndex = 4; // // numericHibernateAfter // numericHibernateAfter.Anchor = AnchorStyles.Top | AnchorStyles.Right; numericHibernateAfter.Increment = new decimal(new int[] { 10, 0, 0, 0 }); - numericHibernateAfter.Location = new Point(776, 7); - numericHibernateAfter.Margin = new Padding(4, 3, 4, 3); + numericHibernateAfter.Location = new Point(810, 7); + numericHibernateAfter.Margin = new Padding(5, 3, 5, 3); numericHibernateAfter.Maximum = new decimal(new int[] { 3000000, 0, 0, 0 }); numericHibernateAfter.Name = "numericHibernateAfter"; numericHibernateAfter.Size = new Size(152, 39); - numericHibernateAfter.Unit = "min"; numericHibernateAfter.TabIndex = 1; + numericHibernateAfter.Unit = "min"; + numericHibernateAfter.UnitFirst = false; // // labelHibernateAfter // labelHibernateAfter.AutoSize = true; labelHibernateAfter.Location = new Point(59, 10); - labelHibernateAfter.Margin = new Padding(4, 0, 4, 0); + labelHibernateAfter.Margin = new Padding(5, 0, 5, 0); labelHibernateAfter.Name = "labelHibernateAfter"; labelHibernateAfter.Size = new Size(457, 32); labelHibernateAfter.TabIndex = 45; @@ -1342,7 +1389,7 @@ private void InitializeComponent() // pictureHibernate.BackgroundImage = Resources.icons8_hibernate_32; pictureHibernate.BackgroundImageLayout = ImageLayout.Zoom; - pictureHibernate.Location = new Point(20, 10); + pictureHibernate.Location = new Point(21, 10); pictureHibernate.Name = "pictureHibernate"; pictureHibernate.Size = new Size(32, 32); pictureHibernate.TabIndex = 22; @@ -1355,10 +1402,10 @@ private void InitializeComponent() panelAPU.Controls.Add(pictureAPUMem); panelAPU.Controls.Add(labelAPUMem); panelAPU.Dock = DockStyle.Top; - panelAPU.Location = new Point(15, 1140); + panelAPU.Location = new Point(15, 1139); panelAPU.Name = "panelAPU"; panelAPU.Padding = new Padding(11, 5, 11, 0); - panelAPU.Size = new Size(949, 57); + panelAPU.Size = new Size(983, 57); panelAPU.TabIndex = 46; panelAPU.Visible = false; panelAPU.Paint += panelAPU_Paint; @@ -1369,12 +1416,12 @@ private void InitializeComponent() comboAPU.BorderColor = Color.White; comboAPU.ButtonColor = SystemColors.ControlLight; comboAPU.FlatStyle = FlatStyle.Flat; - comboAPU.Font = new Font("Segoe UI", 9F, FontStyle.Regular, GraphicsUnit.Point); + comboAPU.Font = new Font("Segoe UI", 9F); comboAPU.FormattingEnabled = true; comboAPU.ItemHeight = 32; comboAPU.Items.AddRange(new object[] { "Auto", "1G", "2G", "3G", "4G", "5G", "6G", "7G", "8G" }); - comboAPU.Location = new Point(620, 8); - comboAPU.Margin = new Padding(4, 12, 4, 9); + comboAPU.Location = new Point(653, 8); + comboAPU.Margin = new Padding(5, 11, 5, 9); comboAPU.Name = "comboAPU"; comboAPU.Size = new Size(309, 40); comboAPU.TabIndex = 12; @@ -1384,7 +1431,7 @@ private void InitializeComponent() // pictureAPUMem.BackgroundImage = Resources.icons8_video_48; pictureAPUMem.BackgroundImageLayout = ImageLayout.Zoom; - pictureAPUMem.Location = new Point(20, 11); + pictureAPUMem.Location = new Point(21, 11); pictureAPUMem.Name = "pictureAPUMem"; pictureAPUMem.Size = new Size(32, 32); pictureAPUMem.TabIndex = 1; @@ -1393,7 +1440,7 @@ private void InitializeComponent() // labelAPUMem // labelAPUMem.AutoSize = true; - labelAPUMem.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point); + labelAPUMem.Font = new Font("Segoe UI", 9F, FontStyle.Bold); labelAPUMem.Location = new Point(64, 11); labelAPUMem.Name = "labelAPUMem"; labelAPUMem.Size = new Size(309, 32); @@ -1409,10 +1456,10 @@ private void InitializeComponent() panelCores.Controls.Add(pictureCores); panelCores.Controls.Add(label1); panelCores.Dock = DockStyle.Top; - panelCores.Location = new Point(15, 1079); + panelCores.Location = new Point(15, 1076); panelCores.Name = "panelCores"; panelCores.Padding = new Padding(11, 5, 11, 0); - panelCores.Size = new Size(949, 61); + panelCores.Size = new Size(983, 63); panelCores.TabIndex = 47; panelCores.Visible = false; // @@ -1421,11 +1468,12 @@ private void InitializeComponent() buttonCores.Activated = false; buttonCores.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; buttonCores.BackColor = SystemColors.ButtonHighlight; + buttonCores.Badge = false; buttonCores.BorderColor = Color.Transparent; buttonCores.BorderRadius = 2; buttonCores.FlatStyle = FlatStyle.Flat; - buttonCores.Location = new Point(856, 7); - buttonCores.Margin = new Padding(4, 3, 4, 3); + buttonCores.Location = new Point(831, 7); + buttonCores.Margin = new Padding(5, 3, 5, 3); buttonCores.Name = "buttonCores"; buttonCores.Secondary = false; buttonCores.Size = new Size(106, 46); @@ -1439,11 +1487,11 @@ private void InitializeComponent() comboCoresP.BorderColor = Color.White; comboCoresP.ButtonColor = SystemColors.ControlLight; comboCoresP.FlatStyle = FlatStyle.Flat; - comboCoresP.Font = new Font("Segoe UI", 9F, FontStyle.Regular, GraphicsUnit.Point); + comboCoresP.Font = new Font("Segoe UI", 9F); comboCoresP.FormattingEnabled = true; comboCoresP.ItemHeight = 32; - comboCoresP.Location = new Point(509, 10); - comboCoresP.Margin = new Padding(4, 12, 4, 9); + comboCoresP.Location = new Point(543, 10); + comboCoresP.Margin = new Padding(5, 11, 5, 9); comboCoresP.Name = "comboCoresP"; comboCoresP.Size = new Size(150, 40); comboCoresP.TabIndex = 13; @@ -1455,11 +1503,11 @@ private void InitializeComponent() comboCoresE.BorderColor = Color.White; comboCoresE.ButtonColor = SystemColors.ControlLight; comboCoresE.FlatStyle = FlatStyle.Flat; - comboCoresE.Font = new Font("Segoe UI", 9F, FontStyle.Regular, GraphicsUnit.Point); + comboCoresE.Font = new Font("Segoe UI", 9F); comboCoresE.FormattingEnabled = true; comboCoresE.ItemHeight = 32; - comboCoresE.Location = new Point(668, 10); - comboCoresE.Margin = new Padding(4, 12, 4, 9); + comboCoresE.Location = new Point(701, 10); + comboCoresE.Margin = new Padding(5, 11, 5, 9); comboCoresE.Name = "comboCoresE"; comboCoresE.Size = new Size(150, 40); comboCoresE.TabIndex = 12; @@ -1469,7 +1517,7 @@ private void InitializeComponent() // pictureCores.BackgroundImage = Resources.icons8_processor_32; pictureCores.BackgroundImageLayout = ImageLayout.Zoom; - pictureCores.Location = new Point(20, 15); + pictureCores.Location = new Point(21, 15); pictureCores.Name = "pictureCores"; pictureCores.Size = new Size(32, 32); pictureCores.TabIndex = 1; @@ -1478,7 +1526,7 @@ private void InitializeComponent() // label1 // label1.AutoSize = true; - label1.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point); + label1.Font = new Font("Segoe UI", 9F, FontStyle.Bold); label1.Location = new Point(64, 14); label1.Name = "label1"; label1.Size = new Size(299, 32); @@ -1494,17 +1542,17 @@ private void InitializeComponent() panelACPI.Controls.Add(pictureDebug); panelACPI.Controls.Add(labelACPITitle); panelACPI.Dock = DockStyle.Top; - panelACPI.Location = new Point(15, 1010); + panelACPI.Location = new Point(15, 1007); panelACPI.Name = "panelACPI"; panelACPI.Padding = new Padding(11, 5, 11, 0); - panelACPI.Size = new Size(949, 69); + panelACPI.Size = new Size(983, 69); panelACPI.TabIndex = 48; panelACPI.Visible = false; // // textACPIParam // textACPIParam.Location = new Point(717, 18); - textACPIParam.Margin = new Padding(4, 3, 4, 3); + textACPIParam.Margin = new Padding(5, 3, 5, 3); textACPIParam.Name = "textACPIParam"; textACPIParam.PlaceholderText = "Value"; textACPIParam.Size = new Size(127, 39); @@ -1514,7 +1562,7 @@ private void InitializeComponent() // textACPICommand // textACPICommand.Location = new Point(467, 18); - textACPICommand.Margin = new Padding(4, 3, 4, 3); + textACPICommand.Margin = new Padding(5, 3, 5, 3); textACPICommand.Name = "textACPICommand"; textACPICommand.PlaceholderText = "Address"; textACPICommand.Size = new Size(242, 39); @@ -1526,11 +1574,12 @@ private void InitializeComponent() buttonACPISend.Activated = false; buttonACPISend.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; buttonACPISend.BackColor = SystemColors.ButtonHighlight; + buttonACPISend.Badge = false; buttonACPISend.BorderColor = Color.Transparent; buttonACPISend.BorderRadius = 2; buttonACPISend.FlatStyle = FlatStyle.Flat; - buttonACPISend.Location = new Point(854, 13); - buttonACPISend.Margin = new Padding(4, 3, 4, 3); + buttonACPISend.Location = new Point(855, 13); + buttonACPISend.Margin = new Padding(5, 3, 5, 3); buttonACPISend.Name = "buttonACPISend"; buttonACPISend.Secondary = false; buttonACPISend.Size = new Size(106, 46); @@ -1542,7 +1591,7 @@ private void InitializeComponent() // pictureDebug.BackgroundImage = Resources.icons8_heartbeat_32; pictureDebug.BackgroundImageLayout = ImageLayout.Zoom; - pictureDebug.Location = new Point(20, 20); + pictureDebug.Location = new Point(21, 21); pictureDebug.Name = "pictureDebug"; pictureDebug.Size = new Size(32, 32); pictureDebug.TabIndex = 1; @@ -1551,61 +1600,13 @@ private void InitializeComponent() // labelACPITitle // labelACPITitle.AutoSize = true; - labelACPITitle.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point); - labelACPITitle.Location = new Point(57, 20); + labelACPITitle.Font = new Font("Segoe UI", 9F, FontStyle.Bold); + labelACPITitle.Location = new Point(57, 21); labelACPITitle.Name = "labelACPITitle"; labelACPITitle.Size = new Size(188, 32); labelACPITitle.TabIndex = 0; labelACPITitle.Text = "ACPI DEVS Test"; // - // checkBatteryBar - // - checkBatteryBar.Dock = DockStyle.Fill; - checkBatteryBar.Location = new Point(478, 217); - checkBatteryBar.Margin = new Padding(4, 0, 4, 0); - checkBatteryBar.Name = "checkBatteryBar"; - checkBatteryBar.Padding = new Padding(16, 3, 7, 3); - checkBatteryBar.Size = new Size(229, 43); - checkBatteryBar.TabIndex = 22; - checkBatteryBar.Text = "Battery"; - checkBatteryBar.UseVisualStyleBackColor = true; - // - // checkBatteryLid - // - checkBatteryLid.Dock = DockStyle.Fill; - checkBatteryLid.Location = new Point(715, 217); - checkBatteryLid.Margin = new Padding(4, 0, 4, 0); - checkBatteryLid.Name = "checkBatteryLid"; - checkBatteryLid.Padding = new Padding(16, 3, 7, 3); - checkBatteryLid.Size = new Size(230, 43); - checkBatteryLid.TabIndex = 23; - checkBatteryLid.Text = "Battery"; - checkBatteryLid.UseVisualStyleBackColor = true; - // - // checkBattery - // - checkBattery.Dock = DockStyle.Fill; - checkBattery.Location = new Point(4, 217); - checkBattery.Margin = new Padding(4, 0, 4, 0); - checkBattery.Name = "checkBattery"; - checkBattery.Padding = new Padding(16, 3, 7, 3); - checkBattery.Size = new Size(229, 43); - checkBattery.TabIndex = 24; - checkBattery.Text = "Battery"; - checkBattery.UseVisualStyleBackColor = true; - // - // checkBatteryLogo - // - checkBatteryLogo.Dock = DockStyle.Fill; - checkBatteryLogo.Location = new Point(241, 217); - checkBatteryLogo.Margin = new Padding(4, 0, 4, 0); - checkBatteryLogo.Name = "checkBatteryLogo"; - checkBatteryLogo.Padding = new Padding(16, 3, 7, 3); - checkBatteryLogo.Size = new Size(229, 43); - checkBatteryLogo.TabIndex = 25; - checkBatteryLogo.Text = "Battery"; - checkBatteryLogo.UseVisualStyleBackColor = true; - // // Extra // AutoScaleDimensions = new SizeF(192F, 192F); @@ -1613,7 +1614,7 @@ private void InitializeComponent() AutoScroll = true; AutoSize = true; AutoSizeMode = AutoSizeMode.GrowAndShrink; - ClientSize = new Size(1013, 1559); + ClientSize = new Size(1013, 1831); Controls.Add(panelServices); Controls.Add(panelPower); Controls.Add(panelSettings); @@ -1626,13 +1627,13 @@ private void InitializeComponent() Controls.Add(panelBindings); Controls.Add(panelBindingsHeader); FormBorderStyle = FormBorderStyle.FixedSingle; - Margin = new Padding(4, 3, 4, 3); + Margin = new Padding(5, 3, 5, 3); MaximizeBox = false; MdiChildrenMinimizedAnchorBottom = false; MinimizeBox = false; - MinimumSize = new Size(1033, 0); + MinimumSize = new Size(1033, 71); Name = "Extra"; - Padding = new Padding(15); + Padding = new Padding(15, 15, 15, 15); ShowIcon = false; ShowInTaskbar = false; Text = "Extra Settings"; diff --git a/app/Extra.cs b/app/Extra.cs index eada31e1..3324849e 100644 --- a/app/Extra.cs +++ b/app/Extra.cs @@ -423,7 +423,7 @@ public Extra() var statusLed = Program.acpi.DeviceGet(AsusACPI.StatusLed); checkStatusLed.Visible = statusLed >= 0; checkStatusLed.Checked = (statusLed > 0); - checkStatusLed.CheckedChanged += CheckLEDStatus_CheckedChanged; ; + checkStatusLed.CheckedChanged += CheckLEDStatus_CheckedChanged; checkBWIcon.Checked = AppConfig.IsBWIcon(); diff --git a/app/Extra.resx b/app/Extra.resx index 1f052d5e..189a4fea 100644 --- a/app/Extra.resx +++ b/app/Extra.resx @@ -1,7 +1,7 @@