コード例 #1
0
 public static string Show(string name)
 {
     RenameDlg dlg = new RenameDlg(name);
     if (dlg.ShowDialog() == true)
         return dlg.txtValue.Text.Trim();
     return "";
 }
コード例 #2
0
        public static string Show(string name)
        {
            RenameDlg dlg = new RenameDlg(name);

            if (dlg.ShowDialog() == true)
            {
                return(dlg.txtValue.Text.Trim());
            }
            return("");
        }