I use gradientpanel Bunifu_UI_v1.52.dll ..
when i load form with gradient panel the form blink and load slowly..
how to fix this except remove bunifugradientpanel..??
Attachment 150129
Printable View
I use gradientpanel Bunifu_UI_v1.52.dll ..
when i load form with gradient panel the form blink and load slowly..
how to fix this except remove bunifugradientpanel..??
Attachment 150129
Flickering is generally the result of poor GDI+ rendering code. If the issue is in your code then you may be able to fix it. If it's in the DLL you're using then you may not be able to do anything. The first thing to try would be to set the DoubleBuffered property of your form to True. If that's required then I'd expect the documentation for the library you're using to specify that. If that doesn't work, check that documentation and see if it does specify any requirements or potential workarounds for issues. If you still have a problem, post more details here about what you're doing.
i get the answer for remove flickering...
Protected Overloads Overrides ReadOnly Property CreateParams() As CreateParams
Get
Dim cp As CreateParams = MyBase.CreateParams
cp.ExStyle = cp.ExStyle Or 33554432
Return cp
End Get
End Property
Thank you khabib,
That's done the job beautifully.
Poppa