📜  vb net picturebox 从图片框中释放图像 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:36.485000             🧑  作者: Mango

代码示例1
Dim strImageFileName As String
strImageFileName = PixFolderPath & "/" & FileNameSt
Dim fs As System.IO.FileStream
fs = New System.IO.FileStream(strImageFileName, System.IO.FileMode.Open, System.IO.FileAccess.Read)
ThePic.Image = System.Drawing.Image.FromStream(fs)
fs.Close()