Exemplo n.º 1
0
        public EditWindow(string path, string content)
        {
            WindowStartupLocation = WindowStartupLocation.CenterScreen;
            InitializeComponent();
            Title = $"Editing '{path}'";

            PasswordContent.Text = content;
            PasswordContent.Focus();
        }
Exemplo n.º 2
0
        public EditWindow(string path, string content, PasswordGenerationConfig options)
        {
            WindowStartupLocation = WindowStartupLocation.CenterScreen;
            InitializeComponent();

            passwordGenerator = new PasswordGenerator(options);
            CreateCheckboxes();

            Title = $"Editing '{path}'";

            PasswordContent.Text = content;
            PasswordContent.Focus();
        }