Fixes the estimation total

This commit is contained in:
Paul Schneider 2016-10-13 16:19:28 +02:00
commit 59daaaef53
9 changed files with 54 additions and 47 deletions

View file

@ -25,6 +25,18 @@ namespace BookAStar.Pages
BindingContext = model;
}
protected override void OnBindingContextChanged()
{
base.OnBindingContextChanged();
((EditEstimateViewModel)BindingContext).PropertyChanged += EditEstimatePage_PropertyChanged;
}
private void EditEstimatePage_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
{
}
protected void OnNewCommanLine(object sender, EventArgs e)
{
var com = new BillingLine() { Count = 1, UnitaryCost = 0.01m };