I need to refresh the controls in the form, for that i use this.Refresh() but the form is flickering. How can I smoothly refresh the controls?
Using Application.DoEvents() does this smoothly, but is this a good idea to refresh using Application.DoEvents()?
Here’s a link on MSDN about reducing flicker in WinForms applications:
http://msdn.microsoft.com/en-us/library/3t7htc9c(VS.80).aspx
The easiest way is to set the DoubleBuffered property for the Form to true.