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

            return(t.Capture(new Rectangle(0, 0, 0, 0), hand, false));
        }