Пример #1
0
        public GeneratorDialogViewModel(BaseMetroDialog dialogView, PasswordScreen viewModel) : base(dialogView, viewModel)
        {
            // Sets default values
            Length           = 32;
            IncludeLowercase = true;
            IncludeUppercase = true;
            IncludeNumeric   = true;
            IncludeSpecial   = true;

            GenerateRandomPassword();
            CheckValidGeneration();
        }
Пример #2
0
 public DialogScreen(BaseMetroDialog dialogView, PasswordScreen viewModel)
 {
     this.dialogView = dialogView;
     this.viewModel  = viewModel;
 }