Files
Nuvolar/Nuvolar.Module.CSharp/BusinessObjects/CostPlannerRows.bo.cs
T
2017-03-08 11:21:27 +01:00

24 lines
696 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace Nuvolar.Module.BusinessObjects
{
public partial class CostPlannerRows
{
protected override void OnSaving()
{
base.OnSaving();
}
protected override void OnChanged(string propertyName, object oldValue, object newValue)
{
base.OnChanged(propertyName, oldValue, newValue);
if (propertyName == "QTT"||propertyName== "PriceInHUF" || propertyName== "PriceOutHUF")
{
this.AmountInHUF = this.QTT * this.PriceInHUF;
this.AmountOutHUF = this.QTT * this.PriceOutHUF;
}
}
}
}