adds a default ctor, and fixes the estimate creation event
This commit is contained in:
parent
3797446499
commit
4e1de83813
1 changed files with 7 additions and 2 deletions
|
|
@ -10,6 +10,7 @@ namespace BookAStar.Pages
|
||||||
using Model;
|
using Model;
|
||||||
using Model.Workflow;
|
using Model.Workflow;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using ViewModels;
|
||||||
using XLabs.Forms.Mvvm;
|
using XLabs.Forms.Mvvm;
|
||||||
using XLabs.Ioc;
|
using XLabs.Ioc;
|
||||||
using XLabs.Platform.Services;
|
using XLabs.Platform.Services;
|
||||||
|
|
@ -50,7 +51,10 @@ namespace BookAStar.Pages
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
public BookQueryPage()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
public BookQueryPage(BookQueryData bookQuery=null)
|
public BookQueryPage(BookQueryData bookQuery=null)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
@ -73,7 +77,8 @@ namespace BookAStar.Pages
|
||||||
Id = 0,
|
Id = 0,
|
||||||
Description = "# **Hello Estimate!**"
|
Description = "# **Hello Estimate!**"
|
||||||
};
|
};
|
||||||
Resolver.Resolve<INavigationService>().NavigateTo<EditEstimatePage>(true, e);
|
Resolver.Resolve<INavigationService>().NavigateTo<EditEstimatePage>(true,
|
||||||
|
new EstimateViewModel(e));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue