Added a multi-line state to the text elements
This commit is contained in:
13 files changed
+361
-29
No files matched your search
@@ -10,7 +10,8 @@ public partial class InputDialog : Form
|
||||
string OkButtonText = "Ok",
|
||||
string CancelButtonText = "Cancel",
|
||||
bool ShowQuestionCheckbox = false,
|
||||
string QuestionCheckboxText = ""
|
||||
string QuestionCheckboxText = "",
|
||||
bool QuestionCheckboxState = false
|
||||
);
|
||||
|
||||
private InputDialog()
|
||||
@@ -29,6 +30,7 @@ public partial class InputDialog : Form
|
||||
inputDialog.buttonCancel.Text = options.CancelButtonText;
|
||||
inputDialog.checkBoxQuestion.Visible = options.ShowQuestionCheckbox;
|
||||
inputDialog.checkBoxQuestion.Text = options.QuestionCheckboxText;
|
||||
inputDialog.checkBoxQuestion.Checked = options.QuestionCheckboxState;
|
||||
|
||||
// Ensure, that the text box is focused on load:
|
||||
inputDialog.textBoxInput.Select();
|
||||
|
||||
Reference in new issue
Block a user