WIP strings in ressource file (XAML is done, code-behind is not)

Invalid URI now shows a message
Create entry is now a link above entries
Entries gridview allows reordering (WIP enable it conditionnally)
Code cleanup in adding/removing PwEntries from VM
This commit is contained in:
BONNEVILLE Geoffroy
2017-11-28 18:53:10 +01:00
parent fcbda1e33d
commit 7b39fe79c8
17 changed files with 587 additions and 233 deletions

View File

@@ -99,9 +99,6 @@ namespace ModernKeePass.Pages
{
case -1:
return;
case 0:
entry = Model.AddNewEntry();
break;
default:
entry = GridView.SelectedItem as EntryVm;
break;
@@ -156,5 +153,10 @@ namespace ModernKeePass.Pages
}
#endregion
private void CreateEntry_ButtonClick(object sender, RoutedEventArgs e)
{
Frame.Navigate(typeof(EntryDetailPage), Model.AddNewEntry());
}
}
}