Compare commits

...

1 Commits

Author SHA1 Message Date
seerge
dde554eebf Cleanup 2023-03-18 18:39:51 +01:00
6 changed files with 30 additions and 13 deletions

View File

@@ -1,9 +1,4 @@
using System;
using System.Diagnostics;
using System.Diagnostics.Metrics;
using System.Drawing.Imaging;
using System.Drawing.Text;
using System.IO;
using System.Diagnostics;
using System.Windows.Forms.DataVisualization.Charting;
namespace GHelper

View File

@@ -17,6 +17,23 @@
<ProduceReferenceAssembly>False</ProduceReferenceAssembly>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<AssemblyVersion>0.31</AssemblyVersion>
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebugType>none</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DebugType>none</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<DebugType>none</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<DebugType>none</DebugType>
</PropertyGroup>
<ItemGroup>
@@ -108,4 +125,8 @@
</None>
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="call post-build.bat $(TargetPath)&#xD;&#xA;" />
</Target>
</Project>

View File

@@ -1,6 +1,4 @@
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Drawing2D;
namespace CustomControls
{
@@ -68,7 +66,7 @@ namespace CustomControls
Color borderDrawColor = activated ? borderColor : Color.Transparent;
using (GraphicsPath pathSurface = GetFigurePath(rectSurface, borderRadius+ border))
using (GraphicsPath pathSurface = GetFigurePath(rectSurface, borderRadius + border))
using (GraphicsPath pathBorder = GetFigurePath(rectBorder, borderRadius))
using (Pen penSurface = new Pen(this.Parent.BackColor, border))
using (Pen penBorder = new Pen(borderDrawColor, border))

View File

@@ -907,7 +907,7 @@ namespace GHelper
AutoScaleMode = AutoScaleMode.Dpi;
AutoSize = true;
AutoSizeMode = AutoSizeMode.GrowAndShrink;
ClientSize = new Size(830, 1173);
ClientSize = new Size(800, 1173);
Controls.Add(panelFooter);
Controls.Add(panelBattery);
Controls.Add(panelMatrix);
@@ -919,7 +919,7 @@ namespace GHelper
MaximizeBox = false;
MdiChildrenMinimizedAnchorBottom = false;
MinimizeBox = false;
MinimumSize = new Size(830, 71);
MinimumSize = new Size(800, 71);
Name = "SettingsForm";
Padding = new Padding(10);
ShowIcon = false;

View File

@@ -1000,11 +1000,11 @@ namespace GHelper
tablePerf.ColumnCount = 0;
tableGPU.ColumnCount = 0;
tableScreen.ColumnCount = 0;
}
tableLayoutKeyboard.ColumnCount = 0;
tableScreen.ColumnCount = 0;
tableLayoutMatrix.ColumnCount = 0;

3
app/post-build.bat Normal file
View File

@@ -0,0 +1,3 @@
cd bin\Release\net7.0-windows8.0\publish\
del GHelper.zip
rem "C:\Program Files\7-Zip\7z.exe" a GHelper.zip GHelper.exe