Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

flickering panel by create runtime labels winform C#

$
0
0

Details

I have one Window form which contain picturebox and load image on that form.after that i drag and drop panel1 on that picturebox and load images runtime wen click button then next image will load..but i create label runtime on that panel atleast 30label...wen my project load it perform flickering on dat panel.if i click button to load another image it will again flicker on that label.

                       I already search alots found solution but it does not work

this.SetStyle(ControlStyles.AllPaintingInWmPaint|ControlStyles.UserPaint|ControlStyles.DoubleBuffer,true);

this.DoubleBuffered = true;

i placed dat code into my form constructor .but it didnot work..it does not stop my flickering.

.i want to stop this flickering .anyone help me to stop this flickering.

Thanks in advance to help me


qasim


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>