private void ucPatient_Load(object sender, EventArgs e)
        {
            try
            {
                this.BackColor = this.Parent.BackColor;

                this.IsShowDetail = this.bIsShowDetail;

                Neusoft.HISFC.Management.Manager.Constant Constant = new Neusoft.HISFC.Management.Manager.Constant();
                //初始化结算方式
                this.cmbBalanceType.AddItems(Constant.GetList(Neusoft.HISFC.Object.Base.EnumConstant.PAYKIND));

                initPanel();
                initArrayList();
                initBoolArray();

                if (!IsShowDetail)
                {
                    SetPanState(false);
                }
                base.Resize += new EventHandler(ucLoation_Resize);
                init();
                initLabel();
            }
            catch { }
        }
        /// <summary>
        /// 设置列下拉列表

        /// </summary>
        private void initList()
        {
            try
            {
                Neusoft.HISFC.Management.HealthRecord.Diagnose da  = new Neusoft.HISFC.Management.HealthRecord.Diagnose();
                Neusoft.HISFC.Management.Manager.Constant      con = new Neusoft.HISFC.Management.Manager.Constant();
                this.fpEnter1.SelectNone = true;
                //获取出院诊断类别诊断
                //				diagnoseType = da.GetDiagnoseList();
                diagnoseType = Neusoft.HISFC.Object.HealthRecord.DiagnoseType.SpellList();
                diagnoseTypeHelper.ArrayObject = diagnoseType;
                this.fpEnter1.SetColumnList(this.fpEnter1_Sheet1, 0, diagnoseType);

                //分期列表
                PeriorList = con.GetList(Neusoft.HISFC.Object.Base.EnumConstant.DIAGPERIOD);
                this.fpEnter1.SetColumnList(this.fpEnter1_Sheet1, 7, PeriorList);
                PeriorListHelper.ArrayObject = PeriorList;
                //手术操作类型
                OperList = con.GetList(Neusoft.HISFC.Object.Base.EnumConstant.OPERATIONTYPE);
                this.fpEnter1.SetColumnList(this.fpEnter1_Sheet1, 4, OperList);
                OperListHelper.ArrayObject = OperList;

                //分级列表
                LeveList = con.GetList(Neusoft.HISFC.Object.Base.EnumConstant.DIAGLEVEL);
                this.fpEnter1.SetColumnList(this.fpEnter1_Sheet1, 8, LeveList);
                LeveListHelper.ArrayObject = LeveList;

                //出院情况列表
                diagOutStateList = con.GetList(Neusoft.HISFC.Object.Base.EnumConstant.ZG);
                this.fpEnter1.SetColumnList(this.fpEnter1_Sheet1, 3, diagOutStateList);
                diagOutStateListHelper.ArrayObject = diagOutStateList;

                this.fpEnter1.SetWidthAndHeight(200, 200);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }