Exemplo n.º 1
0
 private void OK_buton(object sender, System.Windows.RoutedEventArgs e)
 {
     if (string.IsNullOrEmpty(nam.Text) || string.IsNullOrEmpty(paw.Password))
     {
         MessageBox.Show("用户名或密码不能为空!");
     }
     else
     {
         client.GetUserInfoAsync(nam.Text);
     }
 }
Exemplo n.º 2
0
 public void GetUserInfo(string userName)
 {
     _client.GetUserInfoAsync(userName);
 }