private void btnLogin_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                string pswd = ValidateAmininistrator.ValidateAdminPassword(tbPswd.Password);


                if (Authentification.AuthAdministrator(pswd))
                {
                    Auth = true;
                    this.Close();
                }
                else
                {
                    tbPswd.Password = string.Empty;
                    throw new InvalidAdminPasswordException();
                }
            }
            catch (InvalidAdminPasswordException ex)
            {
                DialogHelper.ShowWarning(ex.Message);
            }
        }