MipMapPrompt - Removed unused methods

This commit is contained in:
miku-666
2023-04-02 17:30:56 +02:00
parent a4aac09f58
commit 3eaabe840f
2 changed files with 1 additions and 13 deletions

View File

@@ -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";

View File

@@ -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)
{
}
}
}