Suspending form's controls drawing

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top