private void EscogerVehiculo(VehiculoDataGrid vehiculo) { var crearVehiculo = new CrearEditarVehiculo(); crearVehiculo.ObtenerVehiculoParaModificar(vehiculo); crearVehiculo.ShowDialog(); }
private void btnCrear_Click(object sender, RoutedEventArgs e) { var crearVehiculo = new CrearEditarVehiculo(); crearVehiculo.ShowDialog(); }