2020-05-04 12:48:27 +02:00
|
|
|
|
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
|
2017-10-11 18:43:27 +02:00
|
|
|
|
|
2021-05-10 20:28:13 +02:00
|
|
|
|
using Windows.UI.Xaml.Navigation;
|
|
|
|
|
using ModernKeePass.ViewModels;
|
|
|
|
|
|
2017-12-08 19:38:33 +01:00
|
|
|
|
namespace ModernKeePass.Views
|
2017-10-11 18:43:27 +02:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// An empty page that can be used on its own or navigated to within a Frame.
|
|
|
|
|
/// </summary>
|
2017-10-12 17:45:37 +02:00
|
|
|
|
public sealed partial class NewDatabasePage
|
2017-10-11 18:43:27 +02:00
|
|
|
|
{
|
2021-05-10 20:28:13 +02:00
|
|
|
|
public NewVm Model => (NewVm)DataContext;
|
|
|
|
|
|
2020-04-27 11:14:29 +02:00
|
|
|
|
public NewDatabasePage()
|
2017-10-11 18:43:27 +02:00
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
}
|
2021-05-10 20:28:13 +02:00
|
|
|
|
|
|
|
|
|
protected override void OnNavigatedFrom(NavigationEventArgs e)
|
|
|
|
|
{
|
|
|
|
|
Model.Cleanup();
|
|
|
|
|
}
|
2017-10-11 18:43:27 +02:00
|
|
|
|
}
|
|
|
|
|
}
|