public DropDownSetting(int pos, String name, MainForm parent, string[] items, int size)
{
this.pos = pos;
this.parent = parent;
label = new Label();
label.Text = name;
label.BackColor = Color.Transparent;
text = new ComboBox();
text.DropDownStyle = ComboBoxStyle.DropDownList;
text.Items.AddRange(items);
text.SelectedIndex = 0;
checkbox = new CheckBox();
checkbox.BackColor = Color.Transparent;
checkbox.CheckedChanged += this.checkboxChanged;
checkbox.Checked = true;
parent.Controls.Add(label);
parent.Controls.Add(text);
parent.Controls.Add(checkbox);
init(size);
}