public override Image Screenshot() { return(captureType.Capture(rect, ptr, false)); }
public Image Capture(Rectangle r, IntPtr handle, bool captureCursor) { IntPtr hand = NativeMethods.GetForegroundWindow(); return(t.Capture(new Rectangle(0, 0, 0, 0), hand, false)); }