From 5d19d32f9e23c4c9c1f67fad8d44e01f939739e6 Mon Sep 17 00:00:00 2001 From: miku-666 <74728189+NessieHax@users.noreply.github.com> Date: Sat, 11 Jun 2022 00:14:43 +0200 Subject: [PATCH] Update addNewSkin and remove unused ui components in addnewSkin --- .../Skins-And-Textures/addnewskin.Designer.cs | 3 -- .../Forms/Skins-And-Textures/addnewskin.cs | 2 +- .../Forms/Skins-And-Textures/addnewskin.resx | 44 ++++++++++++++++++- 3 files changed, 44 insertions(+), 5 deletions(-) diff --git a/MinecraftUSkinEditor/Forms/Skins-And-Textures/addnewskin.Designer.cs b/MinecraftUSkinEditor/Forms/Skins-And-Textures/addnewskin.Designer.cs index 51f2369b..f2595453 100644 --- a/MinecraftUSkinEditor/Forms/Skins-And-Textures/addnewskin.Designer.cs +++ b/MinecraftUSkinEditor/Forms/Skins-And-Textures/addnewskin.Designer.cs @@ -248,7 +248,6 @@ this.Controls.Add(this.textSkinName); this.Controls.Add(this.label1); this.Controls.Add(this.textSkinID); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.Name = "addnewskin"; this.Resizable = false; @@ -266,8 +265,6 @@ } #endregion - private System.Windows.Forms.RadioButton radioUpsideDown; - private System.Windows.Forms.TextBox textBox1; private System.Windows.Forms.TextBox textTheme; private System.Windows.Forms.ContextMenuStrip contextMenuSkin; private System.Windows.Forms.ToolStripMenuItem replaceToolStripMenuItem; diff --git a/MinecraftUSkinEditor/Forms/Skins-And-Textures/addnewskin.cs b/MinecraftUSkinEditor/Forms/Skins-And-Textures/addnewskin.cs index 04db1a49..062b0c80 100644 --- a/MinecraftUSkinEditor/Forms/Skins-And-Textures/addnewskin.cs +++ b/MinecraftUSkinEditor/Forms/Skins-And-Textures/addnewskin.cs @@ -271,7 +271,7 @@ namespace PckStudio { skin.name = "dlcskin" + textSkinID.Text + ".png"; } - + DialogResult = DialogResult.OK; Close(); } else diff --git a/MinecraftUSkinEditor/Forms/Skins-And-Textures/addnewskin.resx b/MinecraftUSkinEditor/Forms/Skins-And-Textures/addnewskin.resx index 2923f159..bb739273 100644 --- a/MinecraftUSkinEditor/Forms/Skins-And-Textures/addnewskin.resx +++ b/MinecraftUSkinEditor/Forms/Skins-And-Textures/addnewskin.resx @@ -140,7 +140,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - vgAADr4B6kKxwAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMkMEa+wAAAC/SURBVDhPlVHB + vAAADrwBlbxySQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMkMEa+wAAAC/SURBVDhPlVHB DQMhDEOIfwfoOuzFoPxhAd5c6/SMAgq0tRQFmdgXfA5IKUkBMcbHPxyJCxVCkK7rm+EwaK1dQO9dClzO WfpOTM7hy1oMGNvY4pucxNY2p6cAWzFw2oZuMmiJweGeHM634UdLg50YwD05vQ2fYoaoDTEMrJyIfw3R 4qYQWUZgg6OwlDJyMH8LcwF2T8FZ5kYQb4Lde/9Et8S6Dy1z0LUGi7VpWGvl3Lw2V98ZrtwIUYktwwPn @@ -195,6 +195,9 @@ Flat + + NoControl + 388, 262 @@ -222,6 +225,9 @@ Flat + + NoControl + 14, 259 @@ -290,6 +296,9 @@ RK5CYII= + + NoControl + 443, 212 @@ -319,6 +328,9 @@ RK5CYII= + + NoControl + 359, 212 @@ -340,6 +352,9 @@ 10 + + NoControl + 14, 61 @@ -364,6 +379,9 @@ True + + NoControl + 215, 129 @@ -412,6 +430,9 @@ True + + NoControl + 215, 97 @@ -460,6 +481,9 @@ True + + NoControl + 215, 64 @@ -514,6 +538,9 @@ True + + NoControl + 388, 51 @@ -541,6 +568,9 @@ True + + NoControl + 388, 71 @@ -571,6 +601,9 @@ Microsoft Sans Serif, 8.25pt, style=Underline + + NoControl + 261, 186 @@ -601,6 +634,9 @@ False + + NoControl + 388, 28 @@ -631,6 +667,9 @@ None + + NoControl + 387, 152 @@ -655,6 +694,9 @@ None + + NoControl + 217, 152