public GeneratorDialogViewModel(BaseMetroDialog dialogView, PasswordScreen viewModel) : base(dialogView, viewModel)
        {
            // Sets default values
            Length           = 32;
            IncludeLowercase = true;
            IncludeUppercase = true;
            IncludeNumeric   = true;
            IncludeSpecial   = true;

            GenerateRandomPassword();
            CheckValidGeneration();
        }
Exemple #2
0
 public DialogScreen(BaseMetroDialog dialogView, PasswordScreen viewModel)
 {
     this.dialogView = dialogView;
     this.viewModel  = viewModel;
 }