Beispiel #1
0
 public static string GetString(string head, string info)
 {
     StringInput ip = new StringInput();
     ip.Text = head;
     ip.labelInfo.Text = info;
     ip.ShowDialog();
     string r = ip.textBox1.Text;
     ip.Dispose(true);
     return r;
 }
Beispiel #2
0
        public static string GetString(string head, string info)
        {
            StringInput ip = new StringInput();

            ip.Text           = head;
            ip.labelInfo.Text = info;
            ip.ShowDialog();
            string r = ip.textBox1.Text;

            ip.Dispose(true);
            return(r);
        }