Bug!.. when i add the Paint event to MyDesktop

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

 

 

Hi,

When I add the event  MyDesktop_Paint…. Handles Me.Paint

 

Private Sub MyDesktop_Paint(sender As Object, e As PaintEventArgs) Handles Me.Paint
‘without any code inside
End Sub

The dektop will not be painted..

  • You must to post comments
0
0

It’s not painted because you are not painting it 🙂

Try this e.Graphics.FillRectangle(Brushes.Red, e.ClipRectangle) instead of “without any code inside“.

There is also a full custom painting example here: http://wisej.com/examples.

HTH

Best,

Luca

  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json