private void init() { machList = cutlistData.GetMachines(); foreach (ListBox lb in new ListBox[] { lbPri1, lbPri2, lbPri3 }) { PopulatePriorityBox(lb); } FillBox(dtP1, lbPri1); FillBox(dtP2, lbPri2); FillBox(dtP3, lbPri3); lbAssocCutl.DisplayMember = "PARTNUM"; lbAssocPart.DisplayMember = "PARTNUM"; lbAssocCutl.DataSource = wubp; lbAssocPart.DataSource = gpbc; }