In my application I have a DataGridView control that displays data for the selected object. When I select a different object (in a combobox above), I need to update the grid
The .NET control supports the SuspendLayout and ResumeLayout methods. Pick the appropriate parent control (i.e. the control that hosts the controls you want to populate) and do something like the following:
this.SuspendLayout();
// Do something interesting.
this.ResumeLayout();