Example #1
0
        public LoginWindow()
        {
            InitializeComponent();

            ShowPassword = false;
            TogglePassword();

            txtUsername.Focus();

            if (BL_Users.Any())
            {
                txtUsername.Focus();
            }
            else
            {
                var _initUserWindow = new Initialuserwindow();
                _initUserWindow.OnUserCreated += InitialUserWindow_OnUserCreated;

                _initUserWindow.Show();
            }
        }