简体   繁体   中英

How can i draw to screen?

我的意思是使用paint事件,而不是在pictureBox1.Image上绘制,而不是在pictureBox1中当前显示的图像上绘制/绘制图像,只是为了在屏幕上自行绘制?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM