Initializes a new instance of the UserControl class.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The following code example creates an instance of the UserControl derived class, MyCustomerInfoUserControl, which was created in the example section of the UserControl class overview. The user control is added to a Panel control and has its Dock property set to DockStyle.Fill. The Panel is then added to a Form.