if (Directory.GetDirectories(projectPath).Length == 0 && Directory.GetFiles(projectPath).Length == 0)
{
//删除到回收站
FileSystem.DeleteDirectory(projectPath, UIOption.OnlyErrorDialogs, RecycleOption.SendToRecycleBin);
}

05-11 21:53