public static string QueryString(string title, string text) { FormQueryString form = new FormQueryString(); form.Text = title; form.edit.Text = text; if (form.ShowDialog(null) == System.Windows.Forms.DialogResult.OK) return form.edit.Text; return null; }
public static string QueryString(string title, string text) { FormQueryString form = new FormQueryString(); form.Text = title; form.edit.Text = text; if (form.ShowDialog(null) == System.Windows.Forms.DialogResult.OK) { return(form.edit.Text); } return(null); }