private void Form1_Load(object sender, EventArgs e)
{
comboBox1.Items.Add("4");
comboBox1.Items.Add("5");
comboBox1.Items.Add("6");
comboBox1.Items.Add("7");
comboBox1.Items.Add("8");
comboBox1.Items.Add("9");
comboBox1.Items.Add("10");
comboBox1.SelectedIndex = 0;
}
private void button1_Click(object sender, EventArgs e)
{
string Message = String.Format("Your Items are {0}\r\n", comboBox1.Text);
MessageBox.Show(Message, "Your Item", MessageBoxButtons.OK);
}