you won't be able to do it in the Form_Load event, it's because the container properties are all set after the form_Load, the best thing to do would be to have a timer on your form with interval set to 1. some of the Form_load code in there, (the bit that sets the container) and then end the timer event with Timer1.Enables = false so that the timer doesn't fire again.