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

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