private void LoadIdTypes()
        {
            ResponseWrapper <List <IdType> > response = APIClient.GetIdTypeList();

            if (response.DataObject != null && ((List <IdType>)response.DataObject).Count > 0)
            {
                idtypeCB.DataSource    = (List <IdType>)response.DataObject;
                idtypeCB.DisplayMember = "Name";
                idtypeCB.ValueMember   = "ID";
            }
        }
Example #2
0
 // ****************** IDTYPE ***************************
 private void IdTypesGET_Click(object sender, EventArgs e)
 {
     HandleResponse(APIClient.GetIdTypeList());
 }