How to get rid of a flickering form?

I am developing a Win form in VB.NET and using the table layout in it. The problem I am facing is that my WinForm blinks on every boot.

Please offer me a permanent solution in VB.NET. Why does this problem occur? Is it because of the layout of the table?

+7
winforms
source share
3 answers

Try setting the DoubleBuffered form property to true.

+10
source share

If you added any code to the load event of a form that controls the user interface, use SuspendLayout () and ResumeLayout () to prevent flickering.

+5
source share

I found a significant improvement in one of my forms where double buffering did very little by adding

 Me.Visible = False 

at the beginning of the form load event.

-one
source share

All Articles