コード例 #1
0
 public Bitmap ScreenCapture()
 {
     GDI32.BitBlt(hdcDest, 0, 0, width, height, hdcSrc, screen_width / 2 - width / 2,
                  screen_height / 2 - height / 2, GDI32.SRCCOPY);
     return(Image.FromHbitmap(hBitmap));
 }