removing sequences works
This commit is contained in:
30
SequenceEditor/GetTextForm.cs
Normal file
30
SequenceEditor/GetTextForm.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace SequenceEditor
|
||||
{
|
||||
public partial class GetTextForm : Form
|
||||
{
|
||||
public GetTextForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public static string GetString(string title)
|
||||
{
|
||||
using (var f = new GetTextForm())
|
||||
{
|
||||
f.Text = title;
|
||||
if (DialogResult.OK != f.ShowDialog())
|
||||
return null;
|
||||
return f.textBox1.Text;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user