本帖最后由 mr_jack 于 2014-3-29 11:07 编辑
Picturename = new string[openDlg.FileNames.Length + 1];
for (int i = 0; i < openDlg.FileNames.Length; i++)
{
MaxLength = openDlg.FileNames.Length + 1;
Picturename = openDlg.FileNames.ToString();
}
Picturename[MaxLength - 1] = Picturename[0];
pictureBox1.Image = System.Drawing.Image.FromFile(Picturename[1]);
解释一下这个代码是什么意思呢? |