Exemple #1
0
        private void Login()
        {
            var id       = IDText.Text;
            var pw       = PWText.Password;
            var response = DMS.Auth(id, pw);

            if (response.StatusCode != HttpStatusCode.OK)
            {
                MessageBox.Show("로그인 실패");
                return;
            }

            SetTokensFromReponse(response);
            mainWindow.NavigatePage(new MainPage());
        }