예제 #1
0
        public static DialogResult Show(out string strText)
        {
            string strTemp = string.Empty;

            InputName inputDialog = new InputName();

            inputDialog.TextHandler = (str) => { strTemp = str; };

            DialogResult result = inputDialog.ShowDialog();

            strText = strTemp;

            return(result);
        }