登錄站點

用戶名

密碼

image FileStream

4已有 1558 次閱讀  2017-08-23 01:45
 Dim strFileName As String
 strFileName = OpenFileDialog1.FileName
Dim fs As System.IO.FileStream
            fs = New System.IO.FileStream(strFileName, IO.FileMode.Open, IO.FileAccess.Read)
           Dim myImage as image
            myImage = System.Drawing.Image.FromStream(fs)
            fs.Close()
            Me.Refresh()
分享 舉報