[DllImport("user32.dll")]
static extern bool PaintDesktop(IntPtr hdc);
None.
Draws the desktop background to the provided device context.
Please add some!
private void Paint(object sender, PaintEventArgs e)
{
IntPtr HDC = e.Graphics.GetHdc(); //Get the Device context
PaintDesktop(HDC); //Paint the form with the Desktop BackGround
e.Graphics.ReleaseHdc(HDC); //Release the Device Context
}
Do you know one? Please contribute it!