Error: Index was outside the bounds of the array.
ChildFile = DirInfo.GetFiles("*.jpg")
PhotoSrc = ChildFile(0).FullName
转载于:https://www.cnblogs.com/kaixin110/archive/2007/08/01/838785.html
转载于:https://www.cnblogs.com/kaixin110/archive/2007/08/01/838785.html