From d83c4013a910ef5c48018615b5a74221c7280ad4 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Fri, 30 Sep 2016 13:05:01 +0200 Subject: [PATCH] adds a default ctor, and fixes the estimate creation event --- BookAStar/BookAStar/Pages/BookQueryPage.xaml.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/BookAStar/BookAStar/Pages/BookQueryPage.xaml.cs b/BookAStar/BookAStar/Pages/BookQueryPage.xaml.cs index c271dc91..77eb613e 100644 --- a/BookAStar/BookAStar/Pages/BookQueryPage.xaml.cs +++ b/BookAStar/BookAStar/Pages/BookQueryPage.xaml.cs @@ -10,6 +10,7 @@ namespace BookAStar.Pages using Model; using Model.Workflow; using System.Threading.Tasks; + using ViewModels; using XLabs.Forms.Mvvm; using XLabs.Ioc; using XLabs.Platform.Services; @@ -50,7 +51,10 @@ namespace BookAStar.Pages } } - + public BookQueryPage() + { + InitializeComponent(); + } public BookQueryPage(BookQueryData bookQuery=null) { @@ -73,7 +77,8 @@ namespace BookAStar.Pages Id = 0, Description = "# **Hello Estimate!**" }; - Resolver.Resolve().NavigateTo(true, e); + Resolver.Resolve().NavigateTo(true, + new EstimateViewModel(e)); } }