[DllImport("user32.dll")]
static extern bool PaintDesktop(IntPtr hdc);
None.
None.
Please add some!
private void GrabDesktop()
{
Graphics g=this.CreateGraphics();//To Draw on the Main form
IntPtr HDC=g.GetHdc();//Get the Device context
PaintDesktop(HDC);//Paint the form with the Desktop BackGround
g.ReleaseHdc(HDC);//Release the Device Context
g.Dispose();
}
Do you know one? Please contribute it!