private void FormInsPlanSubstitution_Load(object sender, EventArgs e)
 {
     _listAllProcCodes   = ProcedureCodes.GetAllCodes();
     _listSubstProcCodes = _listAllProcCodes.FindAll(x => !String.IsNullOrEmpty(x.SubstitutionCode));
     _listDbSubstLinks   = SubstitutionLinks.GetAllForPlans(_insPlan.PlanNum);
     FillGridSubstituionInclude();
     FillGridSubstituionExclude();
 }
 private void FormInsPlanSubstitution_Load(object sender, EventArgs e)
 {
     _listAllProcCodes   = ProcedureCodes.GetAllCodes();
     _listSubstProcCodes = _listAllProcCodes.FindAll(x => !String.IsNullOrEmpty(x.SubstitutionCode));
     _listSubstLinks     = SubstitutionLinks.GetAllForPlans(_insPlan.PlanNum);
     _listSubstLinksOld  = _listSubstLinks.DeepCopyList <SubstitutionLink, SubstitutionLink>();
     _listSubConditions  = new List <string>();
     for (int i = 0; i < Enum.GetNames(typeof(SubstitutionCondition)).Length; i++)
     {
         _listSubConditions.Add(Lan.g("enumSubstitutionCondition", Enum.GetNames(typeof(SubstitutionCondition))[i]));
     }
     FillGridMain();
 }