mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
UI Tweaks
This commit is contained in:
12
Fans.Designer.cs
generated
12
Fans.Designer.cs
generated
@@ -92,7 +92,7 @@
|
|||||||
// labelBoost
|
// labelBoost
|
||||||
//
|
//
|
||||||
labelBoost.AutoSize = true;
|
labelBoost.AutoSize = true;
|
||||||
labelBoost.Location = new Point(396, 18);
|
labelBoost.Location = new Point(397, 19);
|
||||||
labelBoost.Name = "labelBoost";
|
labelBoost.Name = "labelBoost";
|
||||||
labelBoost.Size = new Size(125, 32);
|
labelBoost.Size = new Size(125, 32);
|
||||||
labelBoost.TabIndex = 39;
|
labelBoost.TabIndex = 39;
|
||||||
@@ -128,7 +128,7 @@
|
|||||||
tableFanCharts.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
|
tableFanCharts.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
|
||||||
tableFanCharts.Controls.Add(chartGPU, 0, 1);
|
tableFanCharts.Controls.Add(chartGPU, 0, 1);
|
||||||
tableFanCharts.Controls.Add(chartCPU, 0, 0);
|
tableFanCharts.Controls.Add(chartCPU, 0, 0);
|
||||||
tableFanCharts.Location = new Point(28, 68);
|
tableFanCharts.Location = new Point(28, 64);
|
||||||
tableFanCharts.Margin = new Padding(6);
|
tableFanCharts.Margin = new Padding(6);
|
||||||
tableFanCharts.Name = "tableFanCharts";
|
tableFanCharts.Name = "tableFanCharts";
|
||||||
tableFanCharts.RowCount = 2;
|
tableFanCharts.RowCount = 2;
|
||||||
@@ -136,7 +136,7 @@
|
|||||||
tableFanCharts.RowStyles.Add(new RowStyle(SizeType.Percent, 50F));
|
tableFanCharts.RowStyles.Add(new RowStyle(SizeType.Percent, 50F));
|
||||||
tableFanCharts.RowStyles.Add(new RowStyle(SizeType.Absolute, 40F));
|
tableFanCharts.RowStyles.Add(new RowStyle(SizeType.Absolute, 40F));
|
||||||
tableFanCharts.RowStyles.Add(new RowStyle(SizeType.Absolute, 40F));
|
tableFanCharts.RowStyles.Add(new RowStyle(SizeType.Absolute, 40F));
|
||||||
tableFanCharts.Size = new Size(764, 988);
|
tableFanCharts.Size = new Size(764, 992);
|
||||||
tableFanCharts.TabIndex = 36;
|
tableFanCharts.TabIndex = 36;
|
||||||
//
|
//
|
||||||
// chartGPU
|
// chartGPU
|
||||||
@@ -144,10 +144,10 @@
|
|||||||
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(2, 504);
|
chartGPU.Location = new Point(2, 506);
|
||||||
chartGPU.Margin = new Padding(2, 10, 2, 10);
|
chartGPU.Margin = new Padding(2, 10, 2, 10);
|
||||||
chartGPU.Name = "chartGPU";
|
chartGPU.Name = "chartGPU";
|
||||||
chartGPU.Size = new Size(760, 474);
|
chartGPU.Size = new Size(760, 476);
|
||||||
chartGPU.TabIndex = 17;
|
chartGPU.TabIndex = 17;
|
||||||
chartGPU.Text = "chart1";
|
chartGPU.Text = "chart1";
|
||||||
//
|
//
|
||||||
@@ -159,7 +159,7 @@
|
|||||||
chartCPU.Location = new Point(2, 10);
|
chartCPU.Location = new Point(2, 10);
|
||||||
chartCPU.Margin = new Padding(2, 10, 2, 10);
|
chartCPU.Margin = new Padding(2, 10, 2, 10);
|
||||||
chartCPU.Name = "chartCPU";
|
chartCPU.Name = "chartCPU";
|
||||||
chartCPU.Size = new Size(760, 474);
|
chartCPU.Size = new Size(760, 476);
|
||||||
chartCPU.TabIndex = 14;
|
chartCPU.TabIndex = 14;
|
||||||
chartCPU.Text = "chartCPU";
|
chartCPU.Text = "chartCPU";
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using GHelper.Gpu;
|
using GHelper.Gpu;
|
||||||
|
|
||||||
public class HardwareMonitor
|
public static class HardwareMonitor
|
||||||
{
|
{
|
||||||
private static IGpuTemperatureProvider? GpuTemperatureProvider;
|
private static IGpuTemperatureProvider? GpuTemperatureProvider;
|
||||||
|
|
||||||
|
|||||||
20
Settings.Designer.cs
generated
20
Settings.Designer.cs
generated
@@ -112,7 +112,7 @@
|
|||||||
panelMatrix.Controls.Add(pictureMatrix);
|
panelMatrix.Controls.Add(pictureMatrix);
|
||||||
panelMatrix.Controls.Add(labelMatrix);
|
panelMatrix.Controls.Add(labelMatrix);
|
||||||
panelMatrix.Dock = DockStyle.Top;
|
panelMatrix.Dock = DockStyle.Top;
|
||||||
panelMatrix.Location = new Point(16, 814);
|
panelMatrix.Location = new Point(16, 806);
|
||||||
panelMatrix.Margin = new Padding(4);
|
panelMatrix.Margin = new Padding(4);
|
||||||
panelMatrix.Name = "panelMatrix";
|
panelMatrix.Name = "panelMatrix";
|
||||||
panelMatrix.Size = new Size(722, 180);
|
panelMatrix.Size = new Size(722, 180);
|
||||||
@@ -219,7 +219,7 @@
|
|||||||
panelBattery.Controls.Add(labelBatteryTitle);
|
panelBattery.Controls.Add(labelBatteryTitle);
|
||||||
panelBattery.Controls.Add(trackBattery);
|
panelBattery.Controls.Add(trackBattery);
|
||||||
panelBattery.Dock = DockStyle.Top;
|
panelBattery.Dock = DockStyle.Top;
|
||||||
panelBattery.Location = new Point(16, 994);
|
panelBattery.Location = new Point(16, 986);
|
||||||
panelBattery.Margin = new Padding(4);
|
panelBattery.Margin = new Padding(4);
|
||||||
panelBattery.Name = "panelBattery";
|
panelBattery.Name = "panelBattery";
|
||||||
panelBattery.Size = new Size(722, 148);
|
panelBattery.Size = new Size(722, 148);
|
||||||
@@ -290,7 +290,7 @@
|
|||||||
panelFooter.Controls.Add(buttonQuit);
|
panelFooter.Controls.Add(buttonQuit);
|
||||||
panelFooter.Controls.Add(checkStartup);
|
panelFooter.Controls.Add(checkStartup);
|
||||||
panelFooter.Dock = DockStyle.Top;
|
panelFooter.Dock = DockStyle.Top;
|
||||||
panelFooter.Location = new Point(16, 1142);
|
panelFooter.Location = new Point(16, 1134);
|
||||||
panelFooter.Margin = new Padding(4);
|
panelFooter.Margin = new Padding(4);
|
||||||
panelFooter.Name = "panelFooter";
|
panelFooter.Name = "panelFooter";
|
||||||
panelFooter.Size = new Size(722, 64);
|
panelFooter.Size = new Size(722, 64);
|
||||||
@@ -330,7 +330,7 @@
|
|||||||
panelPerformance.Location = new Point(16, 16);
|
panelPerformance.Location = new Point(16, 16);
|
||||||
panelPerformance.Margin = new Padding(0);
|
panelPerformance.Margin = new Padding(0);
|
||||||
panelPerformance.Name = "panelPerformance";
|
panelPerformance.Name = "panelPerformance";
|
||||||
panelPerformance.Size = new Size(722, 228);
|
panelPerformance.Size = new Size(722, 220);
|
||||||
panelPerformance.TabIndex = 36;
|
panelPerformance.TabIndex = 36;
|
||||||
//
|
//
|
||||||
// buttonFans
|
// buttonFans
|
||||||
@@ -383,6 +383,8 @@
|
|||||||
// tablePerf
|
// tablePerf
|
||||||
//
|
//
|
||||||
tablePerf.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
tablePerf.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
|
tablePerf.AutoScroll = true;
|
||||||
|
tablePerf.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
||||||
tablePerf.ColumnCount = 3;
|
tablePerf.ColumnCount = 3;
|
||||||
tablePerf.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33.33333F));
|
tablePerf.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33.33333F));
|
||||||
tablePerf.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33.33333F));
|
tablePerf.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33.33333F));
|
||||||
@@ -452,7 +454,7 @@
|
|||||||
panelGPU.Controls.Add(labelGPUFan);
|
panelGPU.Controls.Add(labelGPUFan);
|
||||||
panelGPU.Controls.Add(tableGPU);
|
panelGPU.Controls.Add(tableGPU);
|
||||||
panelGPU.Dock = DockStyle.Top;
|
panelGPU.Dock = DockStyle.Top;
|
||||||
panelGPU.Location = new Point(16, 244);
|
panelGPU.Location = new Point(16, 236);
|
||||||
panelGPU.Margin = new Padding(4);
|
panelGPU.Margin = new Padding(4);
|
||||||
panelGPU.Name = "panelGPU";
|
panelGPU.Name = "panelGPU";
|
||||||
panelGPU.Size = new Size(722, 216);
|
panelGPU.Size = new Size(722, 216);
|
||||||
@@ -506,6 +508,8 @@
|
|||||||
// tableGPU
|
// tableGPU
|
||||||
//
|
//
|
||||||
tableGPU.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
tableGPU.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
|
tableGPU.AutoSize = true;
|
||||||
|
tableGPU.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
||||||
tableGPU.ColumnCount = 3;
|
tableGPU.ColumnCount = 3;
|
||||||
tableGPU.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33.33333F));
|
tableGPU.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33.33333F));
|
||||||
tableGPU.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33.33333F));
|
tableGPU.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33.33333F));
|
||||||
@@ -571,7 +575,7 @@
|
|||||||
panelScreen.Controls.Add(pictureScreen);
|
panelScreen.Controls.Add(pictureScreen);
|
||||||
panelScreen.Controls.Add(labelSreen);
|
panelScreen.Controls.Add(labelSreen);
|
||||||
panelScreen.Dock = DockStyle.Top;
|
panelScreen.Dock = DockStyle.Top;
|
||||||
panelScreen.Location = new Point(16, 460);
|
panelScreen.Location = new Point(16, 452);
|
||||||
panelScreen.Margin = new Padding(4);
|
panelScreen.Margin = new Padding(4);
|
||||||
panelScreen.Name = "panelScreen";
|
panelScreen.Name = "panelScreen";
|
||||||
panelScreen.Size = new Size(722, 200);
|
panelScreen.Size = new Size(722, 200);
|
||||||
@@ -592,6 +596,8 @@
|
|||||||
// tableScreen
|
// tableScreen
|
||||||
//
|
//
|
||||||
tableScreen.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
tableScreen.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
|
tableScreen.AutoSize = true;
|
||||||
|
tableScreen.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
||||||
tableScreen.ColumnCount = 3;
|
tableScreen.ColumnCount = 3;
|
||||||
tableScreen.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33.33333F));
|
tableScreen.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33.33333F));
|
||||||
tableScreen.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33.33333F));
|
tableScreen.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33.33333F));
|
||||||
@@ -666,7 +672,7 @@
|
|||||||
panelKeyboard.Controls.Add(pictureKeyboard);
|
panelKeyboard.Controls.Add(pictureKeyboard);
|
||||||
panelKeyboard.Controls.Add(label1);
|
panelKeyboard.Controls.Add(label1);
|
||||||
panelKeyboard.Dock = DockStyle.Top;
|
panelKeyboard.Dock = DockStyle.Top;
|
||||||
panelKeyboard.Location = new Point(16, 660);
|
panelKeyboard.Location = new Point(16, 652);
|
||||||
panelKeyboard.Margin = new Padding(4);
|
panelKeyboard.Margin = new Padding(4);
|
||||||
panelKeyboard.Name = "panelKeyboard";
|
panelKeyboard.Name = "panelKeyboard";
|
||||||
panelKeyboard.Size = new Size(722, 154);
|
panelKeyboard.Size = new Size(722, 154);
|
||||||
|
|||||||
@@ -55,7 +55,7 @@
|
|||||||
<windowsSettings>
|
<windowsSettings>
|
||||||
<!--<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitor/dpiAwareness>-->
|
<!--<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitor/dpiAwareness>-->
|
||||||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
|
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
|
||||||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, PerMonitor, System</dpiAwareness>
|
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">System</dpiAwareness>
|
||||||
</windowsSettings>
|
</windowsSettings>
|
||||||
</application>
|
</application>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user