private void UiSpinProfundidad_EditValueChanged(object sender, EventArgs e) { var spin = (SpinEdit)sender; UiPropiedadesDeVehiculo.Refresh(); CalcularVolumenDelVehiculo(Vehiculo.HIGH, Vehiculo.WIDTH, (decimal?)spin.EditValue); }
private void UiSpinAlto_EditValueChanged(object sender, EventArgs e) { var spin = (SpinEdit)sender; UiPropiedadesDeVehiculo.Refresh(); CalcularVolumenDelVehiculo((decimal?)spin.EditValue, Vehiculo.WIDTH, Vehiculo.DEPTH); }