private void cboxVeh_SelectedIndexChanged(object sender, EventArgs e) { mf.FileOpenVehicle(mf.vehiclesDirectory + cboxVeh.SelectedItem.ToString() + ".txt"); Close(); }