public static string InputBox(string prompt, string caption, string defaultText) { using (frmRMInputBox IB = new frmRMInputBox(prompt, caption, defaultText)) { IB.ShowDialog(); return IB.InputText; } }
static public string InputBox(string prompt, string caption, string defaultText) { using (frmRMInputBox IB = new frmRMInputBox(prompt, caption, defaultText)) { IB.ShowDialog(); return(IB.InputText); } }