mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8aff60546a | ||
|
|
d5039207ec | ||
|
|
f940d343c3 | ||
|
|
1848612434 | ||
|
|
fe253de0e1 | ||
|
|
7211fd5f22 | ||
|
|
c1a8eb12f9 | ||
|
|
0477d03ecc | ||
|
|
e923d82732 | ||
|
|
6558d66e8d | ||
|
|
ec8605dfe6 | ||
|
|
ac462b628f | ||
|
|
1cd9c30c4a |
@@ -428,7 +428,6 @@ public class AsusACPI
|
|||||||
return DeviceGet(PPT_CPUB0) >= 0 && DeviceGet(PPT_GPUC0) < 0;
|
return DeviceGet(PPT_CPUB0) >= 0 && DeviceGet(PPT_GPUC0) < 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
public void ScanRange()
|
public void ScanRange()
|
||||||
{
|
{
|
||||||
int value;
|
int value;
|
||||||
@@ -446,7 +445,6 @@ public class AsusACPI
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
public void TUFKeyboardBrightness(int brightness)
|
public void TUFKeyboardBrightness(int brightness)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ namespace GHelper
|
|||||||
static byte[] MESSAGE_SET = { AURA_HID_ID, 0xb5, 0, 0, 0 };
|
static byte[] MESSAGE_SET = { AURA_HID_ID, 0xb5, 0, 0, 0 };
|
||||||
static byte[] MESSAGE_APPLY = { AURA_HID_ID, 0xb4 };
|
static byte[] MESSAGE_APPLY = { AURA_HID_ID, 0xb4 };
|
||||||
|
|
||||||
static int[] deviceIds = { 0x1a30, 0x1854, 0x1869, 0x1866, 0x19b6, 0x1822, 0x1837, 0x1854, 0x184a, 0x183d, 0x8502, 0x1807, 0x17e0, 0x18c6 };
|
static int[] deviceIds = { 0x1a30, 0x1854, 0x1869, 0x1866, 0x19b6, 0x1822, 0x1837, 0x1854, 0x184a, 0x183d, 0x8502, 0x1807, 0x17e0, 0x18c6, 0x1abe };
|
||||||
|
|
||||||
private static int mode = 0;
|
private static int mode = 0;
|
||||||
private static int speed = 1;
|
private static int speed = 1;
|
||||||
|
|||||||
396
app/Fans.Designer.cs
generated
396
app/Fans.Designer.cs
generated
@@ -39,7 +39,6 @@ namespace GHelper
|
|||||||
Title title3 = new Title();
|
Title title3 = new Title();
|
||||||
ChartArea chartArea4 = new ChartArea();
|
ChartArea chartArea4 = new ChartArea();
|
||||||
Title title4 = new Title();
|
Title title4 = new Title();
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Fans));
|
|
||||||
panelFans = new Panel();
|
panelFans = new Panel();
|
||||||
labelTip = new Label();
|
labelTip = new Label();
|
||||||
tableFanCharts = new TableLayoutPanel();
|
tableFanCharts = new TableLayoutPanel();
|
||||||
@@ -144,23 +143,24 @@ namespace GHelper
|
|||||||
panelFans.Controls.Add(panelTitleFans);
|
panelFans.Controls.Add(panelTitleFans);
|
||||||
panelFans.Controls.Add(panelApplyFans);
|
panelFans.Controls.Add(panelApplyFans);
|
||||||
panelFans.Dock = DockStyle.Left;
|
panelFans.Dock = DockStyle.Left;
|
||||||
panelFans.Location = new Point(533, 0);
|
panelFans.Location = new Point(266, 0);
|
||||||
panelFans.Margin = new Padding(0);
|
panelFans.Margin = new Padding(0);
|
||||||
panelFans.MaximumSize = new Size(815, 0);
|
panelFans.MaximumSize = new Size(408, 0);
|
||||||
panelFans.MinimumSize = new Size(815, 0);
|
panelFans.MinimumSize = new Size(408, 0);
|
||||||
panelFans.Name = "panelFans";
|
panelFans.Name = "panelFans";
|
||||||
panelFans.Padding = new Padding(0, 0, 10, 0);
|
panelFans.Padding = new Padding(0, 0, 5, 0);
|
||||||
panelFans.Size = new Size(815, 1310);
|
panelFans.Size = new Size(408, 655);
|
||||||
panelFans.TabIndex = 12;
|
panelFans.TabIndex = 12;
|
||||||
//
|
//
|
||||||
// labelTip
|
// labelTip
|
||||||
//
|
//
|
||||||
labelTip.AutoSize = true;
|
labelTip.AutoSize = true;
|
||||||
labelTip.BackColor = SystemColors.ControlLightLight;
|
labelTip.BackColor = SystemColors.ControlLightLight;
|
||||||
labelTip.Location = new Point(684, 91);
|
labelTip.Location = new Point(342, 46);
|
||||||
|
labelTip.Margin = new Padding(2, 0, 2, 0);
|
||||||
labelTip.Name = "labelTip";
|
labelTip.Name = "labelTip";
|
||||||
labelTip.Padding = new Padding(5);
|
labelTip.Padding = new Padding(2, 2, 2, 2);
|
||||||
labelTip.Size = new Size(107, 42);
|
labelTip.Size = new Size(50, 19);
|
||||||
labelTip.TabIndex = 40;
|
labelTip.TabIndex = 40;
|
||||||
labelTip.Text = "500,300";
|
labelTip.Text = "500,300";
|
||||||
//
|
//
|
||||||
@@ -174,16 +174,16 @@ namespace GHelper
|
|||||||
tableFanCharts.Controls.Add(chartXGM, 0, 2);
|
tableFanCharts.Controls.Add(chartXGM, 0, 2);
|
||||||
tableFanCharts.Controls.Add(chartMid, 0, 2);
|
tableFanCharts.Controls.Add(chartMid, 0, 2);
|
||||||
tableFanCharts.Dock = DockStyle.Fill;
|
tableFanCharts.Dock = DockStyle.Fill;
|
||||||
tableFanCharts.Location = new Point(0, 66);
|
tableFanCharts.Location = new Point(0, 33);
|
||||||
tableFanCharts.Margin = new Padding(4);
|
tableFanCharts.Margin = new Padding(2, 2, 2, 2);
|
||||||
tableFanCharts.Name = "tableFanCharts";
|
tableFanCharts.Name = "tableFanCharts";
|
||||||
tableFanCharts.Padding = new Padding(10, 0, 10, 10);
|
tableFanCharts.Padding = new Padding(5, 0, 5, 5);
|
||||||
tableFanCharts.RowCount = 2;
|
tableFanCharts.RowCount = 2;
|
||||||
tableFanCharts.RowStyles.Add(new RowStyle(SizeType.Percent, 25F));
|
tableFanCharts.RowStyles.Add(new RowStyle(SizeType.Percent, 25F));
|
||||||
tableFanCharts.RowStyles.Add(new RowStyle(SizeType.Percent, 25F));
|
tableFanCharts.RowStyles.Add(new RowStyle(SizeType.Percent, 25F));
|
||||||
tableFanCharts.RowStyles.Add(new RowStyle(SizeType.Percent, 25F));
|
tableFanCharts.RowStyles.Add(new RowStyle(SizeType.Percent, 25F));
|
||||||
tableFanCharts.RowStyles.Add(new RowStyle(SizeType.Percent, 25F));
|
tableFanCharts.RowStyles.Add(new RowStyle(SizeType.Percent, 25F));
|
||||||
tableFanCharts.Size = new Size(805, 1128);
|
tableFanCharts.Size = new Size(403, 564);
|
||||||
tableFanCharts.TabIndex = 36;
|
tableFanCharts.TabIndex = 36;
|
||||||
//
|
//
|
||||||
// chartGPU
|
// chartGPU
|
||||||
@@ -191,10 +191,10 @@ namespace GHelper
|
|||||||
chartArea1.Name = "ChartArea1";
|
chartArea1.Name = "ChartArea1";
|
||||||
chartGPU.ChartAreas.Add(chartArea1);
|
chartGPU.ChartAreas.Add(chartArea1);
|
||||||
chartGPU.Dock = DockStyle.Fill;
|
chartGPU.Dock = DockStyle.Fill;
|
||||||
chartGPU.Location = new Point(12, 289);
|
chartGPU.Location = new Point(6, 144);
|
||||||
chartGPU.Margin = new Padding(2, 10, 2, 10);
|
chartGPU.Margin = new Padding(1, 5, 1, 5);
|
||||||
chartGPU.Name = "chartGPU";
|
chartGPU.Name = "chartGPU";
|
||||||
chartGPU.Size = new Size(781, 259);
|
chartGPU.Size = new Size(391, 129);
|
||||||
chartGPU.TabIndex = 17;
|
chartGPU.TabIndex = 17;
|
||||||
chartGPU.Text = "chartGPU";
|
chartGPU.Text = "chartGPU";
|
||||||
title1.Name = "Title1";
|
title1.Name = "Title1";
|
||||||
@@ -205,10 +205,10 @@ namespace GHelper
|
|||||||
chartArea2.Name = "ChartArea1";
|
chartArea2.Name = "ChartArea1";
|
||||||
chartCPU.ChartAreas.Add(chartArea2);
|
chartCPU.ChartAreas.Add(chartArea2);
|
||||||
chartCPU.Dock = DockStyle.Fill;
|
chartCPU.Dock = DockStyle.Fill;
|
||||||
chartCPU.Location = new Point(12, 10);
|
chartCPU.Location = new Point(6, 5);
|
||||||
chartCPU.Margin = new Padding(2, 10, 2, 10);
|
chartCPU.Margin = new Padding(1, 5, 1, 5);
|
||||||
chartCPU.Name = "chartCPU";
|
chartCPU.Name = "chartCPU";
|
||||||
chartCPU.Size = new Size(781, 259);
|
chartCPU.Size = new Size(391, 129);
|
||||||
chartCPU.TabIndex = 14;
|
chartCPU.TabIndex = 14;
|
||||||
chartCPU.Text = "chartCPU";
|
chartCPU.Text = "chartCPU";
|
||||||
title2.Name = "Title1";
|
title2.Name = "Title1";
|
||||||
@@ -219,10 +219,10 @@ namespace GHelper
|
|||||||
chartArea3.Name = "ChartAreaXGM";
|
chartArea3.Name = "ChartAreaXGM";
|
||||||
chartXGM.ChartAreas.Add(chartArea3);
|
chartXGM.ChartAreas.Add(chartArea3);
|
||||||
chartXGM.Dock = DockStyle.Fill;
|
chartXGM.Dock = DockStyle.Fill;
|
||||||
chartXGM.Location = new Point(12, 847);
|
chartXGM.Location = new Point(6, 422);
|
||||||
chartXGM.Margin = new Padding(2, 10, 2, 10);
|
chartXGM.Margin = new Padding(1, 5, 1, 5);
|
||||||
chartXGM.Name = "chartXGM";
|
chartXGM.Name = "chartXGM";
|
||||||
chartXGM.Size = new Size(781, 261);
|
chartXGM.Size = new Size(391, 132);
|
||||||
chartXGM.TabIndex = 14;
|
chartXGM.TabIndex = 14;
|
||||||
chartXGM.Text = "chartXGM";
|
chartXGM.Text = "chartXGM";
|
||||||
title3.Name = "Title4";
|
title3.Name = "Title4";
|
||||||
@@ -234,10 +234,10 @@ namespace GHelper
|
|||||||
chartArea4.Name = "ChartArea3";
|
chartArea4.Name = "ChartArea3";
|
||||||
chartMid.ChartAreas.Add(chartArea4);
|
chartMid.ChartAreas.Add(chartArea4);
|
||||||
chartMid.Dock = DockStyle.Fill;
|
chartMid.Dock = DockStyle.Fill;
|
||||||
chartMid.Location = new Point(12, 568);
|
chartMid.Location = new Point(6, 283);
|
||||||
chartMid.Margin = new Padding(2, 10, 2, 10);
|
chartMid.Margin = new Padding(1, 5, 1, 5);
|
||||||
chartMid.Name = "chartMid";
|
chartMid.Name = "chartMid";
|
||||||
chartMid.Size = new Size(781, 259);
|
chartMid.Size = new Size(391, 129);
|
||||||
chartMid.TabIndex = 14;
|
chartMid.TabIndex = 14;
|
||||||
chartMid.Text = "chartMid";
|
chartMid.Text = "chartMid";
|
||||||
title4.Name = "Title3";
|
title4.Name = "Title3";
|
||||||
@@ -254,8 +254,9 @@ namespace GHelper
|
|||||||
panelTitleFans.Controls.Add(labelFans);
|
panelTitleFans.Controls.Add(labelFans);
|
||||||
panelTitleFans.Dock = DockStyle.Top;
|
panelTitleFans.Dock = DockStyle.Top;
|
||||||
panelTitleFans.Location = new Point(0, 0);
|
panelTitleFans.Location = new Point(0, 0);
|
||||||
|
panelTitleFans.Margin = new Padding(2, 2, 2, 2);
|
||||||
panelTitleFans.Name = "panelTitleFans";
|
panelTitleFans.Name = "panelTitleFans";
|
||||||
panelTitleFans.Size = new Size(805, 66);
|
panelTitleFans.Size = new Size(403, 33);
|
||||||
panelTitleFans.TabIndex = 42;
|
panelTitleFans.TabIndex = 42;
|
||||||
//
|
//
|
||||||
// buttonRename
|
// buttonRename
|
||||||
@@ -266,12 +267,12 @@ namespace GHelper
|
|||||||
buttonRename.BorderColor = Color.Transparent;
|
buttonRename.BorderColor = Color.Transparent;
|
||||||
buttonRename.BorderRadius = 2;
|
buttonRename.BorderRadius = 2;
|
||||||
buttonRename.FlatStyle = FlatStyle.Flat;
|
buttonRename.FlatStyle = FlatStyle.Flat;
|
||||||
buttonRename.Image = (Image)resources.GetObject("buttonRename.Image");
|
buttonRename.Image = Properties.Resources.icons8_edit_32;
|
||||||
buttonRename.Location = new Point(374, 12);
|
buttonRename.Location = new Point(188, 5);
|
||||||
buttonRename.Margin = new Padding(4, 2, 4, 2);
|
buttonRename.Margin = new Padding(2, 1, 2, 1);
|
||||||
buttonRename.Name = "buttonRename";
|
buttonRename.Name = "buttonRename";
|
||||||
buttonRename.Secondary = true;
|
buttonRename.Secondary = true;
|
||||||
buttonRename.Size = new Size(52, 46);
|
buttonRename.Size = new Size(26, 23);
|
||||||
buttonRename.TabIndex = 45;
|
buttonRename.TabIndex = 45;
|
||||||
buttonRename.UseVisualStyleBackColor = false;
|
buttonRename.UseVisualStyleBackColor = false;
|
||||||
//
|
//
|
||||||
@@ -283,12 +284,12 @@ namespace GHelper
|
|||||||
buttonRemove.BorderColor = Color.Transparent;
|
buttonRemove.BorderColor = Color.Transparent;
|
||||||
buttonRemove.BorderRadius = 2;
|
buttonRemove.BorderRadius = 2;
|
||||||
buttonRemove.FlatStyle = FlatStyle.Flat;
|
buttonRemove.FlatStyle = FlatStyle.Flat;
|
||||||
buttonRemove.Image = (Image)resources.GetObject("buttonRemove.Image");
|
buttonRemove.Image = Properties.Resources.icons8_remove_64;
|
||||||
buttonRemove.Location = new Point(319, 12);
|
buttonRemove.Location = new Point(161, 5);
|
||||||
buttonRemove.Margin = new Padding(4, 2, 4, 2);
|
buttonRemove.Margin = new Padding(2, 1, 2, 1);
|
||||||
buttonRemove.Name = "buttonRemove";
|
buttonRemove.Name = "buttonRemove";
|
||||||
buttonRemove.Secondary = true;
|
buttonRemove.Secondary = true;
|
||||||
buttonRemove.Size = new Size(52, 46);
|
buttonRemove.Size = new Size(26, 23);
|
||||||
buttonRemove.TabIndex = 44;
|
buttonRemove.TabIndex = 44;
|
||||||
buttonRemove.UseVisualStyleBackColor = false;
|
buttonRemove.UseVisualStyleBackColor = false;
|
||||||
//
|
//
|
||||||
@@ -300,12 +301,12 @@ namespace GHelper
|
|||||||
buttonAdd.BorderColor = Color.Transparent;
|
buttonAdd.BorderColor = Color.Transparent;
|
||||||
buttonAdd.BorderRadius = 2;
|
buttonAdd.BorderRadius = 2;
|
||||||
buttonAdd.FlatStyle = FlatStyle.Flat;
|
buttonAdd.FlatStyle = FlatStyle.Flat;
|
||||||
buttonAdd.Image = (Image)resources.GetObject("buttonAdd.Image");
|
buttonAdd.Image = Properties.Resources.icons8_add_64;
|
||||||
buttonAdd.Location = new Point(742, 12);
|
buttonAdd.Location = new Point(372, 5);
|
||||||
buttonAdd.Margin = new Padding(4, 2, 4, 2);
|
buttonAdd.Margin = new Padding(2, 1, 2, 1);
|
||||||
buttonAdd.Name = "buttonAdd";
|
buttonAdd.Name = "buttonAdd";
|
||||||
buttonAdd.Secondary = true;
|
buttonAdd.Secondary = true;
|
||||||
buttonAdd.Size = new Size(52, 46);
|
buttonAdd.Size = new Size(26, 23);
|
||||||
buttonAdd.TabIndex = 43;
|
buttonAdd.TabIndex = 43;
|
||||||
buttonAdd.UseVisualStyleBackColor = false;
|
buttonAdd.UseVisualStyleBackColor = false;
|
||||||
//
|
//
|
||||||
@@ -316,9 +317,10 @@ namespace GHelper
|
|||||||
comboModes.ButtonColor = Color.FromArgb(255, 255, 255);
|
comboModes.ButtonColor = Color.FromArgb(255, 255, 255);
|
||||||
comboModes.FlatStyle = FlatStyle.Flat;
|
comboModes.FlatStyle = FlatStyle.Flat;
|
||||||
comboModes.FormattingEnabled = true;
|
comboModes.FormattingEnabled = true;
|
||||||
comboModes.Location = new Point(434, 16);
|
comboModes.Location = new Point(218, 7);
|
||||||
|
comboModes.Margin = new Padding(0);
|
||||||
comboModes.Name = "comboModes";
|
comboModes.Name = "comboModes";
|
||||||
comboModes.Size = new Size(302, 40);
|
comboModes.Size = new Size(153, 23);
|
||||||
comboModes.TabIndex = 42;
|
comboModes.TabIndex = 42;
|
||||||
//
|
//
|
||||||
// picturePerf
|
// picturePerf
|
||||||
@@ -326,10 +328,10 @@ namespace GHelper
|
|||||||
picturePerf.BackgroundImage = Properties.Resources.icons8_fan_head_96;
|
picturePerf.BackgroundImage = Properties.Resources.icons8_fan_head_96;
|
||||||
picturePerf.BackgroundImageLayout = ImageLayout.Zoom;
|
picturePerf.BackgroundImageLayout = ImageLayout.Zoom;
|
||||||
picturePerf.InitialImage = null;
|
picturePerf.InitialImage = null;
|
||||||
picturePerf.Location = new Point(18, 18);
|
picturePerf.Location = new Point(9, 9);
|
||||||
picturePerf.Margin = new Padding(4, 2, 4, 2);
|
picturePerf.Margin = new Padding(2, 1, 2, 1);
|
||||||
picturePerf.Name = "picturePerf";
|
picturePerf.Name = "picturePerf";
|
||||||
picturePerf.Size = new Size(36, 38);
|
picturePerf.Size = new Size(18, 19);
|
||||||
picturePerf.TabIndex = 41;
|
picturePerf.TabIndex = 41;
|
||||||
picturePerf.TabStop = false;
|
picturePerf.TabStop = false;
|
||||||
//
|
//
|
||||||
@@ -337,10 +339,10 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
labelFans.AutoSize = true;
|
labelFans.AutoSize = true;
|
||||||
labelFans.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
labelFans.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
||||||
labelFans.Location = new Point(53, 20);
|
labelFans.Location = new Point(26, 10);
|
||||||
labelFans.Margin = new Padding(4, 0, 4, 0);
|
labelFans.Margin = new Padding(2, 0, 2, 0);
|
||||||
labelFans.Name = "labelFans";
|
labelFans.Name = "labelFans";
|
||||||
labelFans.Size = new Size(90, 32);
|
labelFans.Size = new Size(44, 15);
|
||||||
labelFans.TabIndex = 40;
|
labelFans.TabIndex = 40;
|
||||||
labelFans.Text = "Profile";
|
labelFans.Text = "Profile";
|
||||||
//
|
//
|
||||||
@@ -350,18 +352,20 @@ namespace GHelper
|
|||||||
panelApplyFans.Controls.Add(checkApplyFans);
|
panelApplyFans.Controls.Add(checkApplyFans);
|
||||||
panelApplyFans.Controls.Add(buttonReset);
|
panelApplyFans.Controls.Add(buttonReset);
|
||||||
panelApplyFans.Dock = DockStyle.Bottom;
|
panelApplyFans.Dock = DockStyle.Bottom;
|
||||||
panelApplyFans.Location = new Point(0, 1194);
|
panelApplyFans.Location = new Point(0, 597);
|
||||||
|
panelApplyFans.Margin = new Padding(2, 2, 2, 2);
|
||||||
panelApplyFans.Name = "panelApplyFans";
|
panelApplyFans.Name = "panelApplyFans";
|
||||||
panelApplyFans.Size = new Size(805, 116);
|
panelApplyFans.Size = new Size(403, 58);
|
||||||
panelApplyFans.TabIndex = 43;
|
panelApplyFans.TabIndex = 43;
|
||||||
//
|
//
|
||||||
// labelFansResult
|
// labelFansResult
|
||||||
//
|
//
|
||||||
labelFansResult.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
labelFansResult.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
labelFansResult.ForeColor = Color.Red;
|
labelFansResult.ForeColor = Color.Red;
|
||||||
labelFansResult.Location = new Point(25, 3);
|
labelFansResult.Location = new Point(12, 2);
|
||||||
|
labelFansResult.Margin = new Padding(2, 0, 2, 0);
|
||||||
labelFansResult.Name = "labelFansResult";
|
labelFansResult.Name = "labelFansResult";
|
||||||
labelFansResult.Size = new Size(760, 32);
|
labelFansResult.Size = new Size(381, 16);
|
||||||
labelFansResult.TabIndex = 42;
|
labelFansResult.TabIndex = 42;
|
||||||
labelFansResult.TextAlign = ContentAlignment.TopRight;
|
labelFansResult.TextAlign = ContentAlignment.TopRight;
|
||||||
labelFansResult.Visible = false;
|
labelFansResult.Visible = false;
|
||||||
@@ -371,11 +375,11 @@ namespace GHelper
|
|||||||
checkApplyFans.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
checkApplyFans.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||||||
checkApplyFans.AutoSize = true;
|
checkApplyFans.AutoSize = true;
|
||||||
checkApplyFans.BackColor = SystemColors.ControlLight;
|
checkApplyFans.BackColor = SystemColors.ControlLight;
|
||||||
checkApplyFans.Location = new Point(453, 45);
|
checkApplyFans.Location = new Point(223, 23);
|
||||||
checkApplyFans.Margin = new Padding(4, 2, 4, 2);
|
checkApplyFans.Margin = new Padding(2, 1, 2, 1);
|
||||||
checkApplyFans.Name = "checkApplyFans";
|
checkApplyFans.Name = "checkApplyFans";
|
||||||
checkApplyFans.Padding = new Padding(15, 5, 15, 5);
|
checkApplyFans.Padding = new Padding(8, 2, 8, 2);
|
||||||
checkApplyFans.Size = new Size(339, 46);
|
checkApplyFans.Size = new Size(174, 23);
|
||||||
checkApplyFans.TabIndex = 19;
|
checkApplyFans.TabIndex = 19;
|
||||||
checkApplyFans.Text = Properties.Strings.ApplyFanCurve;
|
checkApplyFans.Text = Properties.Strings.ApplyFanCurve;
|
||||||
checkApplyFans.UseVisualStyleBackColor = false;
|
checkApplyFans.UseVisualStyleBackColor = false;
|
||||||
@@ -388,20 +392,21 @@ namespace GHelper
|
|||||||
buttonReset.BorderColor = Color.Transparent;
|
buttonReset.BorderColor = Color.Transparent;
|
||||||
buttonReset.BorderRadius = 2;
|
buttonReset.BorderRadius = 2;
|
||||||
buttonReset.FlatStyle = FlatStyle.Flat;
|
buttonReset.FlatStyle = FlatStyle.Flat;
|
||||||
buttonReset.Location = new Point(12, 38);
|
buttonReset.Location = new Point(6, 19);
|
||||||
buttonReset.Margin = new Padding(4, 2, 4, 2);
|
buttonReset.Margin = new Padding(2, 1, 2, 1);
|
||||||
buttonReset.Name = "buttonReset";
|
buttonReset.Name = "buttonReset";
|
||||||
buttonReset.Secondary = true;
|
buttonReset.Secondary = true;
|
||||||
buttonReset.Size = new Size(274, 54);
|
buttonReset.Size = new Size(137, 27);
|
||||||
buttonReset.TabIndex = 18;
|
buttonReset.TabIndex = 18;
|
||||||
buttonReset.Text = Properties.Strings.FactoryDefaults;
|
buttonReset.Text = Properties.Strings.FactoryDefaults;
|
||||||
buttonReset.UseVisualStyleBackColor = false;
|
buttonReset.UseVisualStyleBackColor = false;
|
||||||
//
|
//
|
||||||
// labelBoost
|
// labelBoost
|
||||||
//
|
//
|
||||||
labelBoost.Location = new Point(10, 10);
|
labelBoost.Location = new Point(5, 5);
|
||||||
|
labelBoost.Margin = new Padding(2, 0, 2, 0);
|
||||||
labelBoost.Name = "labelBoost";
|
labelBoost.Name = "labelBoost";
|
||||||
labelBoost.Size = new Size(201, 40);
|
labelBoost.Size = new Size(100, 20);
|
||||||
labelBoost.TabIndex = 43;
|
labelBoost.TabIndex = 43;
|
||||||
labelBoost.Text = "CPU Boost";
|
labelBoost.Text = "CPU Boost";
|
||||||
labelBoost.TextAlign = ContentAlignment.MiddleLeft;
|
labelBoost.TextAlign = ContentAlignment.MiddleLeft;
|
||||||
@@ -413,10 +418,11 @@ namespace GHelper
|
|||||||
comboBoost.ButtonColor = Color.FromArgb(255, 255, 255);
|
comboBoost.ButtonColor = Color.FromArgb(255, 255, 255);
|
||||||
comboBoost.DropDownStyle = ComboBoxStyle.DropDownList;
|
comboBoost.DropDownStyle = ComboBoxStyle.DropDownList;
|
||||||
comboBoost.FormattingEnabled = true;
|
comboBoost.FormattingEnabled = true;
|
||||||
comboBoost.Items.AddRange(new object[] { "Disabled", "Enabled", "Aggressive", "Efficient Enabled", "Efficient Aggressive" });
|
comboBoost.Items.AddRange(new object[] { "Disabled", "Enabled", "Aggressive", "Efficient Enabled", "Efficient Aggressive", "Aggressive at Guaranteed", "Efficient at Guaranteed" });
|
||||||
comboBoost.Location = new Point(226, 10);
|
comboBoost.Location = new Point(113, 5);
|
||||||
|
comboBoost.Margin = new Padding(2, 2, 2, 2);
|
||||||
comboBoost.Name = "comboBoost";
|
comboBoost.Name = "comboBoost";
|
||||||
comboBoost.Size = new Size(287, 40);
|
comboBoost.Size = new Size(145, 23);
|
||||||
comboBoost.TabIndex = 42;
|
comboBoost.TabIndex = 42;
|
||||||
//
|
//
|
||||||
// panelSliders
|
// panelSliders
|
||||||
@@ -427,8 +433,8 @@ namespace GHelper
|
|||||||
panelSliders.Location = new Point(0, 0);
|
panelSliders.Location = new Point(0, 0);
|
||||||
panelSliders.Margin = new Padding(0);
|
panelSliders.Margin = new Padding(0);
|
||||||
panelSliders.Name = "panelSliders";
|
panelSliders.Name = "panelSliders";
|
||||||
panelSliders.Padding = new Padding(10, 0, 0, 0);
|
panelSliders.Padding = new Padding(5, 0, 0, 0);
|
||||||
panelSliders.Size = new Size(533, 1310);
|
panelSliders.Size = new Size(266, 655);
|
||||||
panelSliders.TabIndex = 13;
|
panelSliders.TabIndex = 13;
|
||||||
//
|
//
|
||||||
// panelPower
|
// panelPower
|
||||||
@@ -443,19 +449,21 @@ namespace GHelper
|
|||||||
panelPower.Controls.Add(panelBoost);
|
panelPower.Controls.Add(panelBoost);
|
||||||
panelPower.Controls.Add(panelTitleCPU);
|
panelPower.Controls.Add(panelTitleCPU);
|
||||||
panelPower.Dock = DockStyle.Fill;
|
panelPower.Dock = DockStyle.Fill;
|
||||||
panelPower.Location = new Point(10, 584);
|
panelPower.Location = new Point(5, 290);
|
||||||
|
panelPower.Margin = new Padding(2, 2, 2, 2);
|
||||||
panelPower.Name = "panelPower";
|
panelPower.Name = "panelPower";
|
||||||
panelPower.Size = new Size(523, 726);
|
panelPower.Size = new Size(261, 365);
|
||||||
panelPower.TabIndex = 43;
|
panelPower.TabIndex = 43;
|
||||||
//
|
//
|
||||||
// panelApplyPower
|
// panelApplyPower
|
||||||
//
|
//
|
||||||
panelApplyPower.Controls.Add(checkApplyPower);
|
panelApplyPower.Controls.Add(checkApplyPower);
|
||||||
panelApplyPower.Dock = DockStyle.Bottom;
|
panelApplyPower.Dock = DockStyle.Bottom;
|
||||||
panelApplyPower.Location = new Point(0, 636);
|
panelApplyPower.Location = new Point(0, 320);
|
||||||
|
panelApplyPower.Margin = new Padding(2, 2, 2, 2);
|
||||||
panelApplyPower.Name = "panelApplyPower";
|
panelApplyPower.Name = "panelApplyPower";
|
||||||
panelApplyPower.Padding = new Padding(10);
|
panelApplyPower.Padding = new Padding(5, 5, 5, 5);
|
||||||
panelApplyPower.Size = new Size(523, 90);
|
panelApplyPower.Size = new Size(261, 45);
|
||||||
panelApplyPower.TabIndex = 44;
|
panelApplyPower.TabIndex = 44;
|
||||||
//
|
//
|
||||||
// checkApplyPower
|
// checkApplyPower
|
||||||
@@ -463,11 +471,11 @@ namespace GHelper
|
|||||||
checkApplyPower.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
checkApplyPower.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
||||||
checkApplyPower.AutoSize = true;
|
checkApplyPower.AutoSize = true;
|
||||||
checkApplyPower.BackColor = SystemColors.ControlLight;
|
checkApplyPower.BackColor = SystemColors.ControlLight;
|
||||||
checkApplyPower.Location = new Point(18, 20);
|
checkApplyPower.Location = new Point(9, 9);
|
||||||
checkApplyPower.Margin = new Padding(10);
|
checkApplyPower.Margin = new Padding(5, 5, 5, 5);
|
||||||
checkApplyPower.Name = "checkApplyPower";
|
checkApplyPower.Name = "checkApplyPower";
|
||||||
checkApplyPower.Padding = new Padding(15, 5, 15, 5);
|
checkApplyPower.Padding = new Padding(8, 2, 8, 2);
|
||||||
checkApplyPower.Size = new Size(277, 46);
|
checkApplyPower.Size = new Size(144, 23);
|
||||||
checkApplyPower.TabIndex = 45;
|
checkApplyPower.TabIndex = 45;
|
||||||
checkApplyPower.Text = Properties.Strings.ApplyPowerLimits;
|
checkApplyPower.Text = Properties.Strings.ApplyPowerLimits;
|
||||||
checkApplyPower.UseVisualStyleBackColor = false;
|
checkApplyPower.UseVisualStyleBackColor = false;
|
||||||
@@ -475,11 +483,11 @@ namespace GHelper
|
|||||||
// labelInfo
|
// labelInfo
|
||||||
//
|
//
|
||||||
labelInfo.Dock = DockStyle.Top;
|
labelInfo.Dock = DockStyle.Top;
|
||||||
labelInfo.Location = new Point(0, 506);
|
labelInfo.Location = new Point(0, 251);
|
||||||
labelInfo.Margin = new Padding(4, 0, 4, 0);
|
labelInfo.Margin = new Padding(2, 0, 2, 0);
|
||||||
labelInfo.Name = "labelInfo";
|
labelInfo.Name = "labelInfo";
|
||||||
labelInfo.Padding = new Padding(5);
|
labelInfo.Padding = new Padding(2, 2, 2, 2);
|
||||||
labelInfo.Size = new Size(523, 100);
|
labelInfo.Size = new Size(261, 50);
|
||||||
labelInfo.TabIndex = 43;
|
labelInfo.TabIndex = 43;
|
||||||
labelInfo.Text = "Experimental Feature";
|
labelInfo.Text = "Experimental Feature";
|
||||||
//
|
//
|
||||||
@@ -491,21 +499,20 @@ namespace GHelper
|
|||||||
panelB0.Controls.Add(labelLeftB0);
|
panelB0.Controls.Add(labelLeftB0);
|
||||||
panelB0.Controls.Add(trackB0);
|
panelB0.Controls.Add(trackB0);
|
||||||
panelB0.Dock = DockStyle.Top;
|
panelB0.Dock = DockStyle.Top;
|
||||||
panelB0.Location = new Point(0, 381);
|
panelB0.Location = new Point(0, 189);
|
||||||
panelB0.Margin = new Padding(4);
|
panelB0.Margin = new Padding(2, 2, 2, 2);
|
||||||
panelB0.MaximumSize = new Size(0, 125);
|
panelB0.MaximumSize = new Size(0, 62);
|
||||||
panelB0.Name = "panelB0";
|
panelB0.Name = "panelB0";
|
||||||
panelB0.Size = new Size(523, 125);
|
panelB0.Size = new Size(261, 62);
|
||||||
panelB0.TabIndex = 41;
|
panelB0.TabIndex = 41;
|
||||||
//
|
//
|
||||||
// labelB0
|
// labelB0
|
||||||
//
|
//
|
||||||
labelB0.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
||||||
labelB0.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
labelB0.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
||||||
labelB0.Location = new Point(398, 8);
|
labelB0.Location = new Point(199, 4);
|
||||||
labelB0.Margin = new Padding(4, 0, 4, 0);
|
labelB0.Margin = new Padding(2, 0, 2, 0);
|
||||||
labelB0.Name = "labelB0";
|
labelB0.Name = "labelB0";
|
||||||
labelB0.Size = new Size(120, 32);
|
labelB0.Size = new Size(58, 16);
|
||||||
labelB0.TabIndex = 13;
|
labelB0.TabIndex = 13;
|
||||||
labelB0.Text = "CPU";
|
labelB0.Text = "CPU";
|
||||||
labelB0.TextAlign = ContentAlignment.TopRight;
|
labelB0.TextAlign = ContentAlignment.TopRight;
|
||||||
@@ -513,22 +520,21 @@ namespace GHelper
|
|||||||
// labelLeftB0
|
// labelLeftB0
|
||||||
//
|
//
|
||||||
labelLeftB0.AutoSize = true;
|
labelLeftB0.AutoSize = true;
|
||||||
labelLeftB0.Location = new Point(10, 8);
|
labelLeftB0.Location = new Point(5, 4);
|
||||||
labelLeftB0.Margin = new Padding(4, 0, 4, 0);
|
labelLeftB0.Margin = new Padding(2, 0, 2, 0);
|
||||||
labelLeftB0.Name = "labelLeftB0";
|
labelLeftB0.Name = "labelLeftB0";
|
||||||
labelLeftB0.Size = new Size(58, 32);
|
labelLeftB0.Size = new Size(30, 15);
|
||||||
labelLeftB0.TabIndex = 12;
|
labelLeftB0.TabIndex = 12;
|
||||||
labelLeftB0.Text = "CPU";
|
labelLeftB0.Text = "CPU";
|
||||||
//
|
//
|
||||||
// trackB0
|
// trackB0
|
||||||
//
|
//
|
||||||
trackB0.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
trackB0.Location = new Point(3, 22);
|
||||||
trackB0.Location = new Point(6, 44);
|
trackB0.Margin = new Padding(2, 1, 2, 1);
|
||||||
trackB0.Margin = new Padding(4, 2, 4, 2);
|
|
||||||
trackB0.Maximum = 85;
|
trackB0.Maximum = 85;
|
||||||
trackB0.Minimum = 5;
|
trackB0.Minimum = 5;
|
||||||
trackB0.Name = "trackB0";
|
trackB0.Name = "trackB0";
|
||||||
trackB0.Size = new Size(513, 90);
|
trackB0.Size = new Size(254, 45);
|
||||||
trackB0.TabIndex = 11;
|
trackB0.TabIndex = 11;
|
||||||
trackB0.TickFrequency = 5;
|
trackB0.TickFrequency = 5;
|
||||||
trackB0.TickStyle = TickStyle.TopLeft;
|
trackB0.TickStyle = TickStyle.TopLeft;
|
||||||
@@ -542,21 +548,20 @@ namespace GHelper
|
|||||||
panelC1.Controls.Add(labelLeftC1);
|
panelC1.Controls.Add(labelLeftC1);
|
||||||
panelC1.Controls.Add(trackC1);
|
panelC1.Controls.Add(trackC1);
|
||||||
panelC1.Dock = DockStyle.Top;
|
panelC1.Dock = DockStyle.Top;
|
||||||
panelC1.Location = new Point(0, 256);
|
panelC1.Location = new Point(0, 127);
|
||||||
panelC1.Margin = new Padding(4);
|
panelC1.Margin = new Padding(2, 2, 2, 2);
|
||||||
panelC1.MaximumSize = new Size(0, 125);
|
panelC1.MaximumSize = new Size(0, 62);
|
||||||
panelC1.Name = "panelC1";
|
panelC1.Name = "panelC1";
|
||||||
panelC1.Size = new Size(523, 125);
|
panelC1.Size = new Size(261, 62);
|
||||||
panelC1.TabIndex = 45;
|
panelC1.TabIndex = 45;
|
||||||
//
|
//
|
||||||
// labelC1
|
// labelC1
|
||||||
//
|
//
|
||||||
labelC1.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
||||||
labelC1.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
labelC1.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
||||||
labelC1.Location = new Point(396, 8);
|
labelC1.Location = new Point(198, 4);
|
||||||
labelC1.Margin = new Padding(4, 0, 4, 0);
|
labelC1.Margin = new Padding(2, 0, 2, 0);
|
||||||
labelC1.Name = "labelC1";
|
labelC1.Name = "labelC1";
|
||||||
labelC1.Size = new Size(119, 32);
|
labelC1.Size = new Size(57, 16);
|
||||||
labelC1.TabIndex = 13;
|
labelC1.TabIndex = 13;
|
||||||
labelC1.Text = "C1";
|
labelC1.Text = "C1";
|
||||||
labelC1.TextAlign = ContentAlignment.TopRight;
|
labelC1.TextAlign = ContentAlignment.TopRight;
|
||||||
@@ -564,22 +569,21 @@ namespace GHelper
|
|||||||
// labelLeftC1
|
// labelLeftC1
|
||||||
//
|
//
|
||||||
labelLeftC1.AutoSize = true;
|
labelLeftC1.AutoSize = true;
|
||||||
labelLeftC1.Location = new Point(10, 8);
|
labelLeftC1.Location = new Point(5, 4);
|
||||||
labelLeftC1.Margin = new Padding(4, 0, 4, 0);
|
labelLeftC1.Margin = new Padding(2, 0, 2, 0);
|
||||||
labelLeftC1.Name = "labelLeftC1";
|
labelLeftC1.Name = "labelLeftC1";
|
||||||
labelLeftC1.Size = new Size(42, 32);
|
labelLeftC1.Size = new Size(21, 15);
|
||||||
labelLeftC1.TabIndex = 12;
|
labelLeftC1.TabIndex = 12;
|
||||||
labelLeftC1.Text = "C1";
|
labelLeftC1.Text = "C1";
|
||||||
//
|
//
|
||||||
// trackC1
|
// trackC1
|
||||||
//
|
//
|
||||||
trackC1.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
trackC1.Location = new Point(3, 24);
|
||||||
trackC1.Location = new Point(6, 48);
|
trackC1.Margin = new Padding(2, 1, 2, 1);
|
||||||
trackC1.Margin = new Padding(4, 2, 4, 2);
|
|
||||||
trackC1.Maximum = 85;
|
trackC1.Maximum = 85;
|
||||||
trackC1.Minimum = 5;
|
trackC1.Minimum = 5;
|
||||||
trackC1.Name = "trackC1";
|
trackC1.Name = "trackC1";
|
||||||
trackC1.Size = new Size(513, 90);
|
trackC1.Size = new Size(254, 45);
|
||||||
trackC1.TabIndex = 11;
|
trackC1.TabIndex = 11;
|
||||||
trackC1.TickFrequency = 5;
|
trackC1.TickFrequency = 5;
|
||||||
trackC1.TickStyle = TickStyle.TopLeft;
|
trackC1.TickStyle = TickStyle.TopLeft;
|
||||||
@@ -593,21 +597,20 @@ namespace GHelper
|
|||||||
panelA0.Controls.Add(labelLeftA0);
|
panelA0.Controls.Add(labelLeftA0);
|
||||||
panelA0.Controls.Add(trackA0);
|
panelA0.Controls.Add(trackA0);
|
||||||
panelA0.Dock = DockStyle.Top;
|
panelA0.Dock = DockStyle.Top;
|
||||||
panelA0.Location = new Point(0, 131);
|
panelA0.Location = new Point(0, 65);
|
||||||
panelA0.Margin = new Padding(4);
|
panelA0.Margin = new Padding(2, 2, 2, 2);
|
||||||
panelA0.MaximumSize = new Size(0, 125);
|
panelA0.MaximumSize = new Size(0, 62);
|
||||||
panelA0.Name = "panelA0";
|
panelA0.Name = "panelA0";
|
||||||
panelA0.Size = new Size(523, 125);
|
panelA0.Size = new Size(261, 62);
|
||||||
panelA0.TabIndex = 40;
|
panelA0.TabIndex = 40;
|
||||||
//
|
//
|
||||||
// labelA0
|
// labelA0
|
||||||
//
|
//
|
||||||
labelA0.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
||||||
labelA0.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
labelA0.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
||||||
labelA0.Location = new Point(396, 10);
|
labelA0.Location = new Point(198, 5);
|
||||||
labelA0.Margin = new Padding(4, 0, 4, 0);
|
labelA0.Margin = new Padding(2, 0, 2, 0);
|
||||||
labelA0.Name = "labelA0";
|
labelA0.Name = "labelA0";
|
||||||
labelA0.Size = new Size(122, 32);
|
labelA0.Size = new Size(58, 16);
|
||||||
labelA0.TabIndex = 12;
|
labelA0.TabIndex = 12;
|
||||||
labelA0.Text = "Platform";
|
labelA0.Text = "Platform";
|
||||||
labelA0.TextAlign = ContentAlignment.TopRight;
|
labelA0.TextAlign = ContentAlignment.TopRight;
|
||||||
@@ -615,22 +618,21 @@ namespace GHelper
|
|||||||
// labelLeftA0
|
// labelLeftA0
|
||||||
//
|
//
|
||||||
labelLeftA0.AutoSize = true;
|
labelLeftA0.AutoSize = true;
|
||||||
labelLeftA0.Location = new Point(10, 10);
|
labelLeftA0.Location = new Point(5, 5);
|
||||||
labelLeftA0.Margin = new Padding(4, 0, 4, 0);
|
labelLeftA0.Margin = new Padding(2, 0, 2, 0);
|
||||||
labelLeftA0.Name = "labelLeftA0";
|
labelLeftA0.Name = "labelLeftA0";
|
||||||
labelLeftA0.Size = new Size(104, 32);
|
labelLeftA0.Size = new Size(53, 15);
|
||||||
labelLeftA0.TabIndex = 11;
|
labelLeftA0.TabIndex = 11;
|
||||||
labelLeftA0.Text = "Platform";
|
labelLeftA0.Text = "Platform";
|
||||||
//
|
//
|
||||||
// trackA0
|
// trackA0
|
||||||
//
|
//
|
||||||
trackA0.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
trackA0.Location = new Point(3, 24);
|
||||||
trackA0.Location = new Point(6, 48);
|
trackA0.Margin = new Padding(2, 1, 2, 1);
|
||||||
trackA0.Margin = new Padding(4, 2, 4, 2);
|
|
||||||
trackA0.Maximum = 180;
|
trackA0.Maximum = 180;
|
||||||
trackA0.Minimum = 10;
|
trackA0.Minimum = 10;
|
||||||
trackA0.Name = "trackA0";
|
trackA0.Name = "trackA0";
|
||||||
trackA0.Size = new Size(513, 90);
|
trackA0.Size = new Size(254, 45);
|
||||||
trackA0.TabIndex = 10;
|
trackA0.TabIndex = 10;
|
||||||
trackA0.TickFrequency = 5;
|
trackA0.TickFrequency = 5;
|
||||||
trackA0.TickStyle = TickStyle.TopLeft;
|
trackA0.TickStyle = TickStyle.TopLeft;
|
||||||
@@ -641,9 +643,10 @@ namespace GHelper
|
|||||||
panelBoost.Controls.Add(comboBoost);
|
panelBoost.Controls.Add(comboBoost);
|
||||||
panelBoost.Controls.Add(labelBoost);
|
panelBoost.Controls.Add(labelBoost);
|
||||||
panelBoost.Dock = DockStyle.Top;
|
panelBoost.Dock = DockStyle.Top;
|
||||||
panelBoost.Location = new Point(0, 66);
|
panelBoost.Location = new Point(0, 33);
|
||||||
|
panelBoost.Margin = new Padding(2, 2, 2, 2);
|
||||||
panelBoost.Name = "panelBoost";
|
panelBoost.Name = "panelBoost";
|
||||||
panelBoost.Size = new Size(523, 65);
|
panelBoost.Size = new Size(261, 32);
|
||||||
panelBoost.TabIndex = 13;
|
panelBoost.TabIndex = 13;
|
||||||
//
|
//
|
||||||
// panelTitleCPU
|
// panelTitleCPU
|
||||||
@@ -654,8 +657,9 @@ namespace GHelper
|
|||||||
panelTitleCPU.Controls.Add(labelPowerLimits);
|
panelTitleCPU.Controls.Add(labelPowerLimits);
|
||||||
panelTitleCPU.Dock = DockStyle.Top;
|
panelTitleCPU.Dock = DockStyle.Top;
|
||||||
panelTitleCPU.Location = new Point(0, 0);
|
panelTitleCPU.Location = new Point(0, 0);
|
||||||
|
panelTitleCPU.Margin = new Padding(2, 2, 2, 2);
|
||||||
panelTitleCPU.Name = "panelTitleCPU";
|
panelTitleCPU.Name = "panelTitleCPU";
|
||||||
panelTitleCPU.Size = new Size(523, 66);
|
panelTitleCPU.Size = new Size(261, 33);
|
||||||
panelTitleCPU.TabIndex = 42;
|
panelTitleCPU.TabIndex = 42;
|
||||||
//
|
//
|
||||||
// pictureBox1
|
// pictureBox1
|
||||||
@@ -663,10 +667,10 @@ namespace GHelper
|
|||||||
pictureBox1.BackgroundImage = Properties.Resources.icons8_processor_96;
|
pictureBox1.BackgroundImage = Properties.Resources.icons8_processor_96;
|
||||||
pictureBox1.BackgroundImageLayout = ImageLayout.Zoom;
|
pictureBox1.BackgroundImageLayout = ImageLayout.Zoom;
|
||||||
pictureBox1.InitialImage = null;
|
pictureBox1.InitialImage = null;
|
||||||
pictureBox1.Location = new Point(16, 18);
|
pictureBox1.Location = new Point(5, 9);
|
||||||
pictureBox1.Margin = new Padding(4, 2, 4, 10);
|
pictureBox1.Margin = new Padding(2, 1, 2, 5);
|
||||||
pictureBox1.Name = "pictureBox1";
|
pictureBox1.Name = "pictureBox1";
|
||||||
pictureBox1.Size = new Size(36, 38);
|
pictureBox1.Size = new Size(18, 19);
|
||||||
pictureBox1.TabIndex = 40;
|
pictureBox1.TabIndex = 40;
|
||||||
pictureBox1.TabStop = false;
|
pictureBox1.TabStop = false;
|
||||||
//
|
//
|
||||||
@@ -674,10 +678,10 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
labelPowerLimits.AutoSize = true;
|
labelPowerLimits.AutoSize = true;
|
||||||
labelPowerLimits.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
labelPowerLimits.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
||||||
labelPowerLimits.Location = new Point(53, 20);
|
labelPowerLimits.Location = new Point(24, 10);
|
||||||
labelPowerLimits.Margin = new Padding(4, 0, 4, 0);
|
labelPowerLimits.Margin = new Padding(2, 0, 2, 0);
|
||||||
labelPowerLimits.Name = "labelPowerLimits";
|
labelPowerLimits.Name = "labelPowerLimits";
|
||||||
labelPowerLimits.Size = new Size(160, 32);
|
labelPowerLimits.Size = new Size(79, 15);
|
||||||
labelPowerLimits.TabIndex = 39;
|
labelPowerLimits.TabIndex = 39;
|
||||||
labelPowerLimits.Text = "Power Limits";
|
labelPowerLimits.Text = "Power Limits";
|
||||||
//
|
//
|
||||||
@@ -690,10 +694,11 @@ namespace GHelper
|
|||||||
panelGPU.Controls.Add(panelGPUCore);
|
panelGPU.Controls.Add(panelGPUCore);
|
||||||
panelGPU.Controls.Add(panelTitleGPU);
|
panelGPU.Controls.Add(panelTitleGPU);
|
||||||
panelGPU.Dock = DockStyle.Top;
|
panelGPU.Dock = DockStyle.Top;
|
||||||
panelGPU.Location = new Point(10, 0);
|
panelGPU.Location = new Point(5, 0);
|
||||||
|
panelGPU.Margin = new Padding(2, 2, 2, 2);
|
||||||
panelGPU.Name = "panelGPU";
|
panelGPU.Name = "panelGPU";
|
||||||
panelGPU.Padding = new Padding(0, 0, 0, 18);
|
panelGPU.Padding = new Padding(0, 0, 0, 9);
|
||||||
panelGPU.Size = new Size(523, 584);
|
panelGPU.Size = new Size(261, 290);
|
||||||
panelGPU.TabIndex = 44;
|
panelGPU.TabIndex = 44;
|
||||||
//
|
//
|
||||||
// panelGPUTemp
|
// panelGPUTemp
|
||||||
@@ -704,19 +709,20 @@ namespace GHelper
|
|||||||
panelGPUTemp.Controls.Add(labelGPUTempTitle);
|
panelGPUTemp.Controls.Add(labelGPUTempTitle);
|
||||||
panelGPUTemp.Controls.Add(trackGPUTemp);
|
panelGPUTemp.Controls.Add(trackGPUTemp);
|
||||||
panelGPUTemp.Dock = DockStyle.Top;
|
panelGPUTemp.Dock = DockStyle.Top;
|
||||||
panelGPUTemp.Location = new Point(0, 441);
|
panelGPUTemp.Location = new Point(0, 219);
|
||||||
panelGPUTemp.MaximumSize = new Size(0, 125);
|
panelGPUTemp.Margin = new Padding(2, 2, 2, 2);
|
||||||
|
panelGPUTemp.MaximumSize = new Size(0, 62);
|
||||||
panelGPUTemp.Name = "panelGPUTemp";
|
panelGPUTemp.Name = "panelGPUTemp";
|
||||||
panelGPUTemp.Size = new Size(523, 125);
|
panelGPUTemp.Size = new Size(261, 62);
|
||||||
panelGPUTemp.TabIndex = 47;
|
panelGPUTemp.TabIndex = 47;
|
||||||
//
|
//
|
||||||
// labelGPUTemp
|
// labelGPUTemp
|
||||||
//
|
//
|
||||||
labelGPUTemp.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
||||||
labelGPUTemp.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
labelGPUTemp.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
||||||
labelGPUTemp.Location = new Point(378, 14);
|
labelGPUTemp.Location = new Point(189, 7);
|
||||||
|
labelGPUTemp.Margin = new Padding(2, 0, 2, 0);
|
||||||
labelGPUTemp.Name = "labelGPUTemp";
|
labelGPUTemp.Name = "labelGPUTemp";
|
||||||
labelGPUTemp.Size = new Size(130, 32);
|
labelGPUTemp.Size = new Size(62, 16);
|
||||||
labelGPUTemp.TabIndex = 44;
|
labelGPUTemp.TabIndex = 44;
|
||||||
labelGPUTemp.Text = "87C";
|
labelGPUTemp.Text = "87C";
|
||||||
labelGPUTemp.TextAlign = ContentAlignment.TopRight;
|
labelGPUTemp.TextAlign = ContentAlignment.TopRight;
|
||||||
@@ -724,21 +730,21 @@ namespace GHelper
|
|||||||
// labelGPUTempTitle
|
// labelGPUTempTitle
|
||||||
//
|
//
|
||||||
labelGPUTempTitle.AutoSize = true;
|
labelGPUTempTitle.AutoSize = true;
|
||||||
labelGPUTempTitle.Location = new Point(10, 14);
|
labelGPUTempTitle.Location = new Point(5, 7);
|
||||||
|
labelGPUTempTitle.Margin = new Padding(2, 0, 2, 0);
|
||||||
labelGPUTempTitle.Name = "labelGPUTempTitle";
|
labelGPUTempTitle.Name = "labelGPUTempTitle";
|
||||||
labelGPUTempTitle.Size = new Size(173, 32);
|
labelGPUTempTitle.Size = new Size(85, 15);
|
||||||
labelGPUTempTitle.TabIndex = 43;
|
labelGPUTempTitle.TabIndex = 43;
|
||||||
labelGPUTempTitle.Text = "Thermal Target";
|
labelGPUTempTitle.Text = "Thermal Target";
|
||||||
//
|
//
|
||||||
// trackGPUTemp
|
// trackGPUTemp
|
||||||
//
|
//
|
||||||
trackGPUTemp.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
trackGPUTemp.Location = new Point(3, 28);
|
||||||
trackGPUTemp.Location = new Point(6, 57);
|
trackGPUTemp.Margin = new Padding(2, 1, 2, 1);
|
||||||
trackGPUTemp.Margin = new Padding(4, 2, 4, 2);
|
|
||||||
trackGPUTemp.Maximum = 87;
|
trackGPUTemp.Maximum = 87;
|
||||||
trackGPUTemp.Minimum = 75;
|
trackGPUTemp.Minimum = 75;
|
||||||
trackGPUTemp.Name = "trackGPUTemp";
|
trackGPUTemp.Name = "trackGPUTemp";
|
||||||
trackGPUTemp.Size = new Size(502, 90);
|
trackGPUTemp.Size = new Size(248, 45);
|
||||||
trackGPUTemp.TabIndex = 42;
|
trackGPUTemp.TabIndex = 42;
|
||||||
trackGPUTemp.TickFrequency = 5;
|
trackGPUTemp.TickFrequency = 5;
|
||||||
trackGPUTemp.TickStyle = TickStyle.TopLeft;
|
trackGPUTemp.TickStyle = TickStyle.TopLeft;
|
||||||
@@ -752,19 +758,20 @@ namespace GHelper
|
|||||||
panelGPUBoost.Controls.Add(labelGPUBoostTitle);
|
panelGPUBoost.Controls.Add(labelGPUBoostTitle);
|
||||||
panelGPUBoost.Controls.Add(trackGPUBoost);
|
panelGPUBoost.Controls.Add(trackGPUBoost);
|
||||||
panelGPUBoost.Dock = DockStyle.Top;
|
panelGPUBoost.Dock = DockStyle.Top;
|
||||||
panelGPUBoost.Location = new Point(0, 316);
|
panelGPUBoost.Location = new Point(0, 157);
|
||||||
panelGPUBoost.MaximumSize = new Size(0, 125);
|
panelGPUBoost.Margin = new Padding(2, 2, 2, 2);
|
||||||
|
panelGPUBoost.MaximumSize = new Size(0, 62);
|
||||||
panelGPUBoost.Name = "panelGPUBoost";
|
panelGPUBoost.Name = "panelGPUBoost";
|
||||||
panelGPUBoost.Size = new Size(523, 125);
|
panelGPUBoost.Size = new Size(261, 62);
|
||||||
panelGPUBoost.TabIndex = 46;
|
panelGPUBoost.TabIndex = 46;
|
||||||
//
|
//
|
||||||
// labelGPUBoost
|
// labelGPUBoost
|
||||||
//
|
//
|
||||||
labelGPUBoost.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
||||||
labelGPUBoost.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
labelGPUBoost.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
||||||
labelGPUBoost.Location = new Point(374, 14);
|
labelGPUBoost.Location = new Point(187, 7);
|
||||||
|
labelGPUBoost.Margin = new Padding(2, 0, 2, 0);
|
||||||
labelGPUBoost.Name = "labelGPUBoost";
|
labelGPUBoost.Name = "labelGPUBoost";
|
||||||
labelGPUBoost.Size = new Size(130, 32);
|
labelGPUBoost.Size = new Size(62, 16);
|
||||||
labelGPUBoost.TabIndex = 44;
|
labelGPUBoost.TabIndex = 44;
|
||||||
labelGPUBoost.Text = "25W";
|
labelGPUBoost.Text = "25W";
|
||||||
labelGPUBoost.TextAlign = ContentAlignment.TopRight;
|
labelGPUBoost.TextAlign = ContentAlignment.TopRight;
|
||||||
@@ -772,21 +779,21 @@ namespace GHelper
|
|||||||
// labelGPUBoostTitle
|
// labelGPUBoostTitle
|
||||||
//
|
//
|
||||||
labelGPUBoostTitle.AutoSize = true;
|
labelGPUBoostTitle.AutoSize = true;
|
||||||
labelGPUBoostTitle.Location = new Point(10, 14);
|
labelGPUBoostTitle.Location = new Point(5, 7);
|
||||||
|
labelGPUBoostTitle.Margin = new Padding(2, 0, 2, 0);
|
||||||
labelGPUBoostTitle.Name = "labelGPUBoostTitle";
|
labelGPUBoostTitle.Name = "labelGPUBoostTitle";
|
||||||
labelGPUBoostTitle.Size = new Size(174, 32);
|
labelGPUBoostTitle.Size = new Size(87, 15);
|
||||||
labelGPUBoostTitle.TabIndex = 43;
|
labelGPUBoostTitle.TabIndex = 43;
|
||||||
labelGPUBoostTitle.Text = "Dynamic Boost";
|
labelGPUBoostTitle.Text = "Dynamic Boost";
|
||||||
//
|
//
|
||||||
// trackGPUBoost
|
// trackGPUBoost
|
||||||
//
|
//
|
||||||
trackGPUBoost.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
trackGPUBoost.Location = new Point(3, 24);
|
||||||
trackGPUBoost.Location = new Point(6, 48);
|
trackGPUBoost.Margin = new Padding(2, 1, 2, 1);
|
||||||
trackGPUBoost.Margin = new Padding(4, 2, 4, 2);
|
|
||||||
trackGPUBoost.Maximum = 25;
|
trackGPUBoost.Maximum = 25;
|
||||||
trackGPUBoost.Minimum = 5;
|
trackGPUBoost.Minimum = 5;
|
||||||
trackGPUBoost.Name = "trackGPUBoost";
|
trackGPUBoost.Name = "trackGPUBoost";
|
||||||
trackGPUBoost.Size = new Size(502, 90);
|
trackGPUBoost.Size = new Size(248, 45);
|
||||||
trackGPUBoost.TabIndex = 42;
|
trackGPUBoost.TabIndex = 42;
|
||||||
trackGPUBoost.TickFrequency = 5;
|
trackGPUBoost.TickFrequency = 5;
|
||||||
trackGPUBoost.TickStyle = TickStyle.TopLeft;
|
trackGPUBoost.TickStyle = TickStyle.TopLeft;
|
||||||
@@ -800,19 +807,20 @@ namespace GHelper
|
|||||||
panelGPUMemory.Controls.Add(labelGPUMemoryTitle);
|
panelGPUMemory.Controls.Add(labelGPUMemoryTitle);
|
||||||
panelGPUMemory.Controls.Add(trackGPUMemory);
|
panelGPUMemory.Controls.Add(trackGPUMemory);
|
||||||
panelGPUMemory.Dock = DockStyle.Top;
|
panelGPUMemory.Dock = DockStyle.Top;
|
||||||
panelGPUMemory.Location = new Point(0, 191);
|
panelGPUMemory.Location = new Point(0, 95);
|
||||||
panelGPUMemory.MaximumSize = new Size(0, 125);
|
panelGPUMemory.Margin = new Padding(2, 2, 2, 2);
|
||||||
|
panelGPUMemory.MaximumSize = new Size(0, 62);
|
||||||
panelGPUMemory.Name = "panelGPUMemory";
|
panelGPUMemory.Name = "panelGPUMemory";
|
||||||
panelGPUMemory.Size = new Size(523, 125);
|
panelGPUMemory.Size = new Size(261, 62);
|
||||||
panelGPUMemory.TabIndex = 45;
|
panelGPUMemory.TabIndex = 45;
|
||||||
//
|
//
|
||||||
// labelGPUMemory
|
// labelGPUMemory
|
||||||
//
|
//
|
||||||
labelGPUMemory.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
||||||
labelGPUMemory.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
labelGPUMemory.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
||||||
labelGPUMemory.Location = new Point(378, 14);
|
labelGPUMemory.Location = new Point(172, 7);
|
||||||
|
labelGPUMemory.Margin = new Padding(2, 0, 2, 0);
|
||||||
labelGPUMemory.Name = "labelGPUMemory";
|
labelGPUMemory.Name = "labelGPUMemory";
|
||||||
labelGPUMemory.Size = new Size(130, 32);
|
labelGPUMemory.Size = new Size(80, 16);
|
||||||
labelGPUMemory.TabIndex = 44;
|
labelGPUMemory.TabIndex = 44;
|
||||||
labelGPUMemory.Text = "2000 MHz";
|
labelGPUMemory.Text = "2000 MHz";
|
||||||
labelGPUMemory.TextAlign = ContentAlignment.TopRight;
|
labelGPUMemory.TextAlign = ContentAlignment.TopRight;
|
||||||
@@ -820,21 +828,21 @@ namespace GHelper
|
|||||||
// labelGPUMemoryTitle
|
// labelGPUMemoryTitle
|
||||||
//
|
//
|
||||||
labelGPUMemoryTitle.AutoSize = true;
|
labelGPUMemoryTitle.AutoSize = true;
|
||||||
labelGPUMemoryTitle.Location = new Point(10, 14);
|
labelGPUMemoryTitle.Location = new Point(5, 7);
|
||||||
|
labelGPUMemoryTitle.Margin = new Padding(2, 0, 2, 0);
|
||||||
labelGPUMemoryTitle.Name = "labelGPUMemoryTitle";
|
labelGPUMemoryTitle.Name = "labelGPUMemoryTitle";
|
||||||
labelGPUMemoryTitle.Size = new Size(241, 32);
|
labelGPUMemoryTitle.Size = new Size(120, 15);
|
||||||
labelGPUMemoryTitle.TabIndex = 43;
|
labelGPUMemoryTitle.TabIndex = 43;
|
||||||
labelGPUMemoryTitle.Text = "Memory Clock Offset";
|
labelGPUMemoryTitle.Text = "Memory Clock Offset";
|
||||||
//
|
//
|
||||||
// trackGPUMemory
|
// trackGPUMemory
|
||||||
//
|
//
|
||||||
trackGPUMemory.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
||||||
trackGPUMemory.LargeChange = 100;
|
trackGPUMemory.LargeChange = 100;
|
||||||
trackGPUMemory.Location = new Point(6, 48);
|
trackGPUMemory.Location = new Point(3, 24);
|
||||||
trackGPUMemory.Margin = new Padding(4, 2, 4, 2);
|
trackGPUMemory.Margin = new Padding(2, 1, 2, 1);
|
||||||
trackGPUMemory.Maximum = 300;
|
trackGPUMemory.Maximum = 300;
|
||||||
trackGPUMemory.Name = "trackGPUMemory";
|
trackGPUMemory.Name = "trackGPUMemory";
|
||||||
trackGPUMemory.Size = new Size(502, 90);
|
trackGPUMemory.Size = new Size(248, 45);
|
||||||
trackGPUMemory.SmallChange = 10;
|
trackGPUMemory.SmallChange = 10;
|
||||||
trackGPUMemory.TabIndex = 42;
|
trackGPUMemory.TabIndex = 42;
|
||||||
trackGPUMemory.TickFrequency = 50;
|
trackGPUMemory.TickFrequency = 50;
|
||||||
@@ -848,33 +856,33 @@ namespace GHelper
|
|||||||
panelGPUCore.Controls.Add(trackGPUCore);
|
panelGPUCore.Controls.Add(trackGPUCore);
|
||||||
panelGPUCore.Controls.Add(labelGPUCoreTitle);
|
panelGPUCore.Controls.Add(labelGPUCoreTitle);
|
||||||
panelGPUCore.Dock = DockStyle.Top;
|
panelGPUCore.Dock = DockStyle.Top;
|
||||||
panelGPUCore.Location = new Point(0, 66);
|
panelGPUCore.Location = new Point(0, 33);
|
||||||
panelGPUCore.MaximumSize = new Size(0, 125);
|
panelGPUCore.Margin = new Padding(2, 2, 2, 2);
|
||||||
|
panelGPUCore.MaximumSize = new Size(0, 62);
|
||||||
panelGPUCore.Name = "panelGPUCore";
|
panelGPUCore.Name = "panelGPUCore";
|
||||||
panelGPUCore.Size = new Size(523, 125);
|
panelGPUCore.Size = new Size(261, 62);
|
||||||
panelGPUCore.TabIndex = 44;
|
panelGPUCore.TabIndex = 44;
|
||||||
//
|
//
|
||||||
// labelGPUCore
|
// labelGPUCore
|
||||||
//
|
//
|
||||||
labelGPUCore.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
||||||
labelGPUCore.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
labelGPUCore.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
||||||
labelGPUCore.Location = new Point(378, 15);
|
labelGPUCore.Location = new Point(163, 8);
|
||||||
|
labelGPUCore.Margin = new Padding(2, 0, 2, 0);
|
||||||
labelGPUCore.Name = "labelGPUCore";
|
labelGPUCore.Name = "labelGPUCore";
|
||||||
labelGPUCore.Size = new Size(130, 32);
|
labelGPUCore.Size = new Size(88, 16);
|
||||||
labelGPUCore.TabIndex = 29;
|
labelGPUCore.TabIndex = 29;
|
||||||
labelGPUCore.Text = "1500 MHz";
|
labelGPUCore.Text = "1500 MHz";
|
||||||
labelGPUCore.TextAlign = ContentAlignment.TopRight;
|
labelGPUCore.TextAlign = ContentAlignment.TopRight;
|
||||||
//
|
//
|
||||||
// trackGPUCore
|
// trackGPUCore
|
||||||
//
|
//
|
||||||
trackGPUCore.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
||||||
trackGPUCore.LargeChange = 100;
|
trackGPUCore.LargeChange = 100;
|
||||||
trackGPUCore.Location = new Point(6, 47);
|
trackGPUCore.Location = new Point(3, 24);
|
||||||
trackGPUCore.Margin = new Padding(4, 2, 4, 2);
|
trackGPUCore.Margin = new Padding(2, 1, 2, 1);
|
||||||
trackGPUCore.Maximum = 300;
|
trackGPUCore.Maximum = 300;
|
||||||
trackGPUCore.Name = "trackGPUCore";
|
trackGPUCore.Name = "trackGPUCore";
|
||||||
trackGPUCore.RightToLeft = RightToLeft.No;
|
trackGPUCore.RightToLeft = RightToLeft.No;
|
||||||
trackGPUCore.Size = new Size(502, 90);
|
trackGPUCore.Size = new Size(248, 45);
|
||||||
trackGPUCore.SmallChange = 10;
|
trackGPUCore.SmallChange = 10;
|
||||||
trackGPUCore.TabIndex = 18;
|
trackGPUCore.TabIndex = 18;
|
||||||
trackGPUCore.TickFrequency = 50;
|
trackGPUCore.TickFrequency = 50;
|
||||||
@@ -883,9 +891,10 @@ namespace GHelper
|
|||||||
// labelGPUCoreTitle
|
// labelGPUCoreTitle
|
||||||
//
|
//
|
||||||
labelGPUCoreTitle.AutoSize = true;
|
labelGPUCoreTitle.AutoSize = true;
|
||||||
labelGPUCoreTitle.Location = new Point(10, 15);
|
labelGPUCoreTitle.Location = new Point(5, 8);
|
||||||
|
labelGPUCoreTitle.Margin = new Padding(2, 0, 2, 0);
|
||||||
labelGPUCoreTitle.Name = "labelGPUCoreTitle";
|
labelGPUCoreTitle.Name = "labelGPUCoreTitle";
|
||||||
labelGPUCoreTitle.Size = new Size(201, 32);
|
labelGPUCoreTitle.Size = new Size(100, 15);
|
||||||
labelGPUCoreTitle.TabIndex = 17;
|
labelGPUCoreTitle.TabIndex = 17;
|
||||||
labelGPUCoreTitle.Text = "Core Clock Offset";
|
labelGPUCoreTitle.Text = "Core Clock Offset";
|
||||||
//
|
//
|
||||||
@@ -897,8 +906,9 @@ namespace GHelper
|
|||||||
panelTitleGPU.Controls.Add(labelGPU);
|
panelTitleGPU.Controls.Add(labelGPU);
|
||||||
panelTitleGPU.Dock = DockStyle.Top;
|
panelTitleGPU.Dock = DockStyle.Top;
|
||||||
panelTitleGPU.Location = new Point(0, 0);
|
panelTitleGPU.Location = new Point(0, 0);
|
||||||
|
panelTitleGPU.Margin = new Padding(2, 2, 2, 2);
|
||||||
panelTitleGPU.Name = "panelTitleGPU";
|
panelTitleGPU.Name = "panelTitleGPU";
|
||||||
panelTitleGPU.Size = new Size(523, 66);
|
panelTitleGPU.Size = new Size(261, 33);
|
||||||
panelTitleGPU.TabIndex = 43;
|
panelTitleGPU.TabIndex = 43;
|
||||||
//
|
//
|
||||||
// pictureGPU
|
// pictureGPU
|
||||||
@@ -907,10 +917,10 @@ namespace GHelper
|
|||||||
pictureGPU.BackgroundImageLayout = ImageLayout.Zoom;
|
pictureGPU.BackgroundImageLayout = ImageLayout.Zoom;
|
||||||
pictureGPU.ErrorImage = null;
|
pictureGPU.ErrorImage = null;
|
||||||
pictureGPU.InitialImage = null;
|
pictureGPU.InitialImage = null;
|
||||||
pictureGPU.Location = new Point(16, 18);
|
pictureGPU.Location = new Point(5, 9);
|
||||||
pictureGPU.Margin = new Padding(4, 2, 4, 10);
|
pictureGPU.Margin = new Padding(2, 1, 2, 5);
|
||||||
pictureGPU.Name = "pictureGPU";
|
pictureGPU.Name = "pictureGPU";
|
||||||
pictureGPU.Size = new Size(36, 38);
|
pictureGPU.Size = new Size(18, 19);
|
||||||
pictureGPU.TabIndex = 41;
|
pictureGPU.TabIndex = 41;
|
||||||
pictureGPU.TabStop = false;
|
pictureGPU.TabStop = false;
|
||||||
//
|
//
|
||||||
@@ -918,26 +928,26 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
labelGPU.AutoSize = true;
|
labelGPU.AutoSize = true;
|
||||||
labelGPU.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
labelGPU.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
||||||
labelGPU.Location = new Point(52, 20);
|
labelGPU.Location = new Point(24, 10);
|
||||||
labelGPU.Margin = new Padding(4, 0, 4, 0);
|
labelGPU.Margin = new Padding(2, 0, 2, 0);
|
||||||
labelGPU.Name = "labelGPU";
|
labelGPU.Name = "labelGPU";
|
||||||
labelGPU.Size = new Size(162, 32);
|
labelGPU.Size = new Size(81, 15);
|
||||||
labelGPU.TabIndex = 40;
|
labelGPU.TabIndex = 40;
|
||||||
labelGPU.Text = "GPU Settings";
|
labelGPU.Text = "GPU Settings";
|
||||||
//
|
//
|
||||||
// Fans
|
// Fans
|
||||||
//
|
//
|
||||||
AutoScaleDimensions = new SizeF(192F, 192F);
|
AutoScaleDimensions = new SizeF(96F, 96F);
|
||||||
AutoScaleMode = AutoScaleMode.Dpi;
|
AutoScaleMode = AutoScaleMode.Dpi;
|
||||||
AutoSize = true;
|
AutoSize = true;
|
||||||
AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
||||||
ClientSize = new Size(1340, 1310);
|
ClientSize = new Size(670, 655);
|
||||||
Controls.Add(panelFans);
|
Controls.Add(panelFans);
|
||||||
Controls.Add(panelSliders);
|
Controls.Add(panelSliders);
|
||||||
Margin = new Padding(4, 2, 4, 2);
|
Margin = new Padding(2, 1, 2, 1);
|
||||||
MaximizeBox = false;
|
MaximizeBox = false;
|
||||||
MinimizeBox = false;
|
MinimizeBox = false;
|
||||||
MinimumSize = new Size(0, 1200);
|
MinimumSize = new Size(22, 606);
|
||||||
Name = "Fans";
|
Name = "Fans";
|
||||||
ShowIcon = false;
|
ShowIcon = false;
|
||||||
ShowInTaskbar = false;
|
ShowInTaskbar = false;
|
||||||
|
|||||||
12
app/Fans.cs
12
app/Fans.cs
@@ -20,7 +20,7 @@ namespace GHelper
|
|||||||
|
|
||||||
static int MinRPM, MaxRPM;
|
static int MinRPM, MaxRPM;
|
||||||
|
|
||||||
static bool powerVisible = true, gpuVisible = true;
|
static bool gpuVisible = true;
|
||||||
|
|
||||||
const int fansMax = 100;
|
const int fansMax = 100;
|
||||||
|
|
||||||
@@ -31,6 +31,10 @@ namespace GHelper
|
|||||||
|
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
|
float dpi = ControlHelper.GetDpiScale(this).Value;
|
||||||
|
comboModes.Size = new Size((int)dpi*150, (int)dpi * 18);
|
||||||
|
comboModes.ClientSize = new Size((int)dpi * 150, (int)dpi * 18);
|
||||||
|
|
||||||
Text = Properties.Strings.FansAndPower;
|
Text = Properties.Strings.FansAndPower;
|
||||||
labelPowerLimits.Text = Properties.Strings.PowerLimits;
|
labelPowerLimits.Text = Properties.Strings.PowerLimits;
|
||||||
labelInfo.Text = Properties.Strings.PPTExperimental;
|
labelInfo.Text = Properties.Strings.PPTExperimental;
|
||||||
@@ -48,7 +52,7 @@ namespace GHelper
|
|||||||
labelGPUBoostTitle.Text = Properties.Strings.GPUBoost;
|
labelGPUBoostTitle.Text = Properties.Strings.GPUBoost;
|
||||||
labelGPUTempTitle.Text = Properties.Strings.GPUTempTarget;
|
labelGPUTempTitle.Text = Properties.Strings.GPUTempTarget;
|
||||||
|
|
||||||
InitTheme();
|
InitTheme(true);
|
||||||
|
|
||||||
MinRPM = 18;
|
MinRPM = 18;
|
||||||
MaxRPM = HardwareControl.GetFanMax();
|
MaxRPM = HardwareControl.GetFanMax();
|
||||||
@@ -394,8 +398,6 @@ namespace GHelper
|
|||||||
|
|
||||||
public void FormPosition()
|
public void FormPosition()
|
||||||
{
|
{
|
||||||
panelSliders.Visible = gpuVisible || powerVisible;
|
|
||||||
|
|
||||||
if (Height > Program.settingsForm.Height)
|
if (Height > Program.settingsForm.Height)
|
||||||
{
|
{
|
||||||
Top = Program.settingsForm.Top + Program.settingsForm.Height - Height;
|
Top = Program.settingsForm.Top + Program.settingsForm.Height - Height;
|
||||||
@@ -484,7 +486,7 @@ namespace GHelper
|
|||||||
bool modeB0 = Program.acpi.IsAllAmdPPT();
|
bool modeB0 = Program.acpi.IsAllAmdPPT();
|
||||||
bool modeC1 = Program.acpi.DeviceGet(AsusACPI.PPT_APUC1) >= 0;
|
bool modeC1 = Program.acpi.DeviceGet(AsusACPI.PPT_APUC1) >= 0;
|
||||||
|
|
||||||
powerVisible = panelPower.Visible = modeA0;
|
panelA0.Visible = modeA0;
|
||||||
panelB0.Visible = modeB0;
|
panelB0.Visible = modeB0;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -117,44 +117,4 @@
|
|||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
|
||||||
<data name="buttonRename.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
||||||
<value>
|
|
||||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAL
|
|
||||||
DAAACwwBP0AiyAAAAR9JREFUWEftlEuKwkAURTPQHruB3oMINk5chNtRHAnuwFX0R3vQq2lw6kRxCXqP
|
|
||||||
5EE6dPKqNOWoDhw0lUrdS6VIkckkpCeXcl/Kf8aeQl++y0vNhUwO4R+SwJN8k9Py+lcmpR4+kjCRwQWY
|
|
||||||
GCNbzbsl/LMcq4bzyzXjcwY8qot7VsO/yrGmcJvrYouHUg0/y7GEoTxKxtkZ5gURU4BFt7KzcAgt8CI7
|
|
||||||
D4eQAsnCwStA+LdkTtOB40wQfteXzyswk23h7IyFc/Kj8QqsJPfXt6u/4TvJDoF9iqPxCvxI7m8kJSyc
|
|
||||||
12Lh4K3TiPfgQdocsx4Odi+atgdfJfcowU7wOjgT9XBIUmAgKRFCkgIx5AK5wMMFujKa/xZ5xEymhaK4
|
|
||||||
AsqsxiD2d6spAAAAAElFTkSuQmCC
|
|
||||||
</value>
|
|
||||||
</data>
|
|
||||||
<data name="buttonRemove.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
||||||
<value>
|
|
||||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAL
|
|
||||||
DAAACwwBP0AiyAAAAclJREFUWEftls0uBEEQx+fkI1zWjeAusTyBeAC8EC68Ahu8DImvp8ANF44EB/x/
|
|
||||||
na3LRM9099YSyf6TXzJdU13T011d3dVI/02rYl+ciQfx0YdnbLzDx13r4lJ8JXIh6DOwJsWJ+BQEfhIH
|
|
||||||
YkMsiLE+PGM7FPjgSx/6EqNIM+JaEOxFbIsp0SZ8dsSroC8xOiJLjNo+fiOWRa6WxK2wQWTNBFNnH5/F
|
|
||||||
UCj62iCOMKSI5GH9mPaSP6+LGCwHMdcwtMmynTX3ErGIeR5aDVoROJLJKQmXKmLZ7uAbUVFIcGKreasn
|
|
||||||
iL0XWhFRzXBiT3trUxD7NLQiehQ4zYeWrxYFsSnbUb0LnKhudWHPoa5xgf0ttCL68wHYElDbvWVLcB9a
|
|
||||||
EQ0zCbcEsRuT0LYhp5q3krbhsArRtHgWxG4sRIjLBI4cqV7aFcRsLcXIDiMOkC6GAZV9GKFjwYg5Sucw
|
|
||||||
FIq+d4JYyccx4vJwJWwQJRdNZs8+zoVkQmSJa5QNgikkJ0imNuHDmtuVjBjZVzITM8HUsX4EI5PZThws
|
|
||||||
FBa7lPLMPuedZTt96Jv95z+J5CGDCZwCvskJlyP2MIWEakZJ5ewAnrHxzmPnjPRbqqpvzOytki4+4b0A
|
|
||||||
AAAASUVORK5CYII=
|
|
||||||
</value>
|
|
||||||
</data>
|
|
||||||
<data name="buttonAdd.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
||||||
<value>
|
|
||||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAL
|
|
||||||
DAAACwwBP0AiyAAAAddJREFUWEftlssuBUEQhmflEjbsCPYSlycQD4AXwoZXQPAyJG5PgR02LAkW+L/O
|
|
||||||
qc3J6emqOXOI5PzJl0z3VNfUdFdXdzXUf9Oq2Bfn4lF8duCZPt5h07rWxZX4dnIpGNO3xsWp+BI4fhYH
|
|
||||||
YkPMi5EOPNN3KLDBljGMxUcjTYsbgbNXsS0mREnY7Ig3wVh8TImQiNo+fiuWRFSL4k5YEKGZYOrs4zN0
|
|
||||||
NBRjLYhjOjwieVg/pr3Jn3cLHywHPtfoKMmynTVvS/jC50Vq1WhFYEgmexIOWygJX7Y7+EZWFBKM2Goe
|
|
||||||
eQNARwLbvdTKiGqGEXvao0gAmwLbs9TK6ElgNJdaZUUCWBDYUraz+hAYUd16yT5YopdGBe/eUyujPw/A
|
|
||||||
loDa7lHdB7tlS/CQWhkNMgm3BLa1SWjbkFPNo0gArm04qEI0KV4EtrWFCHGZwJAjtS3tCnwWSzGyw4gD
|
|
||||||
ZJmOPhU+jNCJIGKO0lk6Goqx9wJf7uMYcXm4FhZEk4sms2cf50IyJkLiGmVBMIXkBMlUEjasuV3J8BG+
|
|
||||||
kpmYCaaO9cMZmcx24mChsNillGf2Oe8s2xnD2PCf9xLJQwbj2AO27oSLiD1MIaGaUVI5O4Bn+njXxs4Z
|
|
||||||
6rdUVT8f7bmGe+JHiAAAAABJRU5ErkJggg==
|
|
||||||
</value>
|
|
||||||
</data>
|
|
||||||
</root>
|
</root>
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<ProduceReferenceAssembly>False</ProduceReferenceAssembly>
|
<ProduceReferenceAssembly>False</ProduceReferenceAssembly>
|
||||||
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
||||||
<AssemblyVersion>0.83</AssemblyVersion>
|
<AssemblyVersion>0.84</AssemblyVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
|
|||||||
@@ -242,21 +242,21 @@ namespace GHelper
|
|||||||
case Keys.F7:
|
case Keys.F7:
|
||||||
if (AppConfig.ContainsModel("TUF"))
|
if (AppConfig.ContainsModel("TUF"))
|
||||||
Program.settingsForm.BeginInvoke(Program.settingsForm.RunToast, ScreenBrightness.Adjust(-10) + "%", ToastIcon.BrightnessDown);
|
Program.settingsForm.BeginInvoke(Program.settingsForm.RunToast, ScreenBrightness.Adjust(-10) + "%", ToastIcon.BrightnessDown);
|
||||||
HandleEvent(16);
|
HandleOptimizationEvent(16);
|
||||||
break;
|
break;
|
||||||
case Keys.F8:
|
case Keys.F8:
|
||||||
if (AppConfig.ContainsModel("TUF"))
|
if (AppConfig.ContainsModel("TUF"))
|
||||||
Program.settingsForm.BeginInvoke(Program.settingsForm.RunToast, ScreenBrightness.Adjust(+10) + "%", ToastIcon.BrightnessUp);
|
Program.settingsForm.BeginInvoke(Program.settingsForm.RunToast, ScreenBrightness.Adjust(+10) + "%", ToastIcon.BrightnessUp);
|
||||||
HandleEvent(32);
|
HandleOptimizationEvent(32);
|
||||||
break;
|
break;
|
||||||
case Keys.F9:
|
case Keys.F9:
|
||||||
KeyboardHook.KeyWinPress(Keys.P);
|
KeyboardHook.KeyWinPress(Keys.P);
|
||||||
break;
|
break;
|
||||||
case Keys.F10:
|
case Keys.F10:
|
||||||
HandleEvent(107);
|
HandleOptimizationEvent(107);
|
||||||
break;
|
break;
|
||||||
case Keys.F11:
|
case Keys.F11:
|
||||||
HandleEvent(108);
|
HandleOptimizationEvent(108);
|
||||||
break;
|
break;
|
||||||
case Keys.F12:
|
case Keys.F12:
|
||||||
KeyboardHook.KeyWinPress(Keys.A);
|
KeyboardHook.KeyWinPress(Keys.A);
|
||||||
@@ -343,10 +343,10 @@ namespace GHelper
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "brightness_up":
|
case "brightness_up":
|
||||||
HandleEvent(32);
|
HandleOptimizationEvent(32);
|
||||||
break;
|
break;
|
||||||
case "brightness_down":
|
case "brightness_down":
|
||||||
HandleEvent(16);
|
HandleOptimizationEvent(16);
|
||||||
break;
|
break;
|
||||||
case "custom":
|
case "custom":
|
||||||
CustomKey(name);
|
CustomKey(name);
|
||||||
@@ -429,10 +429,17 @@ namespace GHelper
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (OptimizationService.IsRunning()) return;
|
if (!OptimizationService.IsRunning())
|
||||||
|
|
||||||
|
HandleOptimizationEvent(EventID);
|
||||||
|
|
||||||
// Asus Optimization service Events
|
// Asus Optimization service Events
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
static void HandleOptimizationEvent(int EventID)
|
||||||
|
{
|
||||||
switch (EventID)
|
switch (EventID)
|
||||||
{
|
{
|
||||||
case 16: // FN+F7
|
case 16: // FN+F7
|
||||||
@@ -449,14 +456,7 @@ namespace GHelper
|
|||||||
case 108: // FN+F11
|
case 108: // FN+F11
|
||||||
Program.acpi.DeviceSet(AsusACPI.UniversalControl, AsusACPI.KB_Sleep, "Sleep");
|
Program.acpi.DeviceSet(AsusACPI.UniversalControl, AsusACPI.KB_Sleep, "Sleep");
|
||||||
break;
|
break;
|
||||||
case 106: // Zephyrus DUO special key for turning on/off second display.
|
|
||||||
//Program.acpi.DeviceSet(AsusACPI.UniversalControl, AsusACPI.KB_DUO_SecondDisplay, "SecondDisplay");
|
|
||||||
break;
|
|
||||||
case 75: // Zephyrus DUO special key for changing between arrows and pgup/pgdn
|
|
||||||
//Program.acpi.DeviceSet(AsusACPI.UniversalControl, AsusACPI.KB_DUO_PgUpDn, "PgUpDown");
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -724,6 +724,14 @@ public class NativeMethods
|
|||||||
int iRet = NativeMethods.ChangeDisplaySettingsEx(laptopScreen, ref dm, IntPtr.Zero, DisplaySettingsFlags.CDS_UPDATEREGISTRY, IntPtr.Zero);
|
int iRet = NativeMethods.ChangeDisplaySettingsEx(laptopScreen, ref dm, IntPtr.Zero, DisplaySettingsFlags.CDS_UPDATEREGISTRY, IntPtr.Zero);
|
||||||
Logger.WriteLine("Screen = " + frequency.ToString() + "Hz : " + (iRet == 0 ? "OK" : iRet));
|
Logger.WriteLine("Screen = " + frequency.ToString() + "Hz : " + (iRet == 0 ? "OK" : iRet));
|
||||||
|
|
||||||
|
//Fallback scenario
|
||||||
|
if (iRet != 0)
|
||||||
|
{
|
||||||
|
Thread.Sleep(300);
|
||||||
|
iRet = NativeMethods.ChangeDisplaySettingsEx(laptopScreen, ref dm, IntPtr.Zero, DisplaySettingsFlags.CDS_UPDATEREGISTRY, IntPtr.Zero);
|
||||||
|
Logger.WriteLine("Screen = " + frequency.ToString() + "Hz : " + (iRet == 0 ? "OK" : iRet));
|
||||||
|
}
|
||||||
|
|
||||||
return iRet;
|
return iRet;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -177,8 +177,16 @@ namespace GHelper
|
|||||||
if (settingsForm.Visible) settingsForm.HideAll();
|
if (settingsForm.Visible) settingsForm.HideAll();
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
||||||
|
settingsForm.Left = Screen.FromControl(settingsForm).WorkingArea.Width - 10 - settingsForm.Width;
|
||||||
|
settingsForm.Top = Screen.FromControl(settingsForm).WorkingArea.Height - 10 - settingsForm.Height;
|
||||||
|
|
||||||
settingsForm.Show();
|
settingsForm.Show();
|
||||||
settingsForm.Activate();
|
settingsForm.Activate();
|
||||||
|
|
||||||
|
settingsForm.Left = Screen.FromControl(settingsForm).WorkingArea.Width - 10 - settingsForm.Width;
|
||||||
|
settingsForm.Top = Screen.FromControl(settingsForm).WorkingArea.Height - 10 - settingsForm.Height;
|
||||||
|
|
||||||
settingsForm.VisualiseGPUMode();
|
settingsForm.VisualiseGPUMode();
|
||||||
|
|
||||||
switch (action)
|
switch (action)
|
||||||
|
|||||||
40
app/Properties/Resources.Designer.cs
generated
40
app/Properties/Resources.Designer.cs
generated
@@ -110,6 +110,16 @@ namespace GHelper.Properties {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap icons8_add_64 {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("icons8_add_64", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -160,6 +170,16 @@ namespace GHelper.Properties {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap icons8_edit_32 {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("icons8_edit_32", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -360,6 +380,16 @@ namespace GHelper.Properties {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap icons8_remove_64 {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("icons8_remove_64", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -370,6 +400,16 @@ namespace GHelper.Properties {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap icons8_share_32 {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("icons8_share_32", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -244,4 +244,16 @@
|
|||||||
<data name="icons8_charging_battery_96" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="icons8_charging_battery_96" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\icons8-charging-battery-96.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\icons8-charging-battery-96.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="icons8_add_64" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\icons8-add-64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="icons8_edit_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\icons8-edit-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="icons8_remove_64" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\icons8-remove-64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="icons8_share_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\icons8-share-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
@@ -148,13 +148,16 @@
|
|||||||
<value>G-Helper já está em execução. Verifique a barra de sistema</value>
|
<value>G-Helper já está em execução. Verifique a barra de sistema</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="ApplyFanCurve" xml:space="preserve">
|
<data name="ApplyFanCurve" xml:space="preserve">
|
||||||
<value>Aplicar a curva de ventilador personalizada</value>
|
<value>Aplicar a curva personalizada</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="ApplyPowerLimits" xml:space="preserve">
|
<data name="ApplyPowerLimits" xml:space="preserve">
|
||||||
<value>Aplicar as limitações de energia</value>
|
<value>Aplicar as limitações de energia</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="ApplyWindowsPowerPlan" xml:space="preserve">
|
<data name="ApplyWindowsPowerPlan" xml:space="preserve">
|
||||||
<value>Automaticamente ajustar os Modos de Energia Windows</value>
|
<value>Ajuste automático dos modos de energia do Windows</value>
|
||||||
|
</data>
|
||||||
|
<data name="AsusServicesRunning" xml:space="preserve">
|
||||||
|
<value>Serviços da Asus em execução</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="AuraBreathe" xml:space="preserve">
|
<data name="AuraBreathe" xml:space="preserve">
|
||||||
<value>Repiração</value>
|
<value>Repiração</value>
|
||||||
@@ -184,25 +187,28 @@
|
|||||||
<value>Automático</value>
|
<value>Automático</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="AutoRefreshTooltip" xml:space="preserve">
|
<data name="AutoRefreshTooltip" xml:space="preserve">
|
||||||
<value>Estabelece 60Hz para economizar energia</value>
|
<value>Menor taxa de atualização quando estiver na bateria</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Awake" xml:space="preserve">
|
<data name="Awake" xml:space="preserve">
|
||||||
<value>Acordado</value>
|
<value>Acordado</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="BacklightTimeout" xml:space="preserve">
|
<data name="BacklightTimeout" xml:space="preserve">
|
||||||
<value>Números de segundos para desligar a luz de fundo</value>
|
<value>Tempo limite da iluminação na bateria (em segundos)</value>
|
||||||
|
</data>
|
||||||
|
<data name="BacklightTimeoutPlugged" xml:space="preserve">
|
||||||
|
<value>Tempo limite da iluminação carregando (0 - sempre ligado)</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Balanced" xml:space="preserve">
|
<data name="Balanced" xml:space="preserve">
|
||||||
<value>Equilibrado</value>
|
<value>Equilibrado</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="BatteryChargeLimit" xml:space="preserve">
|
<data name="BatteryChargeLimit" xml:space="preserve">
|
||||||
<value>Limite de carga da bateria</value>
|
<value>Limite de carga</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Boot" xml:space="preserve">
|
<data name="Boot" xml:space="preserve">
|
||||||
<value>Durante o lançamento</value>
|
<value>Ao ligar</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Brightness" xml:space="preserve">
|
<data name="Brightness" xml:space="preserve">
|
||||||
<value>Luminosidade</value>
|
<value>Nível do brilho</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Color" xml:space="preserve">
|
<data name="Color" xml:space="preserve">
|
||||||
<value>Cor</value>
|
<value>Cor</value>
|
||||||
@@ -259,11 +265,14 @@
|
|||||||
<value>Ventiladores e Energía</value>
|
<value>Ventiladores e Energía</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="FanSpeed" xml:space="preserve">
|
<data name="FanSpeed" xml:space="preserve">
|
||||||
<value>Ventilador</value>
|
<value>Vent</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="FansPower" xml:space="preserve">
|
<data name="FansPower" xml:space="preserve">
|
||||||
<value>Ventiladores + Energía</value>
|
<value>Ventiladores + Energía</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="FnLock" xml:space="preserve">
|
||||||
|
<value>Processar teclas de atalho Fn+F sem pressionar Fn</value>
|
||||||
|
</data>
|
||||||
<data name="GPUBoost" xml:space="preserve">
|
<data name="GPUBoost" xml:space="preserve">
|
||||||
<value>Boost dinâmico</value>
|
<value>Boost dinâmico</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -297,14 +306,17 @@
|
|||||||
<data name="KeyboardBacklight" xml:space="preserve">
|
<data name="KeyboardBacklight" xml:space="preserve">
|
||||||
<value>Luz de fundo do teclado</value>
|
<value>Luz de fundo do teclado</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="KillGpuApps" xml:space="preserve">
|
||||||
|
<value>Parar todos os aplicativos que usam a GPU ao alternar para o modo Eco</value>
|
||||||
|
</data>
|
||||||
<data name="LaptopBacklight" xml:space="preserve">
|
<data name="LaptopBacklight" xml:space="preserve">
|
||||||
<value>Luz de fundo do computador</value>
|
<value>Configurações de iluminação</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="LaptopKeyboard" xml:space="preserve">
|
<data name="LaptopKeyboard" xml:space="preserve">
|
||||||
<value>Teclado do computador</value>
|
<value>Teclado</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="LaptopScreen" xml:space="preserve">
|
<data name="LaptopScreen" xml:space="preserve">
|
||||||
<value>Tela do computador</value>
|
<value>Tela</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Lid" xml:space="preserve">
|
<data name="Lid" xml:space="preserve">
|
||||||
<value>Tampa</value>
|
<value>Tampa</value>
|
||||||
@@ -337,13 +349,16 @@
|
|||||||
<value>Imagem</value>
|
<value>Imagem</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="MaxRefreshTooltip" xml:space="preserve">
|
<data name="MaxRefreshTooltip" xml:space="preserve">
|
||||||
<value>Taxa de atualização maxíma para abaixar a latência</value>
|
<value>Taxa de atualização máxima e menor latência</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="MinRefreshTooltip" xml:space="preserve">
|
<data name="MinRefreshTooltip" xml:space="preserve">
|
||||||
<value>Taxa de atualização à 60Hz para salvar energía</value>
|
<value>Taxa de atualização à 60Hz para economizar bateria</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Multizone" xml:space="preserve">
|
<data name="Multizone" xml:space="preserve">
|
||||||
<value>Multizona</value>
|
<value>Multizona</value>
|
||||||
|
</data>
|
||||||
|
<data name="MuteMic" xml:space="preserve">
|
||||||
|
<value>Desligar microfone</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="OpenGHelper" xml:space="preserve">
|
<data name="OpenGHelper" xml:space="preserve">
|
||||||
<value>Abrir G-Helper</value>
|
<value>Abrir G-Helper</value>
|
||||||
@@ -355,7 +370,7 @@
|
|||||||
<value>Passar ao Ecônomico em bateria e voltar quando carregando</value>
|
<value>Passar ao Ecônomico em bateria e voltar quando carregando</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="OptimizedUSBC" xml:space="preserve">
|
<data name="OptimizedUSBC" xml:space="preserve">
|
||||||
<value>Manter o GPU desligado com um carregador USB-C no Modo Otimizado</value>
|
<value>Manter a GPU desativada ao usar um carregador USB-C no modo Otimizado</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Other" xml:space="preserve">
|
<data name="Other" xml:space="preserve">
|
||||||
<value>Outro</value>
|
<value>Outro</value>
|
||||||
@@ -364,7 +379,7 @@
|
|||||||
<value>Overdrive</value>
|
<value>Overdrive</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="PerformanceMode" xml:space="preserve">
|
<data name="PerformanceMode" xml:space="preserve">
|
||||||
<value>Modo Desempenho</value>
|
<value>Modo</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="PictureGif" xml:space="preserve">
|
<data name="PictureGif" xml:space="preserve">
|
||||||
<value>Imagem / Gif</value>
|
<value>Imagem / Gif</value>
|
||||||
@@ -376,7 +391,7 @@
|
|||||||
<value>Limitações de Energia</value>
|
<value>Limitações de Energia</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="PPTExperimental" xml:space="preserve">
|
<data name="PPTExperimental" xml:space="preserve">
|
||||||
<value>Limitações de Energia é uma funcionalidade experimental. Usar isso com cuidado </value>
|
<value>Limitações de Energia é uma funcionalidade experimental. Use com cuidado.</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="PrintScreen" xml:space="preserve">
|
<data name="PrintScreen" xml:space="preserve">
|
||||||
<value>Captura de tela</value>
|
<value>Captura de tela</value>
|
||||||
@@ -418,7 +433,19 @@
|
|||||||
<value>Padrão</value>
|
<value>Padrão</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="StartupError" xml:space="preserve">
|
<data name="StartupError" xml:space="preserve">
|
||||||
<value>Erro ao iniciar</value>
|
<value>Erro de inicialização</value>
|
||||||
|
</data>
|
||||||
|
<data name="Start" xml:space="preserve">
|
||||||
|
<value>Iniciar</value>
|
||||||
|
</data>
|
||||||
|
<data name="StartingServices" xml:space="preserve">
|
||||||
|
<value>Iniciando os serviços</value>
|
||||||
|
</data>
|
||||||
|
<data name="Stop" xml:space="preserve">
|
||||||
|
<value>Parar</value>
|
||||||
|
</data>
|
||||||
|
<data name="StoppingServices" xml:space="preserve">
|
||||||
|
<value>Parando os serviços</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="ToggleAura" xml:space="preserve">
|
<data name="ToggleAura" xml:space="preserve">
|
||||||
<value>Alternar Aura</value>
|
<value>Alternar Aura</value>
|
||||||
@@ -444,13 +471,22 @@
|
|||||||
<data name="UltimateMode" xml:space="preserve">
|
<data name="UltimateMode" xml:space="preserve">
|
||||||
<value>Ultimate</value>
|
<value>Ultimate</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Updates" xml:space="preserve">
|
||||||
|
<value>Atualizações</value>
|
||||||
|
</data>
|
||||||
<data name="VersionLabel" xml:space="preserve">
|
<data name="VersionLabel" xml:space="preserve">
|
||||||
<value>Versão</value>
|
<value>Versão</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="VolumeMute" xml:space="preserve">
|
<data name="VolumeDown" xml:space="preserve">
|
||||||
|
<value>Abaixar o volume</value>
|
||||||
|
</data>
|
||||||
|
<data name="VolumeUp" xml:space="preserve">
|
||||||
|
<value>Aumentar o volume</value>
|
||||||
|
</data>
|
||||||
|
<data name="VolumeMute" xml:space="preserve">
|
||||||
<value>Mudo</value>
|
<value>Mudo</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="WindowTop" xml:space="preserve">
|
<data name="WindowTop" xml:space="preserve">
|
||||||
<value>Manter o app em primeiro plano</value>
|
<value>Manter a janela do aplicativo sempre no topo</value>
|
||||||
</data>
|
</data>
|
||||||
</root>
|
</root>
|
||||||
@@ -189,6 +189,16 @@ namespace GHelper
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void SettingsForm_VisibleChanged(object? sender, EventArgs e)
|
||||||
|
{
|
||||||
|
aTimer.Enabled = this.Visible;
|
||||||
|
if (this.Visible)
|
||||||
|
{
|
||||||
|
InitScreen();
|
||||||
|
InitXGM();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void ButtonUpdates_Click(object? sender, EventArgs e)
|
private void ButtonUpdates_Click(object? sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (updates == null || updates.Text == "")
|
if (updates == null || updates.Text == "")
|
||||||
@@ -876,6 +886,8 @@ namespace GHelper
|
|||||||
|
|
||||||
bool screenEnabled = (frequency >= 0);
|
bool screenEnabled = (frequency >= 0);
|
||||||
|
|
||||||
|
Debug.WriteLine(frequency.ToString());
|
||||||
|
|
||||||
ButtonEnabled(button60Hz, screenEnabled);
|
ButtonEnabled(button60Hz, screenEnabled);
|
||||||
ButtonEnabled(button120Hz, screenEnabled);
|
ButtonEnabled(button120Hz, screenEnabled);
|
||||||
ButtonEnabled(buttonScreenAuto, screenEnabled);
|
ButtonEnabled(buttonScreenAuto, screenEnabled);
|
||||||
@@ -1012,27 +1024,6 @@ namespace GHelper
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private void SettingsForm_VisibleChanged(object? sender, EventArgs e)
|
|
||||||
{
|
|
||||||
if (this.Visible)
|
|
||||||
{
|
|
||||||
InitScreen();
|
|
||||||
InitXGM();
|
|
||||||
|
|
||||||
this.Left = Screen.FromControl(this).WorkingArea.Width - 10 - this.Width;
|
|
||||||
this.Top = Screen.FromControl(this).WorkingArea.Height - 10 - this.Height;
|
|
||||||
this.Activate();
|
|
||||||
|
|
||||||
aTimer.Enabled = true;
|
|
||||||
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
aTimer.Enabled = false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
private void SetPerformanceLabel()
|
private void SetPerformanceLabel()
|
||||||
{
|
{
|
||||||
labelPerf.Text = Properties.Strings.PerformanceMode + ": " + Modes.GetCurrentName() + (customFans ? "+" : "") + ((customPower > 0) ? " " + customPower + "W" : "");
|
labelPerf.Text = Properties.Strings.PerformanceMode + ": " + Modes.GetCurrentName() + (customFans ? "+" : "") + ((customPower > 0) ? " " + customPower + "W" : "");
|
||||||
@@ -1497,8 +1488,10 @@ namespace GHelper
|
|||||||
|
|
||||||
public void InitXGM()
|
public void InitXGM()
|
||||||
{
|
{
|
||||||
|
bool connected = Program.acpi.IsXGConnected();
|
||||||
|
buttonXGM.Enabled = buttonXGM.Visible = connected;
|
||||||
|
|
||||||
buttonXGM.Enabled = buttonXGM.Visible = Program.acpi.IsXGConnected();
|
if (!connected) return;
|
||||||
|
|
||||||
int activated = Program.acpi.DeviceGet(AsusACPI.GPUXG);
|
int activated = Program.acpi.DeviceGet(AsusACPI.GPUXG);
|
||||||
if (activated < 0) return;
|
if (activated < 0) return;
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
using System.Diagnostics;
|
using OSD;
|
||||||
using System.Drawing;
|
using System.Diagnostics;
|
||||||
using System.Drawing.Drawing2D;
|
using System.Drawing.Drawing2D;
|
||||||
using OSD;
|
|
||||||
|
|
||||||
|
|
||||||
namespace GHelper
|
namespace GHelper
|
||||||
@@ -57,7 +56,7 @@ namespace GHelper
|
|||||||
Charger
|
Charger
|
||||||
}
|
}
|
||||||
|
|
||||||
public class ToastForm : OSDNativeForm
|
public class ToastForm : OSDNativeForm
|
||||||
{
|
{
|
||||||
|
|
||||||
protected static string toastText = "Balanced";
|
protected static string toastText = "Balanced";
|
||||||
@@ -74,7 +73,7 @@ namespace GHelper
|
|||||||
|
|
||||||
protected override void PerformPaint(PaintEventArgs e)
|
protected override void PerformPaint(PaintEventArgs e)
|
||||||
{
|
{
|
||||||
Brush brush = new SolidBrush(Color.FromArgb(150,Color.Black));
|
Brush brush = new SolidBrush(Color.FromArgb(150, Color.Black));
|
||||||
Drawing.FillRoundedRectangle(e.Graphics, brush, this.Bound, 10);
|
Drawing.FillRoundedRectangle(e.Graphics, brush, this.Bound, 10);
|
||||||
|
|
||||||
StringFormat format = new StringFormat();
|
StringFormat format = new StringFormat();
|
||||||
@@ -144,9 +143,9 @@ namespace GHelper
|
|||||||
|
|
||||||
Screen screen1 = Screen.FromHandle(base.Handle);
|
Screen screen1 = Screen.FromHandle(base.Handle);
|
||||||
|
|
||||||
Width = Math.Max(300, 100 + toastText.Length*22);
|
Width = Math.Max(300, 100 + toastText.Length * 22);
|
||||||
Height = 100;
|
Height = 100;
|
||||||
X = (screen1.Bounds.Width - this.Width)/2;
|
X = (screen1.Bounds.Width - this.Width) / 2;
|
||||||
Y = screen1.Bounds.Height - 300 - this.Height;
|
Y = screen1.Bounds.Height - 300 - this.Height;
|
||||||
|
|
||||||
Show();
|
Show();
|
||||||
|
|||||||
@@ -145,7 +145,7 @@ namespace GHelper
|
|||||||
driver.hardwares = file.GetProperty("HardwareInfoList");
|
driver.hardwares = file.GetProperty("HardwareInfoList");
|
||||||
drivers.Add(driver);
|
drivers.Add(driver);
|
||||||
|
|
||||||
BeginInvoke(delegate
|
Invoke(delegate
|
||||||
{
|
{
|
||||||
string versionText = driver.version.Replace("latest version at the ", "");
|
string versionText = driver.version.Replace("latest version at the ", "");
|
||||||
Label versionLabel = new Label { Text = versionText, Anchor = AnchorStyles.Left, AutoSize = true };
|
Label versionLabel = new Label { Text = versionText, Anchor = AnchorStyles.Left, AutoSize = true };
|
||||||
@@ -170,7 +170,7 @@ namespace GHelper
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
BeginInvoke(delegate
|
Invoke(delegate
|
||||||
{
|
{
|
||||||
table.Visible = true;
|
table.Visible = true;
|
||||||
ResumeLayout(false);
|
ResumeLayout(false);
|
||||||
@@ -206,7 +206,7 @@ namespace GHelper
|
|||||||
var label = table.GetControlFromPosition(2, count) as Label;
|
var label = table.GetControlFromPosition(2, count) as Label;
|
||||||
if (label != null)
|
if (label != null)
|
||||||
{
|
{
|
||||||
BeginInvoke(delegate
|
Invoke(delegate
|
||||||
{
|
{
|
||||||
label.Font = new Font(label.Font, FontStyle.Underline | FontStyle.Bold);
|
label.Font = new Font(label.Font, FontStyle.Underline | FontStyle.Bold);
|
||||||
label.ForeColor = colorTurbo;
|
label.ForeColor = colorTurbo;
|
||||||
|
|||||||
@@ -177,17 +177,18 @@ By default app will use your windows language setting. But you can set language
|
|||||||
|
|
||||||
Add following line to ``%AppData%\GHelper\config.json`` : ``"language" : "en"`` (by replacing "en" with language of your choice)
|
Add following line to ``%AppData%\GHelper\config.json`` : ``"language" : "en"`` (by replacing "en" with language of your choice)
|
||||||
|
|
||||||
### Custom power plans with each mode
|
### Custom windows power plans with each mode
|
||||||
|
|
||||||
In ``%AppData%\GHelper\config.json`` you can manually add custom power plan GUID (it can be either "real" power plan that can be switched or "overlay" power plan like the ones g-helper sets by default)
|
In ``%AppData%\GHelper\config.json`` you can manually add custom power plan (or power mode) GUID. It can be either "real" power plan that can be switched or "overlay" power plan like the ones g-helper sets by default.
|
||||||
|
|
||||||
Format is following : ``"scheme_<mode>" : "GUID" ``
|
Format is following : ``"scheme_<mode>" : "GUID" ``
|
||||||
|
|
||||||
Where ``mode = 0 (balanced), 1 (turbo), 2 (silent)``
|
Where ``mode = 0 (balanced), 1 (turbo), 2 (silent)``
|
||||||
|
|
||||||
|
Default behaviour is :
|
||||||
```
|
```
|
||||||
"scheme_0": "2ac1d0e0-17a7-44ed-8091-d88ef75a4eb0",
|
"scheme_0": "00000000-0000-0000-0000-000000000000",
|
||||||
"scheme_1": "381b4222-f694-41f0-9685-ff5bb260df2e"
|
"scheme_1": "ded574b5-45a0-4f42-8737-46345c09c238",
|
||||||
|
"scheme_2": "961cc777-2547-4f9d-8174-7d86181b8a7a",
|
||||||
```
|
```
|
||||||
|
|
||||||
Make sure to keep json structure (i.e. not to break it with extra or missing comas, etc) - or app will fail to read it and will just recreate a new config instead.
|
Make sure to keep json structure (i.e. not to break it with extra or missing comas, etc) - or app will fail to read it and will just recreate a new config instead.
|
||||||
@@ -216,6 +217,9 @@ To enable this custom workaround you need to add an extra line in config.json (u
|
|||||||
|
|
||||||
By default app will toggle performance modes with Ctr+Shift+F5. You can change this binding by adding ``"keybind_profile": 116`` in config.json (under ``%AppData%\GHelper``), where 116 is [numerical code for desired key](https://www.oreilly.com/library/view/javascript-dhtml/9780596514082/apb.html). Put 0 to completely disable this binding.
|
By default app will toggle performance modes with Ctr+Shift+F5. You can change this binding by adding ``"keybind_profile": 116`` in config.json (under ``%AppData%\GHelper``), where 116 is [numerical code for desired key](https://www.oreilly.com/library/view/javascript-dhtml/9780596514082/apb.html). Put 0 to completely disable this binding.
|
||||||
|
|
||||||
|
### Keybinding to open G-helper from external keyboards
|
||||||
|
Ctrl + Shift + F12
|
||||||
|
|
||||||
------------
|
------------
|
||||||
|
|
||||||
**Disclaimers**
|
**Disclaimers**
|
||||||
|
|||||||
Reference in New Issue
Block a user