コード例 #1
0
        private void Connect()
        {
            var window = InjectContainer.ResolveView <MainWindow>() as Window;

            if (AuthenticationService.Login(Login.Text, Password.Password))
            {
                window?.Show();
                Close();
            }
            else
            {
                Error.Text = "Login ou mot de passe incorrect !";
            }
        }