private void BtnNuevo_Click(object sender, EventArgs e) { var crear = new CrearTipoVehiculo(); crear.ShowDialog(); cargarDatos(); }
private void BtnEditar_Click(object sender, EventArgs e) { var id = getID(); var objt = new CrearTipoVehiculo(id); objt.ShowDialog(); cargarDatos(); }