示例#1
0
        private async void btnLogin_Click(object sender, RoutedEventArgs e)
        {
            var    accountReader = ResourceLoader.GetForCurrentView("TestAccount");
            string cookiesReturn = await jh.login(accountReader.GetString("ID"), accountReader.GetString("PWD"));

            Debug.WriteLine(cookiesReturn);
        }
示例#2
0
 private async void btnLogin_Click(object sender, RoutedEventArgs e)
 {
     console = await jh.login("ylns1314", "belldandy4869");
 }