UI Tweaks

This commit is contained in:
seerge
2023-03-13 23:07:28 +01:00
parent 67b541b145
commit e725760b24
4 changed files with 21 additions and 15 deletions

12
Fans.Designer.cs generated
View File

@@ -92,7 +92,7 @@
// labelBoost
//
labelBoost.AutoSize = true;
labelBoost.Location = new Point(396, 18);
labelBoost.Location = new Point(397, 19);
labelBoost.Name = "labelBoost";
labelBoost.Size = new Size(125, 32);
labelBoost.TabIndex = 39;
@@ -128,7 +128,7 @@
tableFanCharts.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
tableFanCharts.Controls.Add(chartGPU, 0, 1);
tableFanCharts.Controls.Add(chartCPU, 0, 0);
tableFanCharts.Location = new Point(28, 68);
tableFanCharts.Location = new Point(28, 64);
tableFanCharts.Margin = new Padding(6);
tableFanCharts.Name = "tableFanCharts";
tableFanCharts.RowCount = 2;
@@ -136,7 +136,7 @@
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.Size = new Size(764, 988);
tableFanCharts.Size = new Size(764, 992);
tableFanCharts.TabIndex = 36;
//
// chartGPU
@@ -144,10 +144,10 @@
chartArea1.Name = "ChartArea1";
chartGPU.ChartAreas.Add(chartArea1);
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.Name = "chartGPU";
chartGPU.Size = new Size(760, 474);
chartGPU.Size = new Size(760, 476);
chartGPU.TabIndex = 17;
chartGPU.Text = "chart1";
//
@@ -159,7 +159,7 @@
chartCPU.Location = new Point(2, 10);
chartCPU.Margin = new Padding(2, 10, 2, 10);
chartCPU.Name = "chartCPU";
chartCPU.Size = new Size(760, 474);
chartCPU.Size = new Size(760, 476);
chartCPU.TabIndex = 14;
chartCPU.Text = "chartCPU";
//

View File

@@ -1,7 +1,7 @@
using System.Diagnostics;
using GHelper.Gpu;
public class HardwareMonitor
public static class HardwareMonitor
{
private static IGpuTemperatureProvider? GpuTemperatureProvider;

20
Settings.Designer.cs generated
View File

@@ -112,7 +112,7 @@
panelMatrix.Controls.Add(pictureMatrix);
panelMatrix.Controls.Add(labelMatrix);
panelMatrix.Dock = DockStyle.Top;
panelMatrix.Location = new Point(16, 814);
panelMatrix.Location = new Point(16, 806);
panelMatrix.Margin = new Padding(4);
panelMatrix.Name = "panelMatrix";
panelMatrix.Size = new Size(722, 180);
@@ -219,7 +219,7 @@
panelBattery.Controls.Add(labelBatteryTitle);
panelBattery.Controls.Add(trackBattery);
panelBattery.Dock = DockStyle.Top;
panelBattery.Location = new Point(16, 994);
panelBattery.Location = new Point(16, 986);
panelBattery.Margin = new Padding(4);
panelBattery.Name = "panelBattery";
panelBattery.Size = new Size(722, 148);
@@ -290,7 +290,7 @@
panelFooter.Controls.Add(buttonQuit);
panelFooter.Controls.Add(checkStartup);
panelFooter.Dock = DockStyle.Top;
panelFooter.Location = new Point(16, 1142);
panelFooter.Location = new Point(16, 1134);
panelFooter.Margin = new Padding(4);
panelFooter.Name = "panelFooter";
panelFooter.Size = new Size(722, 64);
@@ -330,7 +330,7 @@
panelPerformance.Location = new Point(16, 16);
panelPerformance.Margin = new Padding(0);
panelPerformance.Name = "panelPerformance";
panelPerformance.Size = new Size(722, 228);
panelPerformance.Size = new Size(722, 220);
panelPerformance.TabIndex = 36;
//
// buttonFans
@@ -383,6 +383,8 @@
// tablePerf
//
tablePerf.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
tablePerf.AutoScroll = true;
tablePerf.AutoSizeMode = AutoSizeMode.GrowAndShrink;
tablePerf.ColumnCount = 3;
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(tableGPU);
panelGPU.Dock = DockStyle.Top;
panelGPU.Location = new Point(16, 244);
panelGPU.Location = new Point(16, 236);
panelGPU.Margin = new Padding(4);
panelGPU.Name = "panelGPU";
panelGPU.Size = new Size(722, 216);
@@ -506,6 +508,8 @@
// tableGPU
//
tableGPU.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
tableGPU.AutoSize = true;
tableGPU.AutoSizeMode = AutoSizeMode.GrowAndShrink;
tableGPU.ColumnCount = 3;
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(labelSreen);
panelScreen.Dock = DockStyle.Top;
panelScreen.Location = new Point(16, 460);
panelScreen.Location = new Point(16, 452);
panelScreen.Margin = new Padding(4);
panelScreen.Name = "panelScreen";
panelScreen.Size = new Size(722, 200);
@@ -592,6 +596,8 @@
// tableScreen
//
tableScreen.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
tableScreen.AutoSize = true;
tableScreen.AutoSizeMode = AutoSizeMode.GrowAndShrink;
tableScreen.ColumnCount = 3;
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(label1);
panelKeyboard.Dock = DockStyle.Top;
panelKeyboard.Location = new Point(16, 660);
panelKeyboard.Location = new Point(16, 652);
panelKeyboard.Margin = new Padding(4);
panelKeyboard.Name = "panelKeyboard";
panelKeyboard.Size = new Size(722, 154);

View File

@@ -55,7 +55,7 @@
<windowsSettings>
<!--<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitor/dpiAwareness>-->
<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>
</application>