0

I mean using paint event but not to draw on the pictureBox1.Image and not to draw to/on the image currently display in the pictureBox1 just to draw on the screen it self ?

  • As far as I know you can't do that, you must have some control as Canvas to draw on. – Shadow The GPT Wizard Jan 01 '12 at 11:30
  • It's possible using GDI to get the Desktop Context or something along those lines, check http://bytes.com/topic/c-sharp/answers/263740-draw-directly-screen it should get you started – lfxgroove Jan 01 '12 at 11:32
  • This question covers the topic: http://stackoverflow.com/questions/1536141/how-to-draw-directly-on-the-windows-desktop-c – lfxgroove Jan 01 '12 at 11:34

1 Answers1

0

It isn't possible to draw out of a form's (or control's) client area. You could make a fullscreen form (Maximized, no borders) That can have a transparent color as it's bgcolor, and just paint to it using the paint event.

Corwin Mcknight
  • 302
  • 1
  • 2
  • 9