c#幻灯片源代码 public void test() { string path=(@"C:\\Documents and Settings\Administrator\桌面\img"); DirectoryInfo di = new DirectoryInfo(path); FileInfo[] fi = di.GetFiles("*.jpg"); progressBar1.Maximum = fi.Length; //progre