Performance of form controls refreshing on Resize

  • Thread starter Thread starter Michael Russell
  • Start date Start date
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
 
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
 
Back
Top