private void DownList()
        {
            try
            {
                ListItemCollection items = new DCSoft.Writer.Data.ListItemCollection();
                items.AddByTextValue("男", "男");
                items.AddByTextValue("女", "女");
                items.AddByTextValue("其他", "其他");
                myEditControl.AddBufferedListItems("sexlist", items, true);

                //items = new ListItemCollection();
                //items.Clear();
                //if (CurPatexam.dep == "XRAY")
                //{
                //    items.AddByTextValue("XRAY检查报告单", "XRAY");
                //}
                //else if (CurPatexam.dep == "CT")
                //{
                //    items.AddByTextValue("CT检查报告单", "CT");
                //}
                //else if (CurPatexam.dep == "MRI")
                //{
                //    items.AddByTextValue("MRI检查报告单", "MRI");
                //}
                //else if (CurPatexam.dep == "DSA")
                //{
                //    items.AddByTextValue("DSA检查报告单", "DSA");
                //}
                //myEditControl.AddBufferedListItems("ReportTypeList", items, true);

                DataSet ds = new DataSet();
                ds = Userinfo_Class.GetUserByDept(Share_Class.User.userflag);
                items = new ListItemCollection();
                items.Clear();
                //radio_doctor_ComboBoxEdit.Properties.Items.Clear();
                for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
                {
                    //radio_doctor_ComboBoxEdit.Properties.Items.Add(ds.Tables[0].Rows[i]["user_id"].ToString().Trim());
                    items.AddByTextValue(ds.Tables[0].Rows[i]["user_id"].ToString().Trim(), ds.Tables[0].Rows[i]["user_id"].ToString().Trim());
                }
                myEditControl.AddBufferedListItems("radio_doctorlist", items, true);
                myEditControl.AddBufferedListItems("reportdoclist", items, true);
                myEditControl.AddBufferedListItems("advancedoclist", items, true);


                ds = setup_noSort_Dmb_Class.GetAll("sqdep");
                items = new ListItemCollection();
                items.Clear();
                //sqdep_ComboBoxEdit.Properties.Items.Clear();
                for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
                {
                    items.AddByTextValue(ds.Tables[0].Rows[i]["sqdep"].ToString().Trim(), ds.Tables[0].Rows[i]["sqdep"].ToString().Trim());
                    // sqdep_ComboBoxEdit.Properties.Items.Add(ds.Tables[0].Rows[i]["sqdep"].ToString());
                }
                myEditControl.AddBufferedListItems("sqdeplist", items, true);

                //'ds = setup_noSort_Dmb_Class.GetAll("checkpos")
                //'items = new DCSoft.Writer.Data.ListItemCollection()
                //'items.Clear()
                //'For i = 0 To ds.Tables[0].Rows.Count - 1
                //'    items.AddByTextValue(ds.Tables[0].Rows[i]["checkpos"].ToString().Trim(), ds.Tables[0].Rows[i]["checkpos"].ToString().Trim())
                //'Next
                //'myEditControl.AddBufferedListItems("checkposlist", items, true);

                ds = setup_noSort_Dmb_Class.GetAll("ward");
                items = new ListItemCollection();
                items.Clear();
                //wardno_ComboBoxEdit.Properties.Items.Clear();
                for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
                {
                    items.AddByTextValue(ds.Tables[0].Rows[i]["ward"].ToString().Trim(), ds.Tables[0].Rows[i]["ward"].ToString().Trim());
                    //wardno_ComboBoxEdit.Properties.Items.Add(ds.Tables[0].Rows[i]["ward"].ToString());
                }
                myEditControl.AddBufferedListItems("wardlist", items, true);

                ds = setup_noSort_Dmb_Class.GetAll("doctor");
                items = new ListItemCollection();
                items.Clear();
                //doctor_ComboBoxEdit.Properties.Items.Clear();
                for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
                {
                    items.AddByTextValue(ds.Tables[0].Rows[i]["doctor"].ToString().Trim(), ds.Tables[0].Rows[i]["doctor"].ToString().Trim());
                    //doctor_ComboBoxEdit.Properties.Items.Add(ds.Tables[0].Rows[i]["doctor"].ToString());
                }
                myEditControl.AddBufferedListItems("doctorlist", items, true);
                ds = setup_noSort_Dmb_Class.GetAll("machinetype");
                items = new ListItemCollection();
                items.Clear();
                //machinetype_ComboBoxEdit.Properties.Items.Clear();
                for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
                {
                    items.AddByTextValue(ds.Tables[0].Rows[i]["machinetype"].ToString().Trim(), ds.Tables[0].Rows[i]["machinetype"].ToString().Trim());
                    //machinetype_ComboBoxEdit.Properties.Items.Add(ds.Tables[0].Rows[i]["machinetype"].ToString());
                }
                myEditControl.AddBufferedListItems("machinetypelist", items, true);

                ds = setup_registerpart_Dmb_Class.Getmodality();
                items = new ListItemCollection();
                items.Clear();
                //modality_ComboBoxEdit.Properties.Items.Clear();
                for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
                {
                    items.AddByTextValue(ds.Tables[0].Rows[i]["modality"].ToString().Trim(), ds.Tables[0].Rows[i]["modality"].ToString().Trim());
                    //modality_ComboBoxEdit.Properties.Items.Add(ds.Tables[0].Rows[i]["modality"].ToString());
                }
                myEditControl.AddBufferedListItems("modalitylist", items, true);

                ds = setup_noSort_Dmb_Class.GetAll("imagemethod");
                items = new ListItemCollection();
                items.Clear();
                for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
                {
                    items.AddByTextValue(ds.Tables[0].Rows[i]["imagemethod"].ToString().Trim(), ds.Tables[0].Rows[i]["imagemethod"].ToString().Trim());
                    //imagemethod_ComboBoxEdit.Properties.Items.Add(ds.Tables[0].Rows[i]["imagemethod"].ToString());
                }
                myEditControl.AddBufferedListItems("imagemethodlist", items, true);
                myEditControl.ExcludeKeywords = "白痴";
                //   '报告类型列表框填充
                ds = setup_noSort_Dmb_Class.GetAll("reportdisease_Dmb");
                items = new ListItemCollection();
                items.Clear();
                //  reportdisease_CheckedListBoxControl.Items.Clear();
                for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
                {
                    items.AddByTextValue(ds.Tables[0].Rows[i]["reportdisease"].ToString().Trim(), ds.Tables[0].Rows[i]["reportdisease"].ToString().Trim());
                    // reportdisease_CheckedListBoxControl.Items.Add(ds.Tables[0].Rows[i]["reportdisease"].ToString(), CheckState.Unchecked);

                }
                myEditControl.AddBufferedListItems("reportdiseaselist", items, true);

                // '结果归类列表框填充
                ds = setup_noSort_Dmb_Class.GetAll("diseasetype");
                items = new ListItemCollection();
                items.Clear();
                //   '填充数据库中调出的项
                // diseasetype_CheckedListBoxControl.Items.Clear();
                //Picdiseasetype_ComboBoxEdit.Properties.Items.Clear();
                for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
                {
                    items.AddByTextValue(ds.Tables[0].Rows[i]["diseasetype"].ToString().Trim(), ds.Tables[0].Rows[i]["diseasetype"].ToString().Trim());

                    //   diseasetype_CheckedListBoxControl.Items.Add(ds.Tables[0].Rows[i]["diseasetype"].ToString(), CheckState.Unchecked);
                    //Picdiseasetype_ComboBoxEdit.Properties.Items.Add(ds.Tables[0].Rows[i]["diseasetype"].ToString());
                }
                myEditControl.AddBufferedListItems("diseasetypelist", items, true);

                // '结果归类列表框填充
                ds = Setup_Dict.setup_item_dic_dmb_Class.GetITEM(CurPatexam.dep, "", "扫描方式", "");
                //ds = setup_noSort_Dmb_Class.GetAll("diseasetype");
                items = new ListItemCollection();
                items.Clear();
                //   '填充数据库中调出的项
                // diseasetype_CheckedListBoxControl.Items.Clear();
                //Picdiseasetype_ComboBoxEdit.Properties.Items.Clear();
                for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
                {
                    items.AddByTextValue(ds.Tables[0].Rows[i]["item"].ToString().Trim(), ds.Tables[0].Rows[i]["item"].ToString().Trim());

                    //   diseasetype_CheckedListBoxControl.Items.Add(ds.Tables[0].Rows[i]["diseasetype"].ToString(), CheckState.Unchecked);
                    //Picdiseasetype_ComboBoxEdit.Properties.Items.Add(ds.Tables[0].Rows[i]["diseasetype"].ToString());
                }
                myEditControl.AddBufferedListItems("checktypelist", items, true);
            }
            catch (Exception ex)
            {
                flog_Class.WriteFlog(ex.Message);
            }
        }