Пример #1
0
 private void salvarToolStripMenuItem_Click(object sender, EventArgs e)
 {
     car.Combustivel   = comboBox1.Text;
     car.Cor           = Mtbcor.Text;
     car.Marca         = mtbMarca.Text;
     car.Modelo        = mtbModelo.Text;
     car.Placa         = MtbPlaca.Text;
     car.Quilometragem = MtbKM.Text;
     car.Renavam       = mtbRenavam.Text;
     control.Insericar(car);
 }