public AccountsWindow()
        {
            InitializeComponent();
            Instance = this;

            _accountsGrid.ItemsSource = Checker.Accounts;
            _showPasswords.IsChecked = Settings.Config.ShowPasswords;
        }
        public AccountsWindow()
        {
            InitializeComponent();
            Instance = this;

            _accountsGrid.ItemsSource = Checker.Accounts;
            _showPasswords.IsChecked  = Settings.Config.ShowPasswords;
        }
        public AccountsWindow()
        {
            InitializeComponent();
            Instance = this;

            Closed += (o, a) => Instance = null;

            CheckBoxShowPasswords.IsChecked = Settings.Config.ShowPasswords;

            AccountsDataGrid.PreviewKeyDown += Utils.AccountsDataDataGridSearchByLetterKey;

            AccountsDataGrid.ItemsSource = Checker.Accounts;

            UpdateControls();
        }
        public AccountsWindow()
        {
            InitializeComponent();
            Instance = this;

            Closed += (o, a) => Instance = null;

            CheckBoxShowPasswords.IsChecked = Settings.Config.ShowPasswords;

            AccountsDataGrid.PreviewKeyDown += Utils.AccountsDataDataGridSearchByLetterKey;

            AccountsDataGrid.ItemsSource = Checker.Accounts;

            UpdateControls();
        }