From c333269ad0af1dbbef2a065d455ae550a13559fb Mon Sep 17 00:00:00 2001 From: bahstrike Date: Mon, 20 Sep 2021 02:30:28 -0400 Subject: [PATCH] Revert "*finished renaming class "Matt" -> "MattMain"" This reverts commit 4f55de3f4feddf6ba7612ee333976403b64436d6. Revert "*renaming files so we dont have Matt.Matt namespace shenanigans now its Matt.MattMain" This reverts commit eb47e0f433647b9b3d62f836ed1d0fd4b8234564. --- MattMain.Designer.cs => Matt.Designer.cs | 2 +- MattMain.cs => Matt.cs | 4 ++-- Matt.csproj | 10 +++++----- MattMain.resx => Matt.resx | 0 PictureBoxMaterial.cs | 2 +- Program.cs | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) rename MattMain.Designer.cs => Matt.Designer.cs (99%) rename MattMain.cs => Matt.cs (99%) rename MattMain.resx => Matt.resx (100%) diff --git a/MattMain.Designer.cs b/Matt.Designer.cs similarity index 99% rename from MattMain.Designer.cs rename to Matt.Designer.cs index c452ddf..2d482f5 100644 --- a/MattMain.Designer.cs +++ b/Matt.Designer.cs @@ -1,6 +1,6 @@ namespace Matt { - partial class MattMain + partial class Matt { /// /// Required designer variable. diff --git a/MattMain.cs b/Matt.cs similarity index 99% rename from MattMain.cs rename to Matt.cs index 2313b74..548b247 100644 --- a/MattMain.cs +++ b/Matt.cs @@ -15,7 +15,7 @@ namespace Matt { - public partial class MattMain : Form + public partial class Matt : Form { public enum Format { @@ -90,7 +90,7 @@ private string INIFile } } - public MattMain() + public Matt() { InitializeComponent(); diff --git a/Matt.csproj b/Matt.csproj index afd4b43..e69511b 100644 --- a/Matt.csproj +++ b/Matt.csproj @@ -52,19 +52,19 @@ - + Form - - MattMain.cs + + Matt.cs Component - - MattMain.cs + + Matt.cs ResXFileCodeGenerator diff --git a/MattMain.resx b/Matt.resx similarity index 100% rename from MattMain.resx rename to Matt.resx diff --git a/PictureBoxMaterial.cs b/PictureBoxMaterial.cs index baa8958..3230b13 100644 --- a/PictureBoxMaterial.cs +++ b/PictureBoxMaterial.cs @@ -13,7 +13,7 @@ public class PictureBoxMaterial : PictureBox { protected override void OnPaint(PaintEventArgs paintEventArgs) { - MattMain.FillRectEmpty(paintEventArgs.Graphics, ClientRectangle); + Matt.FillRectEmpty(paintEventArgs.Graphics, ClientRectangle); if (Image == null) return; diff --git a/Program.cs b/Program.cs index 62fefbe..868b9a3 100644 --- a/Program.cs +++ b/Program.cs @@ -16,7 +16,7 @@ static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new MattMain()); + Application.Run(new Matt()); } } }