From 3eaabe840f4091741fe5e732d8ca565575b009b2 Mon Sep 17 00:00:00 2001 From: miku-666 <74728189+NessieHax@users.noreply.github.com> Date: Sun, 2 Apr 2023 17:30:56 +0200 Subject: [PATCH] MipMapPrompt - Removed unused methods --- .../Forms/Additional-Popups/MipMapPrompt.Designer.cs | 2 +- PCK-Studio/Forms/Additional-Popups/MipMapPrompt.cs | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/PCK-Studio/Forms/Additional-Popups/MipMapPrompt.Designer.cs b/PCK-Studio/Forms/Additional-Popups/MipMapPrompt.Designer.cs index a428b920..7fae0a04 100644 --- a/PCK-Studio/Forms/Additional-Popups/MipMapPrompt.Designer.cs +++ b/PCK-Studio/Forms/Additional-Popups/MipMapPrompt.Designer.cs @@ -87,7 +87,7 @@ this.Controls.Add(this.button1); this.Controls.Add(this.CancelBtn); this.Controls.Add(this.TextLabel); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "MipMapPrompt"; diff --git a/PCK-Studio/Forms/Additional-Popups/MipMapPrompt.cs b/PCK-Studio/Forms/Additional-Popups/MipMapPrompt.cs index 666dce75..76f813e4 100644 --- a/PCK-Studio/Forms/Additional-Popups/MipMapPrompt.cs +++ b/PCK-Studio/Forms/Additional-Popups/MipMapPrompt.cs @@ -14,7 +14,6 @@ namespace PckStudio public MipMapPrompt() { InitializeComponent(); - FormBorderStyle = FormBorderStyle.None; } private void OKBtn_Click(object sender, EventArgs e) @@ -22,20 +21,9 @@ namespace PckStudio DialogResult = DialogResult.OK; } - private void InputTextBox_KeyDown(object sender, KeyEventArgs e) - { - if (e.KeyCode == Keys.Enter) - OKBtn_Click(sender, e); - } - private void CancelButton_Click(object sender, EventArgs e) { DialogResult = DialogResult.Cancel; } - - private void button1_Click(object sender, EventArgs e) - { - - } } }