示例#1
0
 public static bool Show(string title, out string name, out string value)
 {
     NameValueInputBox form = new NameValueInputBox(title);
     bool result = form.ShowDialog() == DialogResult.OK;
     name = form.nameResult;
     value = form.valResult;
     return result;
 }
示例#2
0
        public static bool Show(string title, out string name, out string value)
        {
            NameValueInputBox form = new NameValueInputBox(title);
            bool result            = form.ShowDialog() == DialogResult.OK;

            name  = form.nameResult;
            value = form.valResult;
            return(result);
        }