mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 23:50:18 -04:00
Moved application code to the Application layer
Imported Win10 project Code cleanup WIP - Use common UWP services for Win8.1 and Win10
This commit is contained in:
21
ModernKeePass10/Views/EntryPage.xaml.cs
Normal file
21
ModernKeePass10/Views/EntryPage.xaml.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using Windows.UI.Xaml.Navigation;
|
||||
using ModernKeePass.ViewModels.ListItems;
|
||||
|
||||
namespace ModernKeePass.Views
|
||||
{
|
||||
public partial class EntryPage
|
||||
{
|
||||
public EntryItemViewModel ViewModel { get; set; }
|
||||
|
||||
public EntryPage()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
protected override void OnNavigatedTo(NavigationEventArgs e)
|
||||
{
|
||||
base.OnNavigatedTo(e);
|
||||
if (e.Parameter is EntryItemViewModel entry) ViewModel = entry;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user