public Form1() { InitializeComponent(); var mcb = new MyComboBox() { Left = 6, Top = 6 }; this.Controls.Add(mcb); for (int i = 0; i < 20; i++) { mcb.AddItem("Item " + i.ToString()); } }