Suspending form's controls drawing

  • Thread starter Thread starter Mohammad Hashemian
  • Start date Start date
M

Mohammad Hashemian

Hello
I'm writing an application and in one of it's forms I should dispose
all existing controls, create and initialize some new controls and then
add them to the form. so the form's appearance will be changed. But
during this transition, when I add a control to the form, that control
will be drawn momentarily. I want to know how can I suspend drawing
controls on form until I add all of them to the form. I used
SuspendLayout and ResumeLayout but ther haven't any effects.
thanks
 
Back
Top