Skip to content

Commit

Permalink
Change the Ok to OK in prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
rappen committed Aug 7, 2022
1 parent b6b8adb commit baf352a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FXBEditorUtils/Prompt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public static string ShowDialog(string text, string caption, string startvalue =
Label textLabel = new Label() { Left = 50, Top = 20, Width = 430, Text = text };
TextBox textBox = new TextBox() { Left = 50, Top = 45, Width = 400, Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right, Text = startvalue };
Button cancellation = new Button() { Text = "Cancel", Left = 220, Width = 100, Top = 80, DialogResult = DialogResult.Cancel };
Button confirmation = new Button() { Text = "Ok", Left = 350, Width = 100, Top = 80, DialogResult = DialogResult.OK };
Button confirmation = new Button() { Text = "OK", Left = 350, Width = 100, Top = 80, DialogResult = DialogResult.OK };
//confirmation.Click += (sender, e) => { prompt.Close(); };
prompt.Controls.Add(textBox);
prompt.Controls.Add(cancellation);
Expand Down

0 comments on commit baf352a

Please sign in to comment.