/// <summary> /// /// </summary> /// <param name="grouporusercode">usercode append query</param> /// <param name="lbl">Label Control To Change</param> /// <param name="fields">Field Type : 0- Name,1-Stream,2-Degree,3-Branch,4-Term</param> public void setLabels(string grouporusercode, ref List <Label> lbl, List <byte> fields) { Institution insObj = new Institution(grouporusercode); for (int lblCnt = 0; lblCnt < lbl.Count; lblCnt++) { Label lblSend = (Label)lbl[lblCnt]; insObj.SetControlText(ref lblSend, fields[lblCnt]); } }