public static string Show(string name)
 {
     RenameDlg dlg = new RenameDlg(name);
     if (dlg.ShowDialog() == true)
         return dlg.txtValue.Text.Trim();
     return "";
 }
        public static string Show(string name)
        {
            RenameDlg dlg = new RenameDlg(name);

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