if (comboBox1.DropDownStyle == DropDownList) { comboBox1.Items.Add(Label1.Text); comboBox1.Text = Label1.Text; } else { comboBox1.Text = Label1.Text; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)