コード例 #1
0
 /// <summary>
 /// 刷新包含用户列表
 /// </summary>
 private void inial_lsB_r_User()
 {
     lsB_r_User.DataSource = null;
     if (oneGroup == null)
     {
         return;
     }
     using (ASRS_ServiceSoapClient srv = new ASRS_ServiceSoapClient())
     {
         var lst = srv.PW_User_GetAllByUserGroup(oneGroup.GROUPNAME);
         lsB_r_User.DataSource    = lst;
         lsB_r_User.DisplayMember = "USERNAME";
     }
 }