예제 #1
0
        private void UiSpinProfundidad_EditValueChanged(object sender, EventArgs e)
        {
            var spin = (SpinEdit)sender;

            UiPropiedadesDeVehiculo.Refresh();
            CalcularVolumenDelVehiculo(Vehiculo.HIGH, Vehiculo.WIDTH, (decimal?)spin.EditValue);
        }
예제 #2
0
        private void UiSpinAlto_EditValueChanged(object sender, EventArgs e)
        {
            var spin = (SpinEdit)sender;

            UiPropiedadesDeVehiculo.Refresh();
            CalcularVolumenDelVehiculo((decimal?)spin.EditValue, Vehiculo.WIDTH, Vehiculo.DEPTH);
        }