开发者

UserPaint refreshing in C# winforms

开发者 https://www.devze.com 2023-02-19 17:23 出处:网络
I have a user control which I paint with the UserPaint attribute. It draws ok, but when some of my control\'s area goes out of screen and back in again, it does not refresh.

I have a user control which I paint with the UserPaint attribute.

It draws ok, but when some of my control's area goes out of screen and back in again, it does not refresh.

It's like the half that was 开发者_JS百科out is not drawn again.

I override the "OnPaint" method to paint.

How can I fix it? :)

0

精彩评论

暂无评论...
验证码 换一张
取 消