There's no advantage to writing your own code to do that stuff. It's all done in code anyway. When you add components and set properties in the designer, the appropriate code is added to the InitializeComponent method, which is called from the class constructor.