[RESOLVED] Image Flickering.
Dear All,
In my project I am using Graphics FillRectangle with solid brush to fill the rectangle.
But every time I re-size the rectangle in the picturebox paint method, the image starts flickering.
Can anybody suggest how can I get rid of it?
I also tried placing this below code in my form load event
Code:
Me.SetStyle(ControlStyles.DoubleBuffer Or ControlStyles.UserPaint Or ControlStyles.AllPaintingInWmPaint, True)
Me.UpdateStyles()
But even this did not help.
Regards,
Susheelss