示例#1
0
        private void uxSearch_Click(object sender, EventArgs e)
        {
            LabPartnerWS.LabPartners client = new LabPartnerWS.LabPartners();
            LabPartnerWS.LabSearchResults results = client.LookupByFirstName(uxFirstName.Text);
            if (results.Success)
            {
                uxFirstName.Text = String.Empty;
                uxNameList.DataSource = results.LabMembers;

            }
            else
            {
                MessageBox.Show("Failure\n" + results.Error);
            }
        }
示例#2
0
 private void uxExclude_Click(object sender, EventArgs e)
 {
     LabPartnerWS.LabPartners client = new LabPartnerWS.LabPartners();
     String results = client.LookupOtherMembersFirstNames(uxFirstName.Text);
     MessageBox.Show(results);
 }