Beispiel #1
0
    public Form1()
    {
        InitializeComponent();

        // Create the user control
        customDropDown = new UserControl1();

        // Add it to the form's Controls collection
        Controls.Add(customDropDown);
        customDropDown.Hide();
    }