private void button2_Click(object sender, EventArgs e) { comboBox1.SelectedIndex = ((comboBox1.SelectedIndex) != (comboBox1.Items.Count - 1)) ? comboBox1.SelectedIndex + 1 : comboBox1.Items.Count - 1; }