VB
Private Sub Button
Dim fd As OpenFileDialog = New OpenFileDialog()
fd
If fd
Dim fn As Image = Image
Dim bitmap As New Bitmap(fn)
Dim handle As IntPtr = bitmap
Dim myCursor As New Cursor(handle)
Me
End If
End Sub
代碼
From:http://tw.wingwit.com/Article/program/net/201311/13396.html