private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { theCar = new SportsCar(comboBox1.Text); txtMaxSPeed.Text = theCar.MaxSpeed.ToString(); lblstatus.Text = theCar.Status.ToString(); }