private void button1_Click(object sender, EventArgs e)
{
if (comboBox2.SelectedIndex < 0 )
{
button1.Enabled = false;
}
else
{
button1.Enabled = true;
}