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