Files
modernkeepass/ModernKeePass/Views/MainPageFrames/NewDatabasePage.xaml.cs

26 lines
647 B
C#
Raw Permalink Normal View History

// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
using Windows.UI.Xaml.Navigation;
using ModernKeePass.ViewModels;
namespace ModernKeePass.Views
{
/// <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
{
public NewVm Model => (NewVm)DataContext;
public NewDatabasePage()
{
InitializeComponent();
}
protected override void OnNavigatedFrom(NavigationEventArgs e)
{
Model.Cleanup();
}
}
}