Esempio n. 1
0
        /// <summary>
        /// 更新特殊技术要求
        /// </summary>
        private void RefreshSpecialRequirement()
        {
            List <string> specialRequirementList =
                objRequirementService.GetSpecialRequirementList(cobODPNo.Text);

            if (specialRequirementList.Count == 0)
            {
                lbxSpecialRequirements.Items.Clear();
                lbxSpecialRequirements.Items.Add("没有特殊要求,或者未填写");
            }
            else
            {
                lbxSpecialRequirements.Items.Clear();
                lbxSpecialRequirements.Items.AddRange(specialRequirementList.ToArray());
            }
        }