private void SurveyEntry_ListChanged(object sender, ListChangedEventArgs e) { if (e.PropertyDescriptor == null) { return; } SurveyQuestion currentQ = (SurveyQuestion)bs.Current; switch (e.PropertyDescriptor.Name) { case "PrePNum": currentQ.PreP = DBAction.GetWordingText("PreP", currentQ.PrePNum); break; case "PreINum": currentQ.PreI = DBAction.GetWordingText("PreI", currentQ.PreINum); break; case "PreANum": currentQ.PreA = DBAction.GetWordingText("PreA", currentQ.PreANum); break; case "LitQNum": currentQ.LitQ = DBAction.GetWordingText("LitQ", currentQ.LitQNum); break; case "PstINum": currentQ.PstI = DBAction.GetWordingText("PstI", currentQ.PstINum); break; case "PstPNum": currentQ.PstP = DBAction.GetWordingText("PstP", currentQ.PstPNum); break; case "RespName": currentQ.RespOptions = DBAction.GetResponseText(currentQ.RespName); break; case "NRName": currentQ.NRCodes = DBAction.GetNonResponseText(currentQ.NRName); break; } bs.ResetBindings(false); Dirty = true; }