vb.net 调用api

Public Declare Function GetDC Lib "user32" Alias "GetDC" (ByVal hwnd As Integer) As Integer GetDC(Picturebox1.Hwnd) GetDC(Picturebox1.Handle) 类似VB中Picture的Picture1.hDC
原文地址:https://www.cnblogs.com/gosteps/p/3254030.html