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