mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-05 10:37:09 +00:00
TextPrompts can now take an initial array to work with
This commit is contained in:
@@ -6,9 +6,10 @@ namespace PckStudio.Forms.Additional_Popups
|
||||
public partial class TextPrompt : MetroFramework.Forms.MetroForm
|
||||
{
|
||||
public string[] TextOutput => DialogResult == DialogResult.OK ? PromptTextBox.Lines : null;
|
||||
public TextPrompt()
|
||||
public TextPrompt(string[] list = null)
|
||||
{
|
||||
InitializeComponent();
|
||||
PromptTextBox.Lines = list;
|
||||
}
|
||||
|
||||
private void okBtn_Click(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user