easy to add sequences now

This commit is contained in:
Chris Forbes
2009-10-28 22:35:28 +13:00
parent 3bd46a4dcb
commit 1c3b48de04
4 changed files with 70 additions and 4 deletions

View File

@@ -16,10 +16,11 @@ namespace SequenceEditor
InitializeComponent();
}
public static string GetString(string title)
public static string GetString(string title, string defaultValue)
{
using (var f = new GetTextForm())
{
f.textBox1.Text = defaultValue;
f.Text = title;
if (DialogResult.OK != f.ShowDialog())
return null;