摘要:
public class CaptureWindows { public static Bitmap GetWindow(IntPtr hWnd) { IntPtr hscrdc = GetWindowDC(hWnd); Rectangle rect = new Rectangle(); GetWindowRect(hWnd, out rect); IntPtr hbitmap = CreateCompatibleBitmap(hscrdc, rect.Width - r... 阅读全文