i am also having same problem.
in my application i m using a picture box control to draw a real time graph and this graph is plotting point and at the same time it moving a rectangle which color is same as background color so it will remove previous plotted points, in my application i m using double buffring for the user control
private void SetForDoubleBuffring()
{
this.SetStyle(ControlStyles.AllPaintingInWmPaint |
ControlStyles.UserPaint |
ControlStyles.OptimizedDoubleBuffer |
ControlStyles.DoubleBuffer, true);
}
but still i m getting small flickering , i want to remove this flickering completely.
i am expecting this problem is due to garbage collector, which refresh memory and result of that getting this flickering, i am not sure but may be this due to our weak reference, but still fighting with problem.
please if anyone have any idea please suggest me.
Thanks in advance
Jitendra
[email protected]
Enter your message below
Sign in or Join us (it's free).