From 12b32801dc851f05eda1baf00a247620e9bc99d9 Mon Sep 17 00:00:00 2001 From: miku-666 <74728189+NessieHax@users.noreply.github.com> Date: Sun, 12 Jun 2022 19:47:48 +0200 Subject: [PATCH] Remove addmetadvanced due to duplication --- .../addMetaAdvanced.Designer.cs | 96 -------- .../Skins-And-Textures/addMetaAdvanced.cs | 40 --- .../Skins-And-Textures/addMetaAdvanced.resx | 227 +++++++++--------- 3 files changed, 112 insertions(+), 251 deletions(-) delete mode 100644 MinecraftUSkinEditor/Forms/Skins-And-Textures/addMetaAdvanced.Designer.cs delete mode 100644 MinecraftUSkinEditor/Forms/Skins-And-Textures/addMetaAdvanced.cs diff --git a/MinecraftUSkinEditor/Forms/Skins-And-Textures/addMetaAdvanced.Designer.cs b/MinecraftUSkinEditor/Forms/Skins-And-Textures/addMetaAdvanced.Designer.cs deleted file mode 100644 index ff468a21..00000000 --- a/MinecraftUSkinEditor/Forms/Skins-And-Textures/addMetaAdvanced.Designer.cs +++ /dev/null @@ -1,96 +0,0 @@ -namespace PckStudio -{ - partial class addMetaAdvanced - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(addMetaAdvanced)); - this.button1 = new System.Windows.Forms.Button(); - this.label2 = new System.Windows.Forms.Label(); - this.label1 = new System.Windows.Forms.Label(); - this.textBox2 = new System.Windows.Forms.TextBox(); - this.textBox1 = new System.Windows.Forms.TextBox(); - this.SuspendLayout(); - // - // button1 - // - resources.ApplyResources(this.button1, "button1"); - this.button1.Name = "button1"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); - // - // label2 - // - resources.ApplyResources(this.label2, "label2"); - this.label2.Name = "label2"; - // - // label1 - // - resources.ApplyResources(this.label1, "label1"); - this.label1.Name = "label1"; - // - // textBox2 - // - resources.ApplyResources(this.textBox2, "textBox2"); - this.textBox2.Name = "textBox2"; - // - // textBox1 - // - resources.ApplyResources(this.textBox1, "textBox1"); - this.textBox1.Name = "textBox1"; - // - // addMetaAdvanced - // - resources.ApplyResources(this, "$this"); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.button1); - this.Controls.Add(this.label2); - this.Controls.Add(this.label1); - this.Controls.Add(this.textBox2); - this.Controls.Add(this.textBox1); - this.ForeColor = System.Drawing.Color.White; - this.MaximizeBox = false; - this.Name = "addMetaAdvanced"; - this.Resizable = false; - this.ShadowType = MetroFramework.Forms.MetroFormShadowType.DropShadow; - this.Style = MetroFramework.MetroColorStyle.Silver; - this.Theme = MetroFramework.MetroThemeStyle.Dark; - this.Load += new System.EventHandler(this.addMetaAdvanced_Load); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private System.Windows.Forms.Button button1; - private System.Windows.Forms.Label label2; - private System.Windows.Forms.Label label1; - private System.Windows.Forms.TextBox textBox2; - private System.Windows.Forms.TextBox textBox1; - } -} \ No newline at end of file diff --git a/MinecraftUSkinEditor/Forms/Skins-And-Textures/addMetaAdvanced.cs b/MinecraftUSkinEditor/Forms/Skins-And-Textures/addMetaAdvanced.cs deleted file mode 100644 index 4060fae9..00000000 --- a/MinecraftUSkinEditor/Forms/Skins-And-Textures/addMetaAdvanced.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Forms; - -namespace PckStudio -{ - public partial class addMetaAdvanced : MetroFramework.Forms.MetroForm - { - TreeView treeMeta; - - public addMetaAdvanced(TreeView treeMetaIn) - { - InitializeComponent(); - - treeMeta = treeMetaIn; - - } - - private void button1_Click(object sender, EventArgs e) - { - TreeNode add = new TreeNode(); - add.Text = textBox1.Text; - add.Tag = textBox2.Text; - - treeMeta.Nodes.Add(add); - Close(); - } - - private void addMetaAdvanced_Load(object sender, EventArgs e) - { - - } - } -} diff --git a/MinecraftUSkinEditor/Forms/Skins-And-Textures/addMetaAdvanced.resx b/MinecraftUSkinEditor/Forms/Skins-And-Textures/addMetaAdvanced.resx index 27b94c4c..805d96d2 100644 --- a/MinecraftUSkinEditor/Forms/Skins-And-Textures/addMetaAdvanced.resx +++ b/MinecraftUSkinEditor/Forms/Skins-And-Textures/addMetaAdvanced.resx @@ -117,20 +117,108 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 7 + + 3 - - Value + + textBox2 + + + + 31, 13 + + + 262, 119 + + + 1 + + + + True + + + 10, 37 + + + 193, 20 + + + 0 System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + + + Flat + + + label2 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 6 + + + addMetaAdvanced + + + 7 + + + 193, 20 + + + 58, 34 + + + $this + + + Entry + + + label1 + + + 75, 23 + + + MetroFramework.Forms.MetroForm, MetroFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=5f91a84759bf584a + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 10, 64 + 6, 13 + + 5 + + + $this + + + $this + + + 2 + + + 34, 13 + + + $this + + + 9 + AAABAAYAEBAAAAEAIABoBAAAZgAAACAgAAABACAAqBAAAM4EAAAwMAAAAQAgAKglAAB2FQAAQEAAAAEA @@ -1856,96 +1944,35 @@ AABJRU5ErkJggg== - - 34, 13 + + CenterParent - - 10, 64 + + Value - - 193, 20 + + button1 - - $this + + 4 - - Entry + + Create - - addMetaAdvanced - - - $this + + textBox1 $this - - 10, 37 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 193, 20 - - - - Flat - - - 262, 119 - - - 2 - - - CenterParent - - - 75, 23 - - - label1 - - - label2 - - - 5 - - - MetroFramework.Forms.MetroForm, MetroFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=5f91a84759bf584a + + 58, 61 System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - $this - - - textBox2 - - - 58, 34 - - - True - - - 0 - - - 31, 13 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 3 - - - $this + + 93, 87 8 @@ -1953,40 +1980,10 @@ True - - 58, 61 - - - 4 - - - 9 - - - button1 - - - textBox1 - - - Create - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 93, 87 - - - 1 - - - 6 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 True - - ja - \ No newline at end of file