public ComboBoxDlg(string text, string caption, object[] items) { InitializeComponent(); label1.Text = text; Text = caption; comboBox1.Items.AddRange(items); }