示例#1
0
 public static void RenameResFolder(string oldName, string newName)
 {
     if (!VsUtils.RenameFolder(VsUtils.GetCurrentProject(), oldName, newName))
     {
         MessageBox.Show("The resources folder could not be renamed. It will have to be renamed manually",
                         "Rename failed", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }