摘要:
Private Sub ZipOrRar() '将C盘的test文件夹压缩为test.rar文件 Shell App.Path + "\WinRar.exe M C:\test.rar C:\test" End Sub Private Sub UnZipOrRar() '将test.rar解压缩在... 阅读全文
摘要:
先获取类的Type Type type = this.GetType(); //再用Type.GetProperties获得PropertyInfo[],然后就可以用foreach 遍历了 foreach (System.Reflection.PropertyInfo PInfo in type.G... 阅读全文