Performance of form controls refreshing on Resize

M

Michael Russell

Hi, I'm a little new to forms programming with C#, so I'd appreciate
some pointers on how I can improve the (perceived) performance of my
form when it's resized.

My form contains a TabControl, which has a couple panels, about 15 text
boxes + labels, and two comboboxes, all bound to a custom object. When
I resize the form, the controls on the form seem to resize/repaint very
slowly. I had thought there's a way to hide this repainting of each
control, to make the overall operation appear faster, but I'm not sure
where to handle that.

Thanks for any pointers,
Michael
 
M

Michael Russell

Bob said:
SuspendLayout???

Ok, I guess I need to be more specific. I looked at SuspendLayout
(accompanied by ResumeLayout), but not sure where to put them.

Michael
 

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