private void BtnNuevo_Click(object sender, EventArgs e) { var cr = new CrearModeloDeVehiculo(); cr.ShowDialog(); cargarDatos(); }
private void BtnEditar_Click(object sender, EventArgs e) { var i = getID(); var ac = new CrearModeloDeVehiculo(i); ac.ShowDialog(); cargarDatos(); }