Implemented password generator in Entry form

This commit is contained in:
2017-10-16 18:31:45 +02:00
committed by BONNEVILLE Geoffroy
parent 2b8d37057c
commit 8a312bec71
5 changed files with 394 additions and 5 deletions

View File

@@ -7,6 +7,7 @@ using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
using ModernKeePass.Common;
using ModernKeePass.ViewModels;
using ModernKeePassLib.Cryptography.PasswordGenerator;
// Pour en savoir plus sur le modèle d'élément Page Détail de l'élément, consultez la page http://go.microsoft.com/fwlink/?LinkId=234232
@@ -113,5 +114,12 @@ namespace ModernKeePass.Pages
// TODO: Show some error
}
}
private void PasswordGenerationButton_Click(object sender, RoutedEventArgs e)
{
Model.GeneratePassword();
/*var button = (Button)sender;
button?.Flyout?.Hide();*/
}
}
}