form repaint, tabcontrol

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

It seems when using a tabcontrol, repainting the form when clicking a tab
takes a few split seconds, how can I repaint my form after all controls and
data is loaded??
 
Hi:

Try using FormName.SuspendLayout() before loading controls and data, and
then FormName.ResumeLayout(true) after that.

Hope this result usefull.
 
Back
Top