//----------------------------------------------------------------------------- // Show //----------------------------------------------------------------------------- public static DialogResult Show(IWin32Window owner, string name) { using (RenameForm form = new RenameForm()) { form.textBoxName.Text = name; RenameForm.newName = name; return(form.ShowDialog(owner)); } }
//----------------------------------------------------------------------------- // Show //----------------------------------------------------------------------------- public static DialogResult Show(IWin32Window owner, string name) { using (RenameForm form = new RenameForm()) { form.textBoxName.Text = name; RenameForm.newName = name; return form.ShowDialog(owner); } }