Example #1
0
        protected override void OnLoad(EventArgs e)
        {
            if (System.Diagnostics.Process.GetCurrentProcess().ProcessName.ToUpper() != "DEVENV")
            {
                this.Init();

                Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType markNumCell = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
                markNumCell.DecimalPlaces = 0;
                this.fpInSheet.Columns[(int)ColumnSet.ColSortID].CellType  = markNumCell;
                this.fpOutSheet.Columns[(int)ColumnSet.ColSortID].CellType = markNumCell;

                tvDepartmentLevelTree tvLevel = this.tv as tvDepartmentLevelTree;

                if (tvLevel != null)
                {
                    tvLevel.HideSelection = false;

                    tvLevel.BeforeLoad(this.statCode);

                    tvLevel.ExpandAll();
                }
            }

            base.OnLoad(e);
        }
Example #2
0
        /// <summary>
        /// 根据不同的项目类型 设置单元格属性
        /// </summary>
        /// <param name="fp">需更改的FarPoint</param>
        /// <param name="itemType">项目类型</param>
        /// <param name="rowIndex">单元格行索引</param>
        /// <param name="columnIndex">单元格列索引</param>
        protected void SetReportCellType(FPItem fp, FarPoint.Win.Spread.SheetView sv, Neusoft.HISFC.Models.Preparation.EnumStencilItemType itemType, int rowIndex, int columnIndex)
        {
            switch (itemType)
            {
            case Neusoft.HISFC.Models.Preparation.EnumStencilItemType.Person:
                fp.SetColumnList(sv, this.alStaticEmployee, columnIndex);
                break;

            case Neusoft.HISFC.Models.Preparation.EnumStencilItemType.Dept:
                fp.SetColumnList(sv, this.alStaticDept, columnIndex);
                break;

            case Neusoft.HISFC.Models.Preparation.EnumStencilItemType.Date:
                Neusoft.FrameWork.WinForms.Classes.MarkCellType.DateTimeCellType markDateCellType = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.DateTimeCellType();
                sv.Cells[rowIndex, columnIndex].CellType = markDateCellType;
                break;

            case Neusoft.HISFC.Models.Preparation.EnumStencilItemType.Number:
                Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType numCellType = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
                sv.Cells[rowIndex, columnIndex].CellType = numCellType;
                break;

            default:
                break;
            }
        }
Example #3
0
        /// <summary>
        /// 初始化
        /// </summary>
        protected override void Init()
        {
            base.Init();

            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType numMarkCellType = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            this.fsReport_Sheet1.Columns[2].CellType = numMarkCellType;
        }
Example #4
0
        /// <summary>
        /// 根据不同的项目类型 设置单元格属性
        /// </summary>
        /// <param name="itemType">项目类型</param>
        /// <param name="rowIndex">单元格行索引</param>
        /// <param name="columnIndex">单元格列索引</param>
        private void SetReportCellType(Neusoft.HISFC.Models.Preparation.EnumStencilItemType itemType, int rowIndex, int columnIndex)
        {
            switch (itemType)
            {
            case Neusoft.HISFC.Models.Preparation.EnumStencilItemType.Person:
                this.fsReport.SetColumnList(this.fsReport_Sheet1, this.alStaticEmployee, columnIndex);
                break;

            case Neusoft.HISFC.Models.Preparation.EnumStencilItemType.Dept:
                this.fsReport.SetColumnList(this.fsReport_Sheet1, this.alStaticDept, columnIndex);
                break;

            case Neusoft.HISFC.Models.Preparation.EnumStencilItemType.Date:
                Neusoft.FrameWork.WinForms.Classes.MarkCellType.DateTimeCellType markDateCellType = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.DateTimeCellType();
                this.fsReport_Sheet1.Cells[rowIndex, columnIndex].CellType = markDateCellType;
                break;

            case Neusoft.HISFC.Models.Preparation.EnumStencilItemType.Number:
                Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType numCellType = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
                this.fsReport_Sheet1.Cells[rowIndex, columnIndex].CellType = numCellType;
                break;

            default:
                break;
            }
        }
Example #5
0
        /// <summary>
        /// 初始化
        /// </summary>
        /// <returns></returns>
        protected int Init()
        {
            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType markNumCellType = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            this.fsMaterial_Sheet1.Columns[(int)ExpandColumnSet.ColFactualExpand].CellType = markNumCellType;

            return(1);
        }
        /// <summary>
        /// Fp格式化设置
        /// </summary>
        private void SetFormat()
        {
            //屏蔽F5键 F5键用于跳转
            FarPoint.Win.Spread.InputMap im;
            im = this.neuSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused);
            im.Put(new FarPoint.Win.Spread.Keystroke(Keys.F5, Keys.None), FarPoint.Win.Spread.SpreadActions.None);

            im = this.neuSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused);
            im.Put(new FarPoint.Win.Spread.Keystroke(Keys.Enter, Keys.None), FarPoint.Win.Spread.SpreadActions.None);


            this.neuSpread1_Sheet1.DefaultStyle.Locked = true;

            this.neuSpread1_Sheet1.Columns[(int)ColumnSet.ColDrugNO].Visible        = false;
            this.neuSpread1_Sheet1.Columns[(int)ColumnSet.ColSpellCode].Visible     = false;
            this.neuSpread1_Sheet1.Columns[(int)ColumnSet.ColWBCode].Visible        = false;
            this.neuSpread1_Sheet1.Columns[(int)ColumnSet.ColUserCode].Visible      = false;
            this.neuSpread1_Sheet1.Columns[(int)ColumnSet.ColRegularSpell].Visible  = false;
            this.neuSpread1_Sheet1.Columns[(int)ColumnSet.ColRegularWBCode].Visible = false;

            this.neuSpread1_Sheet1.Columns[(int)ColumnSet.ColSortNO].Locked = false;

            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType markNumCell = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            markNumCell.DecimalPlaces = 0;
            this.neuSpread1_Sheet1.Columns[(int)ColumnSet.ColSortNO].CellType = markNumCell;
        }
Example #7
0
        /// <summary>
        /// 初始化
        /// </summary>
        public void Init()
        {
            FarPoint.Win.Spread.InputMap im;
            im = this.fsMaterial.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused);
            im.Put(new FarPoint.Win.Spread.Keystroke(Keys.Enter, Keys.None), FarPoint.Win.Spread.SpreadActions.None);

            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType markNumCell = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            this.fsMaterial_Sheet1.Columns[(int)MaterialColumnSet.ColQty].CellType = markNumCell;

            this.fsMaterial.PhaListColumnIndex = 1;
            this.fsMaterial.PhaListEnabled     = true;
            this.fsMaterial.Init();
        }
Example #8
0
        /// <summary>
        /// 初始化
        /// </summary>
        /// <param name="e"></param>
        protected override void OnLoad(EventArgs e)
        {
            //取操作员权限科室(暂时以所在科室代替 )
            this.privDept = ((Neusoft.HISFC.Models.Base.Employee) this.drugStoreManager.Operator).Dept;

            //判断是否有模版维护权限
            Neusoft.HISFC.BizLogic.Manager.UserPowerDetailManager userManager  = new Neusoft.HISFC.BizLogic.Manager.UserPowerDetailManager( );
            List <Neusoft.FrameWork.Models.NeuObject>             alPrivDetail = userManager.QueryUserPrivCollection(this.drugStoreManager.Operator.ID, "0350", this.privDept.ID);

            if (alPrivDetail != null)
            {
                foreach (Neusoft.FrameWork.Models.NeuObject privInfo in alPrivDetail)
                {
                    //门诊终端维护权限
                    if (privInfo.ID == "01")
                    {
                        this.isPrivilegeEdit = true;
                        break;
                    }
                }
            }
            else
            {
                this.isPrivilegeEdit = true;
            }

            this.IsEdit = this.isPrivilegeEdit;

            this.ShowAdjustType( );
            this.ShowTerminalInfo( );

            //改变FarPoint的回车事件,使回车转到下一行当前列
            FarPoint.Win.Spread.InputMap im;
            im = this.neuSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused);
            im.Put(new FarPoint.Win.Spread.Keystroke(Keys.Enter, Keys.None), FarPoint.Win.Spread.SpreadActions.MoveToNextRow);

            this.neuSpread1.EditModeReplace = true;

            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType markNumCell = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            markNumCell.DecimalPlaces = 0;
            markNumCell.MinimumValue  = 0;
            markNumCell.MaximumValue  = 9999;

            this.neuSpread1_Sheet1.Columns[3].CellType = markNumCell;
            this.neuSpread1_Sheet1.Columns[4].CellType = markNumCell;
            this.neuSpread1_Sheet1.Columns[5].CellType = markNumCell;

            base.OnLoad(e);
        }
Example #9
0
        /// <summary>
        /// 设置Farpoint显示格式
        /// </summary>
        private void SetFarPointFormat()
        {
            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType numbType = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            FarPoint.Win.Spread.CellType.TextCellType     txtonly   = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.TextCellType     txttype   = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.ComboBoxCellType cmbType   = new FarPoint.Win.Spread.CellType.ComboBoxCellType();
            FarPoint.Win.Spread.CellType.DateTimeCellType dtimeType = new FarPoint.Win.Spread.CellType.DateTimeCellType();
            // 有效无效
            string[] items = new string[] { "有效", "无效" };

            numbType.DecimalPlaces = 0;
            numbType.MaximumValue  = 99999;
            numbType.MinimumValue  = 0;

            txtonly.ReadOnly = true;

            cmbType.AcceptsArrowKeys = FarPoint.Win.SuperEdit.AcceptsArrowKeys.CtrlArrows;
            cmbType.Items            = items;

            this.neuSpread1_Sheet1.Columns[0].CellType            = txtonly;
            this.neuSpread1_Sheet1.Columns[0].Width               = 100;
            this.neuSpread1_Sheet1.Columns[0].HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;

            this.neuSpread1_Sheet1.Columns[1].CellType            = txtonly;
            this.neuSpread1_Sheet1.Columns[1].Width               = 140;
            this.neuSpread1_Sheet1.Columns[1].HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;

            this.neuSpread1_Sheet1.Columns[2].CellType            = txtonly;
            this.neuSpread1_Sheet1.Columns[2].Width               = 100;
            this.neuSpread1_Sheet1.Columns[2].HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.neuSpread1_Sheet1.Columns[2].Resizable           = false;

            this.neuSpread1_Sheet1.Columns[3].CellType = numbType;
            this.neuSpread1_Sheet1.Columns[4].CellType = numbType;

            this.neuSpread1_Sheet1.Columns[5].CellType = txttype;
            this.neuSpread1_Sheet1.Columns[5].Width    = 70;

            this.neuSpread1_Sheet1.Columns[6].CellType = cmbType;
            this.neuSpread1_Sheet1.Columns[6].Width    = 80;

            this.neuSpread1_Sheet1.Columns[7].CellType            = txttype;
            this.neuSpread1_Sheet1.Columns[7].Width               = 200;
            this.neuSpread1_Sheet1.Columns[7].HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;

            this.neuSpread1_Sheet1.Columns[8].Visible = false;
        }
Example #10
0
        /// <summary>
        /// 设置Farpoint显示格式
        /// </summary>
        private void SetFpFormat()
        {
            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType numnberCellType         = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType readOnlyNumnberCellType = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();

            numnberCellType.DecimalPlaces = 0;
            numnberCellType.MaximumValue  = 99999;
            numnberCellType.MinimumValue  = 0;

            readOnlyNumnberCellType.DecimalPlaces = 0;
            readOnlyNumnberCellType.MaximumValue  = 99999;
            readOnlyNumnberCellType.MinimumValue  = 0;
            readOnlyNumnberCellType.ReadOnly      = true;

            FarPoint.Win.Spread.CellType.TextCellType textCellType = new FarPoint.Win.Spread.CellType.TextCellType();
            textCellType.ReadOnly = true;
            FarPoint.Win.Spread.CellType.TextCellType txttype = new FarPoint.Win.Spread.CellType.TextCellType();

            this.fpSpread1_Sheet1.Columns[0].CellType            = textCellType;
            this.fpSpread1_Sheet1.Columns[0].Width               = 100;
            this.fpSpread1_Sheet1.Columns[0].HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;

            this.fpSpread1_Sheet1.Columns[1].CellType            = textCellType;
            this.fpSpread1_Sheet1.Columns[1].Width               = 140;
            this.fpSpread1_Sheet1.Columns[1].HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;

            this.fpSpread1_Sheet1.Columns[2].CellType            = txttype;
            this.fpSpread1_Sheet1.Columns[2].Width               = 80;
            this.fpSpread1_Sheet1.Columns[2].HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet1.Columns[2].Resizable           = false;

            this.fpSpread1_Sheet1.Columns[5].CellType = numnberCellType;
            this.fpSpread1_Sheet1.Columns[6].CellType = numnberCellType;
            this.fpSpread1_Sheet1.Columns[7].CellType = readOnlyNumnberCellType;
            this.fpSpread1_Sheet1.Columns[8].CellType = readOnlyNumnberCellType;

            this.fpSpread1_Sheet1.Columns[9].Visible = false;
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Text = "单位标识";
            this.fpSpread1_Sheet1.Columns[10].CellType = textCellType;

            this.fpSpread1_Sheet1.Columns [11].Visible = false;

            this.fpSpread1_Sheet1.Columns[7].Locked = true;
            this.fpSpread1_Sheet1.Columns[8].Locked = true;
        }
Example #11
0
        /// <summary>
        /// 初始化
        /// </summary>
        public void Init()
        {
            Neusoft.FrameWork.WinForms.Classes.Function.ShowWaitForm("正在加载基础数据 请稍候...");
            Application.DoEvents();

            Neusoft.HISFC.BizProcess.Integrate.Pharmacy pharmacyIntegrate = new Neusoft.HISFC.BizProcess.Integrate.Pharmacy();
            List <Neusoft.HISFC.Models.Pharmacy.Item>   phaList           = pharmacyIntegrate.QueryItemList(true);

            if (phaList == null)
            {
                MessageBox.Show(Language.Msg("加载药品列表发生错误!") + pharmacyIntegrate.Err);
                return;
            }
            foreach (Neusoft.HISFC.Models.Pharmacy.Item info in phaList)
            {
                info.Memo = info.Specs;
            }

            this.alDrugList = new ArrayList(phaList.ToArray());
            this.drugHelper = new Neusoft.FrameWork.Public.ObjectHelper(this.alDrugList);

            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType markNumCell = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            this.fsStencil_Sheet1.Columns[4].CellType = markNumCell;
            this.fsStencil_Sheet1.Columns[5].CellType = markNumCell;

            this.stencilItemTypeList = Neusoft.HISFC.Models.Preparation.EnumStencilItemTypeService.List();
            string[] strItemType = new string[this.stencilItemTypeList.Count];
            int      i           = 0;

            foreach (Neusoft.FrameWork.Models.NeuObject tempItemType in this.stencilItemTypeList)
            {
                strItemType[i] = tempItemType.Name;
                i++;
            }

            FarPoint.Win.Spread.CellType.ComboBoxCellType itemTypeCombo = new FarPoint.Win.Spread.CellType.ComboBoxCellType();
            itemTypeCombo.Items = strItemType;
            this.fsStencil_Sheet1.Columns[2].CellType = itemTypeCombo;

            Neusoft.FrameWork.WinForms.Classes.Function.HideWaitForm();

            FarPoint.Win.Spread.InputMap im;
            im = this.fsStencil.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused);
            im.Put(new FarPoint.Win.Spread.Keystroke(Keys.Enter, Keys.None), FarPoint.Win.Spread.SpreadActions.None);
        }
        private void InitSpread()
        {
            FarPoint.Win.Spread.CellType.ButtonCellType buttonCellType = new FarPoint.Win.Spread.CellType.ButtonCellType();
            buttonCellType.Text = "...";
            FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType          = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
            FarPoint.Win.Spread.CellType.ComboBoxCellType comboBoxCellType          = new FarPoint.Win.Spread.CellType.ComboBoxCellType();
            FarPoint.Win.Spread.CellType.TextCellType     textCellType              = new FarPoint.Win.Spread.CellType.TextCellType();
            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType numCellType = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            numCellType.DecimalPlaces = 0;
            comboBoxCellType.Items    = new string[] { "TextBox", "CheckBox", "ComboBox", "EditableComboBox", "DateTimePicker", "NumberCellType" };

            this.neuSpread1_Sheet1.OperationMode        = FarPoint.Win.Spread.OperationMode.RowMode;
            this.neuSpread1_Sheet1.RowCount             = 0;
            this.neuSpread1_Sheet1.ColumnCount          = 12;
            this.neuSpread1_Sheet1.Columns[0].Label     = "字段";
            this.neuSpread1_Sheet1.Columns[1].Label     = "名称";
            this.neuSpread1_Sheet1.Columns[2].Label     = "主键";
            this.neuSpread1_Sheet1.Columns[3].Label     = "过滤条件";
            this.neuSpread1_Sheet1.Columns[4].Label     = "锁定";
            this.neuSpread1_Sheet1.Columns[5].Label     = "排序";
            this.neuSpread1_Sheet1.Columns[6].Label     = "显示";
            this.neuSpread1_Sheet1.Columns[7].Label     = "显示类型";
            this.neuSpread1_Sheet1.Columns[8].Label     = "下拉框";
            this.neuSpread1_Sheet1.Columns[9].Label     = "数据类型";
            this.neuSpread1_Sheet1.Columns[10].Label    = "默认值";
            this.neuSpread1_Sheet1.Columns[11].Label    = "长度";
            this.neuSpread1_Sheet1.Columns[0].Locked    = true;
            this.neuSpread1_Sheet1.Columns[2].Locked    = true;
            this.neuSpread1_Sheet1.Columns[9].Locked    = true;
            this.neuSpread1_Sheet1.Columns[11].Locked   = true;
            this.neuSpread1_Sheet1.Columns[2].CellType  = checkBoxCellType;
            this.neuSpread1_Sheet1.Columns[3].CellType  = checkBoxCellType;
            this.neuSpread1_Sheet1.Columns[4].CellType  = checkBoxCellType;
            this.neuSpread1_Sheet1.Columns[5].CellType  = checkBoxCellType;
            this.neuSpread1_Sheet1.Columns[6].CellType  = checkBoxCellType;
            this.neuSpread1_Sheet1.Columns[7].CellType  = comboBoxCellType;
            this.neuSpread1_Sheet1.Columns[8].CellType  = buttonCellType;
            this.neuSpread1_Sheet1.Columns[10].CellType = textCellType;
            this.neuSpread1_Sheet1.Columns[11].CellType = numCellType;
            this.neuSpread1_Sheet1.Columns[0].Width     = 120;
            this.neuSpread1_Sheet1.Columns[1].Width     = 200;
            this.neuSpread1_Sheet1.Columns[7].Width     = 120;
        }
        /// <summary>
        /// 初始化
        /// </summary>
        public void Init()
        {
            FarPoint.Win.Spread.InputMap im;
            im = this.fsMaterial.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused);
            im.Put(new FarPoint.Win.Spread.Keystroke(Keys.Enter, Keys.None), FarPoint.Win.Spread.SpreadActions.None);

            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType markNumCell = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            this.fsMaterial_Sheet1.Columns[(int)MaterialColumnSet.ColQty].CellType = markNumCell;

            List <Neusoft.HISFC.Models.Fee.Item.Undrug> undrugList = this.feeManager.QueryAllItemsList();

            if (undrugList == null)
            {
                MessageBox.Show("获取非药品项目列表发生错误" + feeManager.Err);
                return;
            }

            this.fsMaterial.SetColumnList(this.fsMaterial_Sheet1, new ArrayList(undrugList.ToArray()), 1);
        }
Example #14
0
        /// <summary>
        /// 初始化
        /// </summary>
        protected virtual void Init()
        {
            this.InitControlParam();

            //取医嘱类型,用于将编码转换成名称
            Neusoft.HISFC.BizLogic.Manager.OrderType orderManager = new Neusoft.HISFC.BizLogic.Manager.OrderType();
            this.orderTypeHelper.ArrayObject = orderManager.GetList();

            //合并重复值的列
            this.neuSpread1_DetailSheet.SetColumnMerge(0, FarPoint.Win.Spread.Model.MergePolicy.Always);
            this.neuSpread1_DetailSheet.SetColumnMerge(1, FarPoint.Win.Spread.Model.MergePolicy.Always);

            this.neuSpread2_PatientDetailSheet.SetColumnMerge(0, FarPoint.Win.Spread.Model.MergePolicy.Always);
            this.neuSpread2_PatientDetailSheet.SetColumnMerge(1, FarPoint.Win.Spread.Model.MergePolicy.Always);


            this.neuSpread1_DetailSheet.SetColumnAllowAutoSort(-1, false);

            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType numCellType = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            numCellType.DecimalPlaces = 0;
            this.neuSpread3_DeptDetailSheet.Columns[4].CellType = numCellType;

            Neusoft.HISFC.BizLogic.Pharmacy.DrugStore drugStoreManager = new Neusoft.HISFC.BizLogic.Pharmacy.DrugStore();
            ArrayList alDrugBillClass = drugStoreManager.QueryDrugBillClassList();

            if (alDrugBillClass == null)
            {
                MessageBox.Show(Language.Msg(""));
                return;
            }

            foreach (Neusoft.HISFC.Models.Pharmacy.DrugBillClass info in alDrugBillClass)
            {
                this.hsDrugBillClass.Add(info.ID, info.PrintType);
            }

            //集中发送方式选择摆药导致打印单子混乱,先封掉 {C388ED06-DFF8-4a9a-9359-1929F95CEEB7} wbo 2010-11-27
            this.neuSpread1_DetailSheet.Columns[2].Locked = true;
        }
        /// <summary>
        /// 初始化
        /// </summary>
        public void Init()
        {
            Neusoft.FrameWork.WinForms.Classes.Function.ShowWaitForm("正在加载基础数据 请稍候...");
            Application.DoEvents();

            Neusoft.HISFC.BizProcess.Integrate.Pharmacy pharmacyIntegrate = new Neusoft.HISFC.BizProcess.Integrate.Pharmacy();
            List <Neusoft.HISFC.Models.Pharmacy.Item>   phaList           = pharmacyIntegrate.QueryItemList(true);

            if (phaList == null)
            {
                MessageBox.Show(Language.Msg("加载药品列表发生错误!") + pharmacyIntegrate.Err);
                return;
            }
            foreach (Neusoft.HISFC.Models.Pharmacy.Item info in phaList)
            {
                info.Memo = info.Specs;
            }

            this.alDrugList = new ArrayList(phaList.ToArray());
            this.drugHelper = new Neusoft.FrameWork.Public.ObjectHelper(this.alDrugList);

            FarPoint.Win.Spread.InputMap im;
            im = this.fsMaterial.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused);
            im.Put(new FarPoint.Win.Spread.Keystroke(Keys.Enter, Keys.None), FarPoint.Win.Spread.SpreadActions.None);

            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType markNumCell = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            this.fsMaterial_Sheet1.Columns[(int)MaterialColumnSet.ColQty].CellType = markNumCell;

            this.fsMaterial.PhaListColumnIndex = 1;
            this.fsMaterial.PhaListEnabled     = true;
            this.fsMaterial.Init();

            this.GetInterface();

            Neusoft.FrameWork.WinForms.Classes.Function.HideWaitForm();
        }
Example #16
0
 private void ucWrapper_Load(object sender, EventArgs e)
 {
     Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType markNumCell = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
     this.fsWrapper_Sheet1.Columns[(int)MaterialColumnSet.ColQty].CellType = markNumCell;
 }
        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。

        /// </summary>
        private void InitializeComponent()
        {
            FarPoint.Win.Spread.TipAppearance              tipAppearance1            = new FarPoint.Win.Spread.TipAppearance();
            FarPoint.Win.Spread.CellType.TextCellType      textCellType1             = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.TextCellType      textCellType2             = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.TextCellType      textCellType3             = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.DateTimeCellType  dateTimeCellType1         = new FarPoint.Win.Spread.CellType.DateTimeCellType();
            System.ComponentModel.ComponentResourceManager resources                 = new System.ComponentModel.ComponentResourceManager(typeof(ucMedTechBookingArrange));
            FarPoint.Win.Spread.CellType.DateTimeCellType  dateTimeCellType2         = new FarPoint.Win.Spread.CellType.DateTimeCellType();
            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType numCellType1 = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType numCellType2 = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType numCellType3 = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType numCellType4 = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            this.fpSpread1        = new Neusoft.FrameWork.WinForms.Controls.NeuFpEnter();
            this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
            this.SuspendLayout();
            //
            // fpSpread1
            //
            this.fpSpread1.About = "2.5.2007.2005";
            this.fpSpread1.AccessibleDescription = "fpSpread1, Sheet1";
            this.fpSpread1.BackColor             = System.Drawing.SystemColors.Control;
            this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.fpSpread1.EditModePermanent         = true;
            this.fpSpread1.EditModeReplace           = true;
            this.fpSpread1.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.fpSpread1.Location   = new System.Drawing.Point(0, 0);
            this.fpSpread1.Name       = "fpSpread1";
            this.fpSpread1.SelectNone = false;
            this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
                this.fpSpread1_Sheet1
            });
            this.fpSpread1.ShowListWhenOfFocus = false;
            this.fpSpread1.Size                    = new System.Drawing.Size(749, 473);
            this.fpSpread1.TabIndex                = 0;
            tipAppearance1.BackColor               = System.Drawing.SystemColors.Info;
            tipAppearance1.Font                    = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            tipAppearance1.ForeColor               = System.Drawing.SystemColors.InfoText;
            this.fpSpread1.TextTipAppearance       = tipAppearance1;
            this.fpSpread1.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.fpSpread1.KeyEnter               += new Neusoft.FrameWork.WinForms.Controls.NeuFpEnter.keyDown(this.fpSpread1_KeyEnter);
            //
            // fpSpread1_Sheet1
            //
            this.fpSpread1_Sheet1.Reset();
            this.fpSpread1_Sheet1.SheetName = "Sheet1";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.fpSpread1_Sheet1.ColumnCount    = 12;
            this.fpSpread1_Sheet1.RowCount       = 0;
            this.fpSpread1_Sheet1.ActiveSkin     = new FarPoint.Win.Spread.SheetSkin("CustomSkin1", System.Drawing.Color.White, System.Drawing.Color.Empty, System.Drawing.Color.Empty, System.Drawing.Color.LightGray, FarPoint.Win.Spread.GridLines.Both, System.Drawing.Color.White, System.Drawing.Color.Empty, System.Drawing.Color.Empty, System.Drawing.Color.Empty, System.Drawing.Color.Empty, System.Drawing.Color.Empty, false, false, false, true, true);
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value  = "项目代码";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value  = "项目名称";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value  = "午别";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value  = "开始时间";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value  = "结束时间";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value  = "预约限额";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value  = "特诊预约限额";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value  = "已经预约数";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value  = "特诊预约数";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value  = "旧午别";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "单位标识";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "执行设备";
            this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.White;
            this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.Locked    = false;
            this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.Parent    = "HeaderDefault";
            this.fpSpread1_Sheet1.Columns.Get(0).CellType             = textCellType1;
            this.fpSpread1_Sheet1.Columns.Get(0).Label    = "项目代码";
            this.fpSpread1_Sheet1.Columns.Get(0).Width    = 90F;
            this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType2;
            this.fpSpread1_Sheet1.Columns.Get(1).Label    = "项目名称";
            this.fpSpread1_Sheet1.Columns.Get(1).Width    = 120F;
            this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType3;
            this.fpSpread1_Sheet1.Columns.Get(2).Label    = "午别";
            dateTimeCellType1.Calendar       = ((System.Globalization.Calendar)(resources.GetObject("dateTimeCellType1.Calendar")));
            dateTimeCellType1.DateDefault    = new System.DateTime(2008, 7, 15, 15, 25, 50, 0);
            dateTimeCellType1.DateTimeFormat = FarPoint.Win.Spread.CellType.DateTimeFormat.TimeOnly;
            dateTimeCellType1.TimeDefault    = new System.DateTime(2008, 7, 15, 15, 25, 50, 0);
            this.fpSpread1_Sheet1.Columns.Get(3).CellType = dateTimeCellType1;
            this.fpSpread1_Sheet1.Columns.Get(3).Label    = "开始时间";
            this.fpSpread1_Sheet1.Columns.Get(3).Width    = 101F;
            dateTimeCellType2.Calendar       = ((System.Globalization.Calendar)(resources.GetObject("dateTimeCellType2.Calendar")));
            dateTimeCellType2.DateDefault    = new System.DateTime(2008, 7, 15, 15, 26, 11, 0);
            dateTimeCellType2.DateTimeFormat = FarPoint.Win.Spread.CellType.DateTimeFormat.TimeOnly;
            dateTimeCellType2.TimeDefault    = new System.DateTime(2008, 7, 15, 15, 26, 11, 0);
            this.fpSpread1_Sheet1.Columns.Get(4).CellType = dateTimeCellType2;
            this.fpSpread1_Sheet1.Columns.Get(4).Label    = "结束时间";
            this.fpSpread1_Sheet1.Columns.Get(4).Width    = 100F;
            this.fpSpread1_Sheet1.Columns.Get(5).CellType = numCellType1;
            this.fpSpread1_Sheet1.Columns.Get(5).Label    = "预约限额";
            this.fpSpread1_Sheet1.Columns.Get(5).Width    = 80F;
            this.fpSpread1_Sheet1.Columns.Get(6).CellType = numCellType2;
            this.fpSpread1_Sheet1.Columns.Get(6).Label    = "特诊预约限额";
            this.fpSpread1_Sheet1.Columns.Get(6).Width    = 100F;
            numCellType3.ReadOnly = true;
            this.fpSpread1_Sheet1.Columns.Get(7).CellType = numCellType3;
            this.fpSpread1_Sheet1.Columns.Get(7).Label    = "已经预约数";
            this.fpSpread1_Sheet1.Columns.Get(7).Width    = 100F;
            numCellType4.ReadOnly = true;
            this.fpSpread1_Sheet1.Columns.Get(8).CellType             = numCellType4;
            this.fpSpread1_Sheet1.Columns.Get(8).Label                = "特诊预约数";
            this.fpSpread1_Sheet1.Columns.Get(8).Width                = 90F;
            this.fpSpread1_Sheet1.Columns.Get(9).Label                = "旧午别";
            this.fpSpread1_Sheet1.Columns.Get(9).Visible              = false;
            this.fpSpread1_Sheet1.Columns.Get(10).Label               = "单位标识";
            this.fpSpread1_Sheet1.Columns.Get(10).Visible             = false;
            this.fpSpread1_Sheet1.Columns.Get(11).Label               = "执行设备";
            this.fpSpread1_Sheet1.Columns.Get(11).Width               = 85F;
            this.fpSpread1_Sheet1.OperationMode                       = FarPoint.Win.Spread.OperationMode.RowMode;
            this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
            this.fpSpread1_Sheet1.RowHeader.Columns.Get(0).Width      = 37F;
            this.fpSpread1_Sheet1.RowHeader.DefaultStyle.BackColor    = System.Drawing.Color.White;
            this.fpSpread1_Sheet1.RowHeader.DefaultStyle.Locked       = false;
            this.fpSpread1_Sheet1.RowHeader.DefaultStyle.Parent       = "HeaderDefault";
            this.fpSpread1_Sheet1.SheetCornerStyle.BackColor          = System.Drawing.Color.White;
            this.fpSpread1_Sheet1.SheetCornerStyle.Locked             = false;
            this.fpSpread1_Sheet1.SheetCornerStyle.Parent             = "HeaderDefault";
            this.fpSpread1_Sheet1.ReferenceStyle                      = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
            this.fpSpread1.SetActiveViewport(1, 0);
            //
            // ucMedTechBookingArrange
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.fpSpread1);
            this.Name = "ucMedTechBookingArrange";
            this.Size = new System.Drawing.Size(749, 473);
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
            this.ResumeLayout(false);
        }
        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。

        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            FarPoint.Win.Spread.TipAppearance         tipAppearance1 = new FarPoint.Win.Spread.TipAppearance();
            FarPoint.Win.Spread.CellType.TextCellType textCellType1  = new FarPoint.Win.Spread.CellType.TextCellType();
            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType numCellType1 = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType numCellType2 = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            FarPoint.Win.Spread.TipAppearance              tipAppearance2            = new FarPoint.Win.Spread.TipAppearance();
            FarPoint.Win.Spread.CellType.TextCellType      textCellType2             = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.DateTimeCellType  dateTimeCellType1         = new FarPoint.Win.Spread.CellType.DateTimeCellType();
            System.ComponentModel.ComponentResourceManager resources                 = new System.ComponentModel.ComponentResourceManager(typeof(ucConfirmRecord));
            FarPoint.Win.Spread.CellType.TextCellType      textCellType3             = new FarPoint.Win.Spread.CellType.TextCellType();
            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType numCellType3 = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType numCellType4 = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            this.neuPanelPatient                     = new Neusoft.FrameWork.WinForms.Controls.NeuPanel();
            this.neuButtonOK                         = new Neusoft.FrameWork.WinForms.Controls.NeuButton();
            this.neuTextBoxSex                       = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
            this.neuLabelSex                         = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.neuTextBoxName                      = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
            this.neuLabelName                        = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.neuTextBoxCardNO                    = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
            this.neuLabelCardNO                      = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.neuPanelItem                        = new Neusoft.FrameWork.WinForms.Controls.NeuPanel();
            this.neuPanelItemGrid                    = new Neusoft.FrameWork.WinForms.Controls.NeuPanel();
            this.neuSpreadItem                       = new Neusoft.FrameWork.WinForms.Controls.NeuSpread();
            this.neuSpreadItem_SheetItem             = new FarPoint.Win.Spread.SheetView();
            this.neuPanelItemTitle                   = new Neusoft.FrameWork.WinForms.Controls.NeuPanel();
            this.neuLabelItemTitle                   = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.neuSplitter1                        = new Neusoft.FrameWork.WinForms.Controls.NeuSplitter();
            this.neuPanelConfirm                     = new Neusoft.FrameWork.WinForms.Controls.NeuPanel();
            this.neuPanelConfirmGrid                 = new Neusoft.FrameWork.WinForms.Controls.NeuPanel();
            this.neuSpreadItemDetail                 = new Neusoft.FrameWork.WinForms.Controls.NeuSpread();
            this.contextMenuStrip1                   = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.取消确认ToolStripMenuItem               = new System.Windows.Forms.ToolStripMenuItem();
            this.neuSpreadItemDetail_SheetItemDetail = new FarPoint.Win.Spread.SheetView();
            this.neuPanelConfirmTitle                = new Neusoft.FrameWork.WinForms.Controls.NeuPanel();
            this.neuLabelConfirmTitle                = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.neuPanelPatient.SuspendLayout();
            this.neuPanelItem.SuspendLayout();
            this.neuPanelItemGrid.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpreadItem)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpreadItem_SheetItem)).BeginInit();
            this.neuPanelItemTitle.SuspendLayout();
            this.neuPanelConfirm.SuspendLayout();
            this.neuPanelConfirmGrid.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpreadItemDetail)).BeginInit();
            this.contextMenuStrip1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpreadItemDetail_SheetItemDetail)).BeginInit();
            this.neuPanelConfirmTitle.SuspendLayout();
            this.SuspendLayout();
            //
            // neuPanelPatient
            //
            this.neuPanelPatient.Controls.Add(this.neuButtonOK);
            this.neuPanelPatient.Controls.Add(this.neuTextBoxSex);
            this.neuPanelPatient.Controls.Add(this.neuLabelSex);
            this.neuPanelPatient.Controls.Add(this.neuTextBoxName);
            this.neuPanelPatient.Controls.Add(this.neuLabelName);
            this.neuPanelPatient.Controls.Add(this.neuTextBoxCardNO);
            this.neuPanelPatient.Controls.Add(this.neuLabelCardNO);
            this.neuPanelPatient.Dock     = System.Windows.Forms.DockStyle.Top;
            this.neuPanelPatient.Location = new System.Drawing.Point(0, 0);
            this.neuPanelPatient.Name     = "neuPanelPatient";
            this.neuPanelPatient.Size     = new System.Drawing.Size(643, 46);
            this.neuPanelPatient.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuPanelPatient.TabIndex = 0;
            //
            // neuButtonOK
            //
            this.neuButtonOK.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.neuButtonOK.Location   = new System.Drawing.Point(535, 11);
            this.neuButtonOK.Name       = "neuButtonOK";
            this.neuButtonOK.Size       = new System.Drawing.Size(75, 23);
            this.neuButtonOK.Style      = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuButtonOK.TabIndex   = 6;
            this.neuButtonOK.Text       = "确定";
            this.neuButtonOK.Type       = Neusoft.FrameWork.WinForms.Controls.General.ButtonType.None;
            this.neuButtonOK.UseVisualStyleBackColor = true;
            this.neuButtonOK.Visible = false;
            this.neuButtonOK.Click  += new System.EventHandler(this.neuButtonOK_Click);
            //
            // neuTextBoxSex
            //
            this.neuTextBoxSex.Enabled     = false;
            this.neuTextBoxSex.IsEnter2Tab = false;
            this.neuTextBoxSex.Location    = new System.Drawing.Point(415, 12);
            this.neuTextBoxSex.Name        = "neuTextBoxSex";
            this.neuTextBoxSex.ReadOnly    = true;
            this.neuTextBoxSex.Size        = new System.Drawing.Size(100, 21);
            this.neuTextBoxSex.Style       = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuTextBoxSex.TabIndex    = 5;
            //
            // neuLabelSex
            //
            this.neuLabelSex.AutoSize = true;
            this.neuLabelSex.Location = new System.Drawing.Point(360, 17);
            this.neuLabelSex.Name     = "neuLabelSex";
            this.neuLabelSex.Size     = new System.Drawing.Size(53, 12);
            this.neuLabelSex.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuLabelSex.TabIndex = 4;
            this.neuLabelSex.Text     = "患者性别";
            //
            // neuTextBoxName
            //
            this.neuTextBoxName.Enabled     = false;
            this.neuTextBoxName.IsEnter2Tab = false;
            this.neuTextBoxName.Location    = new System.Drawing.Point(240, 13);
            this.neuTextBoxName.Name        = "neuTextBoxName";
            this.neuTextBoxName.ReadOnly    = true;
            this.neuTextBoxName.Size        = new System.Drawing.Size(100, 21);
            this.neuTextBoxName.Style       = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuTextBoxName.TabIndex    = 3;
            //
            // neuLabelName
            //
            this.neuLabelName.AutoSize = true;
            this.neuLabelName.Location = new System.Drawing.Point(186, 17);
            this.neuLabelName.Name     = "neuLabelName";
            this.neuLabelName.Size     = new System.Drawing.Size(53, 12);
            this.neuLabelName.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuLabelName.TabIndex = 2;
            this.neuLabelName.Text     = "患者姓名";
            //
            // neuTextBoxCardNO
            //
            this.neuTextBoxCardNO.IsEnter2Tab = false;
            this.neuTextBoxCardNO.Location    = new System.Drawing.Point(66, 12);
            this.neuTextBoxCardNO.Name        = "neuTextBoxCardNO";
            this.neuTextBoxCardNO.Size        = new System.Drawing.Size(100, 21);
            this.neuTextBoxCardNO.Style       = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuTextBoxCardNO.TabIndex    = 1;
            this.neuTextBoxCardNO.Enter      += new System.EventHandler(this.neuTextBoxCardNO_Enter);
            this.neuTextBoxCardNO.KeyDown    += new System.Windows.Forms.KeyEventHandler(this.neuTextBoxCardNO_KeyDown);
            //
            // neuLabelCardNO
            //
            this.neuLabelCardNO.AutoSize = true;
            this.neuLabelCardNO.Location = new System.Drawing.Point(12, 17);
            this.neuLabelCardNO.Name     = "neuLabelCardNO";
            this.neuLabelCardNO.Size     = new System.Drawing.Size(53, 12);
            this.neuLabelCardNO.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuLabelCardNO.TabIndex = 0;
            this.neuLabelCardNO.Text     = "病 历 号";
            //
            // neuPanelItem
            //
            this.neuPanelItem.Controls.Add(this.neuPanelItemGrid);
            this.neuPanelItem.Controls.Add(this.neuPanelItemTitle);
            this.neuPanelItem.Dock     = System.Windows.Forms.DockStyle.Top;
            this.neuPanelItem.Location = new System.Drawing.Point(0, 46);
            this.neuPanelItem.Name     = "neuPanelItem";
            this.neuPanelItem.Size     = new System.Drawing.Size(643, 217);
            this.neuPanelItem.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuPanelItem.TabIndex = 2;
            //
            // neuPanelItemGrid
            //
            this.neuPanelItemGrid.Controls.Add(this.neuSpreadItem);
            this.neuPanelItemGrid.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.neuPanelItemGrid.Location = new System.Drawing.Point(0, 23);
            this.neuPanelItemGrid.Name     = "neuPanelItemGrid";
            this.neuPanelItemGrid.Size     = new System.Drawing.Size(643, 194);
            this.neuPanelItemGrid.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuPanelItemGrid.TabIndex = 1;
            //
            // neuSpreadItem
            //
            this.neuSpreadItem.About = "2.5.2007.2005";
            this.neuSpreadItem.AccessibleDescription = "neuSpreadItem, Sheet1, Row 0, Column 0, ";
            this.neuSpreadItem.BackColor             = System.Drawing.Color.White;
            this.neuSpreadItem.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.neuSpreadItem.FileName = "";
            this.neuSpreadItem.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.neuSpreadItem.IsAutoSaveGridStatus      = false;
            this.neuSpreadItem.IsCanCustomConfigColumn   = false;
            this.neuSpreadItem.Location = new System.Drawing.Point(0, 0);
            this.neuSpreadItem.Name     = "neuSpreadItem";
            this.neuSpreadItem.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
                this.neuSpreadItem_SheetItem
            });
            this.neuSpreadItem.Size                    = new System.Drawing.Size(643, 194);
            this.neuSpreadItem.Style                   = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuSpreadItem.TabIndex                = 0;
            tipAppearance1.BackColor                   = System.Drawing.SystemColors.Info;
            tipAppearance1.Font                        = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            tipAppearance1.ForeColor                   = System.Drawing.SystemColors.InfoText;
            this.neuSpreadItem.TextTipAppearance       = tipAppearance1;
            this.neuSpreadItem.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.neuSpreadItem.CellDoubleClick        += new FarPoint.Win.Spread.CellClickEventHandler(this.neuSpreadItem_CellDoubleClick);
            //
            // neuSpreadItem_SheetItem
            //
            this.neuSpreadItem_SheetItem.Reset();
            this.neuSpreadItem_SheetItem.SheetName = "Sheet1";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.neuSpreadItem_SheetItem.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.neuSpreadItem_SheetItem.ColumnCount    = 6;
            this.neuSpreadItem_SheetItem.RowCount       = 0;
            this.neuSpreadItem_SheetItem.ColumnHeader.Cells.Get(0, 0).Value = "状态";
            this.neuSpreadItem_SheetItem.ColumnHeader.Cells.Get(0, 1).Value = "项目名称";
            this.neuSpreadItem_SheetItem.ColumnHeader.Cells.Get(0, 2).Value = "开立数量";
            this.neuSpreadItem_SheetItem.ColumnHeader.Cells.Get(0, 3).Value = "剩余数量";
            this.neuSpreadItem_SheetItem.ColumnHeader.Cells.Get(0, 4).Value = "开立医生";
            this.neuSpreadItem_SheetItem.ColumnHeader.Cells.Get(0, 5).Value = "开立科室";
            this.neuSpreadItem_SheetItem.Columns.Get(0).CellType            = textCellType1;
            this.neuSpreadItem_SheetItem.Columns.Get(0).Label                = "状态";
            this.neuSpreadItem_SheetItem.Columns.Get(0).Width                = 80F;
            this.neuSpreadItem_SheetItem.Columns.Get(1).Label                = "项目名称";
            this.neuSpreadItem_SheetItem.Columns.Get(1).Width                = 200F;
            this.neuSpreadItem_SheetItem.Columns.Get(2).CellType             = numCellType1;
            this.neuSpreadItem_SheetItem.Columns.Get(2).Label                = "开立数量";
            this.neuSpreadItem_SheetItem.Columns.Get(2).Width                = 80F;
            this.neuSpreadItem_SheetItem.Columns.Get(3).CellType             = numCellType2;
            this.neuSpreadItem_SheetItem.Columns.Get(3).Label                = "剩余数量";
            this.neuSpreadItem_SheetItem.Columns.Get(3).Width                = 80F;
            this.neuSpreadItem_SheetItem.Columns.Get(4).Label                = "开立医生";
            this.neuSpreadItem_SheetItem.Columns.Get(4).Width                = 80F;
            this.neuSpreadItem_SheetItem.Columns.Get(5).Label                = "开立科室";
            this.neuSpreadItem_SheetItem.Columns.Get(5).Width                = 120F;
            this.neuSpreadItem_SheetItem.OperationMode                       = FarPoint.Win.Spread.OperationMode.SingleSelect;
            this.neuSpreadItem_SheetItem.RowHeader.Columns.Default.Resizable = false;
            this.neuSpreadItem_SheetItem.RowHeader.Columns.Get(0).Width      = 37F;
            this.neuSpreadItem_SheetItem.SelectionPolicy                     = FarPoint.Win.Spread.Model.SelectionPolicy.Single;
            this.neuSpreadItem_SheetItem.SelectionUnit                       = FarPoint.Win.Spread.Model.SelectionUnit.Row;
            this.neuSpreadItem_SheetItem.ReferenceStyle                      = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
            this.neuSpreadItem.SetActiveViewport(1, 0);
            //
            // neuPanelItemTitle
            //
            this.neuPanelItemTitle.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.neuPanelItemTitle.Controls.Add(this.neuLabelItemTitle);
            this.neuPanelItemTitle.Dock     = System.Windows.Forms.DockStyle.Top;
            this.neuPanelItemTitle.Location = new System.Drawing.Point(0, 0);
            this.neuPanelItemTitle.Name     = "neuPanelItemTitle";
            this.neuPanelItemTitle.Size     = new System.Drawing.Size(643, 23);
            this.neuPanelItemTitle.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuPanelItemTitle.TabIndex = 0;
            //
            // neuLabelItemTitle
            //
            this.neuLabelItemTitle.AutoSize = true;
            this.neuLabelItemTitle.Location = new System.Drawing.Point(9, 5);
            this.neuLabelItemTitle.Name     = "neuLabelItemTitle";
            this.neuLabelItemTitle.Size     = new System.Drawing.Size(137, 12);
            this.neuLabelItemTitle.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuLabelItemTitle.TabIndex = 0;
            this.neuLabelItemTitle.Text     = "医生开立的收费项目明细";
            //
            // neuSplitter1
            //
            this.neuSplitter1.Dock     = System.Windows.Forms.DockStyle.Top;
            this.neuSplitter1.Location = new System.Drawing.Point(0, 263);
            this.neuSplitter1.Name     = "neuSplitter1";
            this.neuSplitter1.Size     = new System.Drawing.Size(643, 5);
            this.neuSplitter1.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuSplitter1.TabIndex = 3;
            this.neuSplitter1.TabStop  = false;
            //
            // neuPanelConfirm
            //
            this.neuPanelConfirm.Controls.Add(this.neuPanelConfirmGrid);
            this.neuPanelConfirm.Controls.Add(this.neuPanelConfirmTitle);
            this.neuPanelConfirm.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.neuPanelConfirm.Location = new System.Drawing.Point(0, 268);
            this.neuPanelConfirm.Name     = "neuPanelConfirm";
            this.neuPanelConfirm.Size     = new System.Drawing.Size(643, 206);
            this.neuPanelConfirm.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuPanelConfirm.TabIndex = 4;
            //
            // neuPanelConfirmGrid
            //
            this.neuPanelConfirmGrid.Controls.Add(this.neuSpreadItemDetail);
            this.neuPanelConfirmGrid.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.neuPanelConfirmGrid.Location = new System.Drawing.Point(0, 23);
            this.neuPanelConfirmGrid.Name     = "neuPanelConfirmGrid";
            this.neuPanelConfirmGrid.Size     = new System.Drawing.Size(643, 183);
            this.neuPanelConfirmGrid.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuPanelConfirmGrid.TabIndex = 1;
            //
            // neuSpreadItemDetail
            //
            this.neuSpreadItemDetail.About = "2.5.2007.2005";
            this.neuSpreadItemDetail.AccessibleDescription = "neuSpreadItemDetail, Sheet1, Row 0, Column 0, ";
            this.neuSpreadItemDetail.BackColor             = System.Drawing.Color.White;
            this.neuSpreadItemDetail.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.neuSpreadItemDetail.FileName = "";
            this.neuSpreadItemDetail.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.neuSpreadItemDetail.IsAutoSaveGridStatus      = false;
            this.neuSpreadItemDetail.IsCanCustomConfigColumn   = false;
            this.neuSpreadItemDetail.Location = new System.Drawing.Point(0, 0);
            this.neuSpreadItemDetail.Name     = "neuSpreadItemDetail";
            this.neuSpreadItemDetail.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
                this.neuSpreadItemDetail_SheetItemDetail
            });
            this.neuSpreadItemDetail.Size     = new System.Drawing.Size(643, 183);
            this.neuSpreadItemDetail.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuSpreadItemDetail.TabIndex = 0;
            tipAppearance2.BackColor          = System.Drawing.SystemColors.Info;
            tipAppearance2.Font      = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            tipAppearance2.ForeColor = System.Drawing.SystemColors.InfoText;
            this.neuSpreadItemDetail.TextTipAppearance       = tipAppearance2;
            this.neuSpreadItemDetail.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            //
            // contextMenuStrip1
            //
            this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.取消确认ToolStripMenuItem
            });
            this.contextMenuStrip1.Name = "contextMenuStrip1";
            this.contextMenuStrip1.Size = new System.Drawing.Size(119, 26);
            //
            // 取消确认ToolStripMenuItem
            //
            this.取消确认ToolStripMenuItem.Name   = "取消确认ToolStripMenuItem";
            this.取消确认ToolStripMenuItem.Size   = new System.Drawing.Size(118, 22);
            this.取消确认ToolStripMenuItem.Text   = "取消确认";
            this.取消确认ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
            //
            // neuSpreadItemDetail_SheetItemDetail
            //
            this.neuSpreadItemDetail_SheetItemDetail.Reset();
            this.neuSpreadItemDetail_SheetItemDetail.SheetName = "Sheet1";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.neuSpreadItemDetail_SheetItemDetail.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.neuSpreadItemDetail_SheetItemDetail.ColumnCount    = 6;
            this.neuSpreadItemDetail_SheetItemDetail.RowCount       = 0;
            this.neuSpreadItemDetail_SheetItemDetail.ColumnHeader.Cells.Get(0, 0).Value = "状态";
            this.neuSpreadItemDetail_SheetItemDetail.ColumnHeader.Cells.Get(0, 1).Value = "执行科室名称";
            this.neuSpreadItemDetail_SheetItemDetail.ColumnHeader.Cells.Get(0, 2).Value = "执行时间";
            this.neuSpreadItemDetail_SheetItemDetail.ColumnHeader.Cells.Get(0, 3).Value = "执行人";
            this.neuSpreadItemDetail_SheetItemDetail.ColumnHeader.Cells.Get(0, 4).Value = "执行数量";
            this.neuSpreadItemDetail_SheetItemDetail.ColumnHeader.Cells.Get(0, 5).Value = "剩余数量";
            this.neuSpreadItemDetail_SheetItemDetail.Columns.Get(0).Label    = "状态";
            this.neuSpreadItemDetail_SheetItemDetail.Columns.Get(0).Width    = 80F;
            this.neuSpreadItemDetail_SheetItemDetail.Columns.Get(1).CellType = textCellType2;
            this.neuSpreadItemDetail_SheetItemDetail.Columns.Get(1).Label    = "执行科室名称";
            this.neuSpreadItemDetail_SheetItemDetail.Columns.Get(1).Width    = 150F;
            dateTimeCellType1.Calendar    = ((System.Globalization.Calendar)(resources.GetObject("dateTimeCellType1.Calendar")));
            dateTimeCellType1.DateDefault = new System.DateTime(2007, 3, 10, 8, 53, 23, 0);
            dateTimeCellType1.TimeDefault = new System.DateTime(2007, 3, 10, 8, 53, 23, 0);
            this.neuSpreadItemDetail_SheetItemDetail.Columns.Get(2).CellType             = dateTimeCellType1;
            this.neuSpreadItemDetail_SheetItemDetail.Columns.Get(2).Label                = "执行时间";
            this.neuSpreadItemDetail_SheetItemDetail.Columns.Get(2).Width                = 120F;
            this.neuSpreadItemDetail_SheetItemDetail.Columns.Get(3).CellType             = textCellType3;
            this.neuSpreadItemDetail_SheetItemDetail.Columns.Get(3).Label                = "执行人";
            this.neuSpreadItemDetail_SheetItemDetail.Columns.Get(3).Width                = 80F;
            this.neuSpreadItemDetail_SheetItemDetail.Columns.Get(4).CellType             = numCellType3;
            this.neuSpreadItemDetail_SheetItemDetail.Columns.Get(4).Label                = "执行数量";
            this.neuSpreadItemDetail_SheetItemDetail.Columns.Get(4).Width                = 80F;
            this.neuSpreadItemDetail_SheetItemDetail.Columns.Get(5).CellType             = numCellType4;
            this.neuSpreadItemDetail_SheetItemDetail.Columns.Get(5).Label                = "剩余数量";
            this.neuSpreadItemDetail_SheetItemDetail.Columns.Get(5).Width                = 80F;
            this.neuSpreadItemDetail_SheetItemDetail.OperationMode                       = FarPoint.Win.Spread.OperationMode.SingleSelect;
            this.neuSpreadItemDetail_SheetItemDetail.RowHeader.Columns.Default.Resizable = false;
            this.neuSpreadItemDetail_SheetItemDetail.RowHeader.Columns.Get(0).Width      = 37F;
            this.neuSpreadItemDetail_SheetItemDetail.SelectionPolicy                     = FarPoint.Win.Spread.Model.SelectionPolicy.Single;
            this.neuSpreadItemDetail_SheetItemDetail.SelectionUnit                       = FarPoint.Win.Spread.Model.SelectionUnit.Row;
            this.neuSpreadItemDetail_SheetItemDetail.ReferenceStyle                      = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
            this.neuSpreadItemDetail.SetActiveViewport(1, 0);
            //
            // neuPanelConfirmTitle
            //
            this.neuPanelConfirmTitle.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.neuPanelConfirmTitle.Controls.Add(this.neuLabelConfirmTitle);
            this.neuPanelConfirmTitle.Dock     = System.Windows.Forms.DockStyle.Top;
            this.neuPanelConfirmTitle.Location = new System.Drawing.Point(0, 0);
            this.neuPanelConfirmTitle.Name     = "neuPanelConfirmTitle";
            this.neuPanelConfirmTitle.Size     = new System.Drawing.Size(643, 23);
            this.neuPanelConfirmTitle.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuPanelConfirmTitle.TabIndex = 0;
            //
            // neuLabelConfirmTitle
            //
            this.neuLabelConfirmTitle.AutoSize = true;
            this.neuLabelConfirmTitle.Location = new System.Drawing.Point(9, 6);
            this.neuLabelConfirmTitle.Name     = "neuLabelConfirmTitle";
            this.neuLabelConfirmTitle.Size     = new System.Drawing.Size(173, 12);
            this.neuLabelConfirmTitle.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuLabelConfirmTitle.TabIndex = 0;
            this.neuLabelConfirmTitle.Text     = "开立的收费项目对应的执行明细";
            //
            // ucConfirmRecord
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.neuPanelConfirm);
            this.Controls.Add(this.neuSplitter1);
            this.Controls.Add(this.neuPanelItem);
            this.Controls.Add(this.neuPanelPatient);
            this.Name = "ucConfirmRecord";
            this.Size = new System.Drawing.Size(643, 474);
            this.neuPanelPatient.ResumeLayout(false);
            this.neuPanelPatient.PerformLayout();
            this.neuPanelItem.ResumeLayout(false);
            this.neuPanelItemGrid.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.neuSpreadItem)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpreadItem_SheetItem)).EndInit();
            this.neuPanelItemTitle.ResumeLayout(false);
            this.neuPanelItemTitle.PerformLayout();
            this.neuPanelConfirm.ResumeLayout(false);
            this.neuPanelConfirmGrid.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.neuSpreadItemDetail)).EndInit();
            this.contextMenuStrip1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.neuSpreadItemDetail_SheetItemDetail)).EndInit();
            this.neuPanelConfirmTitle.ResumeLayout(false);
            this.neuPanelConfirmTitle.PerformLayout();
            this.ResumeLayout(false);
        }
Example #19
0
        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。

        /// </summary>
        private void InitializeComponent()
        {
            FarPoint.Win.Spread.TipAppearance             tipAppearance1             = new FarPoint.Win.Spread.TipAppearance();
            FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1          = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
            FarPoint.Win.Spread.CellType.TextCellType     textCellType1              = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.TextCellType     textCellType2              = new FarPoint.Win.Spread.CellType.TextCellType();
            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType numCellType1 = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType();
            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType numCellType2 = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType numCellType3 = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            FarPoint.Win.Spread.CellType.TextCellType     textCellType4              = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.ComboBoxCellType comboBoxCellType1          = new FarPoint.Win.Spread.CellType.ComboBoxCellType();
            FarPoint.Win.Spread.CellType.TextCellType     textCellType5              = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.TextCellType     textCellType6              = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.TextCellType     textCellType7              = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.TextCellType     textCellType8              = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.TextCellType     textCellType9              = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.TextCellType     textCellType10             = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.TextCellType     textCellType11             = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.TextCellType     textCellType12             = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.TextCellType     textCellType13             = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.ComboBoxCellType comboBoxCellType2          = new FarPoint.Win.Spread.CellType.ComboBoxCellType();
            FarPoint.Win.Spread.CellType.TextCellType     textCellType14             = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.TipAppearance             tipAppearance2             = new FarPoint.Win.Spread.TipAppearance();
            FarPoint.Win.Spread.CellType.GeneralCellType  generalCellType1           = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.CellType.TextCellType     textCellType15             = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.GeneralCellType  generalCellType2           = new FarPoint.Win.Spread.CellType.GeneralCellType();
            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType numCellType4 = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType numCellType5 = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType();
            this.neuPanelTerminalApply      = new Neusoft.FrameWork.WinForms.Controls.NeuPanel();
            this.neuPanelApplyGrid          = new Neusoft.FrameWork.WinForms.Controls.NeuPanel();
            this.fpSpread1                  = new Neusoft.FrameWork.WinForms.Controls.NeuFpEnter();
            this.fpSpread1_Sheet1           = new FarPoint.Win.Spread.SheetView();
            this.neuPanelApplyTitle         = new Neusoft.FrameWork.WinForms.Controls.NeuPanel();
            this.neuLabelApplyTitle         = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.neuPanelInvoiceInformation = new Neusoft.FrameWork.WinForms.Controls.NeuPanel();
            this.fpSpread2                  = new Neusoft.FrameWork.WinForms.Controls.NeuSpread();
            this.fpSpread2_Sheet1           = new FarPoint.Win.Spread.SheetView();
            this.neuPanelInvoiceTitle       = new Neusoft.FrameWork.WinForms.Controls.NeuPanel();
            this.neuLabelInvoiceTitle       = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.neuSplitter1               = new Neusoft.FrameWork.WinForms.Controls.NeuSplitter();
            this.neuPanelTerminalApply.SuspendLayout();
            this.neuPanelApplyGrid.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
            this.neuPanelApplyTitle.SuspendLayout();
            this.neuPanelInvoiceInformation.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread2_Sheet1)).BeginInit();
            this.neuPanelInvoiceTitle.SuspendLayout();
            this.SuspendLayout();
            //
            // neuPanelTerminalApply
            //
            this.neuPanelTerminalApply.Controls.Add(this.neuPanelApplyGrid);
            this.neuPanelTerminalApply.Controls.Add(this.neuPanelApplyTitle);
            this.neuPanelTerminalApply.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.neuPanelTerminalApply.Location = new System.Drawing.Point(0, 0);
            this.neuPanelTerminalApply.Name     = "neuPanelTerminalApply";
            this.neuPanelTerminalApply.Size     = new System.Drawing.Size(1044, 179);
            this.neuPanelTerminalApply.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuPanelTerminalApply.TabIndex = 0;
            //
            // neuPanelApplyGrid
            //
            this.neuPanelApplyGrid.Controls.Add(this.fpSpread1);
            this.neuPanelApplyGrid.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.neuPanelApplyGrid.Location = new System.Drawing.Point(0, 23);
            this.neuPanelApplyGrid.Name     = "neuPanelApplyGrid";
            this.neuPanelApplyGrid.Size     = new System.Drawing.Size(1044, 156);
            this.neuPanelApplyGrid.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuPanelApplyGrid.TabIndex = 1;
            //
            // fpSpread1
            //
            this.fpSpread1.About = "3.0.2004.2005";
            this.fpSpread1.AccessibleDescription = "fpSpread1, Sheet1, Row 0, Column 0, ";
            this.fpSpread1.BackColor             = System.Drawing.Color.White;
            this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.fpSpread1.EditModePermanent         = true;
            this.fpSpread1.EditModeReplace           = true;
            this.fpSpread1.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.fpSpread1.Location   = new System.Drawing.Point(0, 0);
            this.fpSpread1.Name       = "fpSpread1";
            this.fpSpread1.SelectNone = false;
            this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
                this.fpSpread1_Sheet1
            });
            this.fpSpread1.ShowListWhenOfFocus = false;
            this.fpSpread1.Size                    = new System.Drawing.Size(1044, 156);
            this.fpSpread1.TabIndex                = 0;
            tipAppearance1.BackColor               = System.Drawing.SystemColors.Info;
            tipAppearance1.Font                    = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            tipAppearance1.ForeColor               = System.Drawing.SystemColors.InfoText;
            this.fpSpread1.TextTipAppearance       = tipAppearance1;
            this.fpSpread1.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.fpSpread1.EditChange             += new FarPoint.Win.Spread.EditorNotifyEventHandler(this.fpSpread1_EditChange);
            this.fpSpread1.CellDoubleClick        += new FarPoint.Win.Spread.CellClickEventHandler(this.fpSpread1_CellDoubleClick);
            this.fpSpread1.CellClick              += new FarPoint.Win.Spread.CellClickEventHandler(this.fpSpread1_CellClick);
            //
            // fpSpread1_Sheet1
            //
            this.fpSpread1_Sheet1.Reset();
            this.fpSpread1_Sheet1.SheetName = "Sheet1";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.fpSpread1_Sheet1.ColumnCount    = 26;
            this.fpSpread1_Sheet1.RowCount       = 0;
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value  = "是否执行";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value  = "项目名称";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value  = "单价";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value  = "项目数量";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value  = "单位[规格]";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value  = "金额";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value  = "执行数量";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value  = "医技设备";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value  = "设备编号";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value  = "已执行数";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "新旧项目";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "申请单流水号";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "处方号";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "处方内项目流水号";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "项目编码";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "组套代码";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "组套名称";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "是否药品";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "项目状态";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "医嘱流水号";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).Value = "医嘱执行单号";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 23).Value = "(原)执行科室";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 24).Value = "执行设备";
            this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 25).Value = "执行人";
            this.fpSpread1_Sheet1.Columns.Get(0).CellType             = checkBoxCellType1;
            this.fpSpread1_Sheet1.Columns.Get(0).Label               = "是否执行";
            this.fpSpread1_Sheet1.Columns.Get(0).Locked              = true;
            this.fpSpread1_Sheet1.Columns.Get(0).Width               = 57F;
            this.fpSpread1_Sheet1.Columns.Get(1).CellType            = textCellType1;
            this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet1.Columns.Get(1).Label               = "项目名称";
            this.fpSpread1_Sheet1.Columns.Get(1).Width               = 158F;
            this.fpSpread1_Sheet1.Columns.Get(2).CellType            = textCellType2;
            this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet1.Columns.Get(2).Label               = "单价";
            this.fpSpread1_Sheet1.Columns.Get(2).Width               = 76F;
            numCellType1.DecimalPlaces = 0;
            this.fpSpread1_Sheet1.Columns.Get(3).CellType            = numCellType1;
            this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet1.Columns.Get(3).Label               = "项目数量";
            this.fpSpread1_Sheet1.Columns.Get(3).Width               = 56F;
            this.fpSpread1_Sheet1.Columns.Get(4).CellType            = textCellType3;
            this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpSpread1_Sheet1.Columns.Get(4).Label               = "单位[规格]";
            this.fpSpread1_Sheet1.Columns.Get(4).Width               = 128F;
            this.fpSpread1_Sheet1.Columns.Get(5).CellType            = numCellType2;
            this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet1.Columns.Get(5).Label               = "金额";
            this.fpSpread1_Sheet1.Columns.Get(5).Width               = 67F;
            numCellType3.DecimalPlaces = 0;
            this.fpSpread1_Sheet1.Columns.Get(6).CellType            = numCellType3;
            this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet1.Columns.Get(6).Label               = "执行数量";
            this.fpSpread1_Sheet1.Columns.Get(7).CellType            = textCellType4;
            this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet1.Columns.Get(7).Label               = "医技设备";
            comboBoxCellType1.ButtonAlign = FarPoint.Win.ButtonAlign.Right;
            this.fpSpread1_Sheet1.Columns.Get(8).CellType             = comboBoxCellType1;
            this.fpSpread1_Sheet1.Columns.Get(8).Label                = "设备编号";
            this.fpSpread1_Sheet1.Columns.Get(9).CellType             = textCellType5;
            this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment  = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet1.Columns.Get(9).Label                = "已执行数";
            this.fpSpread1_Sheet1.Columns.Get(9).Width                = 66F;
            this.fpSpread1_Sheet1.Columns.Get(10).CellType            = textCellType6;
            this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpSpread1_Sheet1.Columns.Get(10).Label               = "新旧项目";
            this.fpSpread1_Sheet1.Columns.Get(11).CellType            = textCellType7;
            this.fpSpread1_Sheet1.Columns.Get(11).Label               = "申请单流水号";
            this.fpSpread1_Sheet1.Columns.Get(12).CellType            = textCellType8;
            this.fpSpread1_Sheet1.Columns.Get(12).Label               = "处方号";
            this.fpSpread1_Sheet1.Columns.Get(13).CellType            = textCellType9;
            this.fpSpread1_Sheet1.Columns.Get(13).Label               = "处方内项目流水号";
            this.fpSpread1_Sheet1.Columns.Get(14).CellType            = textCellType10;
            this.fpSpread1_Sheet1.Columns.Get(14).Label               = "项目编码";
            this.fpSpread1_Sheet1.Columns.Get(15).CellType            = textCellType11;
            this.fpSpread1_Sheet1.Columns.Get(15).Label               = "组套代码";
            this.fpSpread1_Sheet1.Columns.Get(16).CellType            = textCellType12;
            this.fpSpread1_Sheet1.Columns.Get(16).Label               = "组套名称";
            this.fpSpread1_Sheet1.Columns.Get(17).CellType            = textCellType13;
            this.fpSpread1_Sheet1.Columns.Get(17).Label               = "是否药品";
            comboBoxCellType2.ButtonAlign = FarPoint.Win.ButtonAlign.Right;
            comboBoxCellType2.Items       = new string[] {
                "划价",
                "收费",
                "执行"
            };
            this.fpSpread1_Sheet1.Columns.Get(18).CellType            = comboBoxCellType2;
            this.fpSpread1_Sheet1.Columns.Get(18).Label               = "项目状态";
            this.fpSpread1_Sheet1.Columns.Get(18).Width               = 63F;
            this.fpSpread1_Sheet1.Columns.Get(23).CellType            = textCellType14;
            this.fpSpread1_Sheet1.Columns.Get(23).Label               = "(原)执行科室";
            this.fpSpread1_Sheet1.Columns.Get(23).Width               = 100F;
            this.fpSpread1_Sheet1.Columns.Get(24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet1.Columns.Get(24).Label               = "执行设备";
            this.fpSpread1_Sheet1.OperationMode = FarPoint.Win.Spread.OperationMode.RowMode;
            this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
            this.fpSpread1_Sheet1.RowHeader.Columns.Get(0).Width      = 37F;
            this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
            this.fpSpread1.SetActiveViewport(0, 1, 0);
            //
            // neuPanelApplyTitle
            //
            this.neuPanelApplyTitle.Controls.Add(this.neuLabelApplyTitle);
            this.neuPanelApplyTitle.Dock     = System.Windows.Forms.DockStyle.Top;
            this.neuPanelApplyTitle.Location = new System.Drawing.Point(0, 0);
            this.neuPanelApplyTitle.Name     = "neuPanelApplyTitle";
            this.neuPanelApplyTitle.Size     = new System.Drawing.Size(1044, 23);
            this.neuPanelApplyTitle.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuPanelApplyTitle.TabIndex = 0;
            //
            // neuLabelApplyTitle
            //
            this.neuLabelApplyTitle.AutoSize = true;
            this.neuLabelApplyTitle.Location = new System.Drawing.Point(7, 6);
            this.neuLabelApplyTitle.Name     = "neuLabelApplyTitle";
            this.neuLabelApplyTitle.Size     = new System.Drawing.Size(149, 12);
            this.neuLabelApplyTitle.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuLabelApplyTitle.TabIndex = 0;
            this.neuLabelApplyTitle.Text     = "医技终端待确认的项目列表";
            //
            // neuPanelInvoiceInformation
            //
            this.neuPanelInvoiceInformation.Controls.Add(this.fpSpread2);
            this.neuPanelInvoiceInformation.Controls.Add(this.neuPanelInvoiceTitle);
            this.neuPanelInvoiceInformation.Dock     = System.Windows.Forms.DockStyle.Bottom;
            this.neuPanelInvoiceInformation.Location = new System.Drawing.Point(0, 179);
            this.neuPanelInvoiceInformation.Name     = "neuPanelInvoiceInformation";
            this.neuPanelInvoiceInformation.Size     = new System.Drawing.Size(1044, 242);
            this.neuPanelInvoiceInformation.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuPanelInvoiceInformation.TabIndex = 1;
            //
            // fpSpread2
            //
            this.fpSpread2.About = "3.0.2004.2005";
            this.fpSpread2.AccessibleDescription = "fpSpread2, Sheet1";
            this.fpSpread2.BackColor             = System.Drawing.Color.White;
            this.fpSpread2.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.fpSpread2.FileName = "";
            this.fpSpread2.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.fpSpread2.IsAutoSaveGridStatus      = false;
            this.fpSpread2.IsCanCustomConfigColumn   = false;
            this.fpSpread2.Location    = new System.Drawing.Point(0, 23);
            this.fpSpread2.Name        = "fpSpread2";
            this.fpSpread2.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.fpSpread2.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
                this.fpSpread2_Sheet1
            });
            this.fpSpread2.Size                    = new System.Drawing.Size(1044, 219);
            this.fpSpread2.Style                   = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.fpSpread2.TabIndex                = 0;
            tipAppearance2.BackColor               = System.Drawing.SystemColors.Info;
            tipAppearance2.Font                    = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            tipAppearance2.ForeColor               = System.Drawing.SystemColors.InfoText;
            this.fpSpread2.TextTipAppearance       = tipAppearance2;
            this.fpSpread2.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            //
            // fpSpread2_Sheet1
            //
            this.fpSpread2_Sheet1.Reset();
            this.fpSpread2_Sheet1.SheetName = "Sheet1";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.fpSpread2_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.fpSpread2_Sheet1.ColumnCount    = 10;
            this.fpSpread2_Sheet1.RowCount       = 0;
            this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "项目编号";
            this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "项目名称";
            this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "规格";
            this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "单价";
            this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "数量";
            this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "金额";
            this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "开立科室";
            this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "执行科室";
            this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "收款员";
            this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "收款时间";
            this.fpSpread2_Sheet1.Columns.Get(0).CellType            = generalCellType1;
            this.fpSpread2_Sheet1.Columns.Get(0).Label               = "项目编号";
            this.fpSpread2_Sheet1.Columns.Get(0).Width               = 80F;
            this.fpSpread2_Sheet1.Columns.Get(1).CellType            = textCellType15;
            this.fpSpread2_Sheet1.Columns.Get(1).Label               = "项目名称";
            this.fpSpread2_Sheet1.Columns.Get(1).Width               = 150F;
            this.fpSpread2_Sheet1.Columns.Get(2).CellType            = generalCellType2;
            this.fpSpread2_Sheet1.Columns.Get(2).Label               = "规格";
            this.fpSpread2_Sheet1.Columns.Get(2).Width               = 50F;
            this.fpSpread2_Sheet1.Columns.Get(3).CellType            = numCellType4;
            this.fpSpread2_Sheet1.Columns.Get(3).Label               = "单价";
            this.fpSpread2_Sheet1.Columns.Get(3).Width               = 80F;
            this.fpSpread2_Sheet1.Columns.Get(4).CellType            = numCellType5;
            this.fpSpread2_Sheet1.Columns.Get(4).Label               = "数量";
            this.fpSpread2_Sheet1.Columns.Get(4).Width               = 40F;
            this.fpSpread2_Sheet1.Columns.Get(6).CellType            = textCellType16;
            this.fpSpread2_Sheet1.Columns.Get(6).Label               = "开立科室";
            this.fpSpread2_Sheet1.Columns.Get(6).Width               = 80F;
            this.fpSpread2_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.General;
            this.fpSpread2_Sheet1.Columns.Get(7).Label               = "执行科室";
            this.fpSpread2_Sheet1.Columns.Get(7).Width               = 80F;
            this.fpSpread2_Sheet1.Columns.Get(8).CellType            = textCellType17;
            this.fpSpread2_Sheet1.Columns.Get(8).Label               = "收款员";
            this.fpSpread2_Sheet1.Columns.Get(8).Width               = 70F;
            this.fpSpread2_Sheet1.Columns.Get(9).Label               = "收款时间";
            this.fpSpread2_Sheet1.Columns.Get(9).Width               = 89F;
            this.fpSpread2_Sheet1.OperationMode = FarPoint.Win.Spread.OperationMode.SingleSelect;
            this.fpSpread2_Sheet1.RowHeader.Columns.Default.Resizable = false;
            this.fpSpread2_Sheet1.RowHeader.Columns.Get(0).Width      = 37F;
            this.fpSpread2_Sheet1.SelectionPolicy = FarPoint.Win.Spread.Model.SelectionPolicy.Single;
            this.fpSpread2_Sheet1.SelectionUnit   = FarPoint.Win.Spread.Model.SelectionUnit.Row;
            this.fpSpread2_Sheet1.ReferenceStyle  = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
            this.fpSpread2.SetActiveViewport(0, 1, 0);
            //
            // neuPanelInvoiceTitle
            //
            this.neuPanelInvoiceTitle.Controls.Add(this.neuLabelInvoiceTitle);
            this.neuPanelInvoiceTitle.Dock     = System.Windows.Forms.DockStyle.Top;
            this.neuPanelInvoiceTitle.Location = new System.Drawing.Point(0, 0);
            this.neuPanelInvoiceTitle.Name     = "neuPanelInvoiceTitle";
            this.neuPanelInvoiceTitle.Size     = new System.Drawing.Size(1044, 23);
            this.neuPanelInvoiceTitle.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuPanelInvoiceTitle.TabIndex = 0;
            //
            // neuLabelInvoiceTitle
            //
            this.neuLabelInvoiceTitle.AutoSize = true;
            this.neuLabelInvoiceTitle.Location = new System.Drawing.Point(7, 5);
            this.neuLabelInvoiceTitle.Name     = "neuLabelInvoiceTitle";
            this.neuLabelInvoiceTitle.Size     = new System.Drawing.Size(161, 12);
            this.neuLabelInvoiceTitle.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuLabelInvoiceTitle.TabIndex = 1;
            this.neuLabelInvoiceTitle.Text     = "终端项目所属发票的明细信息";
            //
            // neuSplitter1
            //
            this.neuSplitter1.Dock     = System.Windows.Forms.DockStyle.Bottom;
            this.neuSplitter1.Location = new System.Drawing.Point(0, 174);
            this.neuSplitter1.Name     = "neuSplitter1";
            this.neuSplitter1.Size     = new System.Drawing.Size(1044, 5);
            this.neuSplitter1.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuSplitter1.TabIndex = 2;
            this.neuSplitter1.TabStop  = false;
            //
            // ucItemApply
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.neuSplitter1);
            this.Controls.Add(this.neuPanelTerminalApply);
            this.Controls.Add(this.neuPanelInvoiceInformation);
            this.Name   = "ucItemApply";
            this.Size   = new System.Drawing.Size(1044, 421);
            this.Leave += new System.EventHandler(this.ucItemApply_Leave);
            this.neuPanelTerminalApply.ResumeLayout(false);
            this.neuPanelApplyGrid.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
            this.neuPanelApplyTitle.ResumeLayout(false);
            this.neuPanelApplyTitle.PerformLayout();
            this.neuPanelInvoiceInformation.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread2_Sheet1)).EndInit();
            this.neuPanelInvoiceTitle.ResumeLayout(false);
            this.neuPanelInvoiceTitle.PerformLayout();
            this.ResumeLayout(false);
        }
Example #20
0
        /// <summary>
        /// 显示库存药品时进行格式化
        /// {D06724D9-C415-4a6b-8E93-0FF175CB7A8A} 20091230
        /// </summary>
        private void SetFormatForStorageAndDict(int showBatchNO)
        {
            this.neuSpread1_Sheet1.Columns.Get(0).Label   = "药品编码";
            this.neuSpread1_Sheet1.Columns.Get(0).Width   = 90F;
            this.neuSpread1_Sheet1.Columns.Get(0).Visible = true;

            this.neuSpread1_Sheet1.Columns.Get(1).Label   = "药品名称";
            this.neuSpread1_Sheet1.Columns.Get(1).Visible = true;
            this.neuSpread1_Sheet1.Columns.Get(1).Width   = 160F;

            this.neuSpread1_Sheet1.Columns.Get(2).Label   = "规格";
            this.neuSpread1_Sheet1.Columns.Get(2).Width   = 80F;
            this.neuSpread1_Sheet1.Columns.Get(2).Visible = true;

            this.neuSpread1_Sheet1.Columns.Get(3).Label   = "批号";
            this.neuSpread1_Sheet1.Columns.Get(3).Width   = 70F;
            this.neuSpread1_Sheet1.Columns.Get(3).Visible = Neusoft.FrameWork.Function.NConvert.ToBoolean(showBatchNO);

            Neusoft.FrameWork.WinForms.Classes.MarkCellType.DateTimeCellType markDateTimeCellType = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.DateTimeCellType();
            markDateTimeCellType.DateTimeFormat            = FarPoint.Win.Spread.CellType.DateTimeFormat.ShortDate;
            this.neuSpread1_Sheet1.Columns.Get(4).CellType = markDateTimeCellType;
            this.neuSpread1_Sheet1.Columns.Get(4).Label    = "有效期";
            this.neuSpread1_Sheet1.Columns.Get(4).Width    = 66F;
            this.neuSpread1_Sheet1.Columns.Get(4).Visible  = true;

            this.neuSpread1_Sheet1.Columns.Get(5).Label = "库存";
            this.neuSpread1_Sheet1.Columns.Get(5).Width = 70F;
            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType markNumCellType = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            markNumCellType.DecimalPlaces = 3;
            this.neuSpread1_Sheet1.Columns[5].CellType    = markNumCellType;
            this.neuSpread1_Sheet1.Columns.Get(5).Visible = true;

            this.neuSpread1_Sheet1.Columns.Get(6).Label   = "单位";
            this.neuSpread1_Sheet1.Columns.Get(6).Width   = 35F;
            this.neuSpread1_Sheet1.Columns.Get(6).Visible = true;

            this.neuSpread1_Sheet1.Columns.Get(7).Label   = "厂家";
            this.neuSpread1_Sheet1.Columns.Get(7).Width   = 110F;
            this.neuSpread1_Sheet1.Columns.Get(7).Visible = true;

            Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType markNumCellType2 = new Neusoft.FrameWork.WinForms.Classes.MarkCellType.NumCellType();
            markNumCellType2.DecimalPlaces                = 2;
            this.neuSpread1_Sheet1.Columns[8].CellType    = markNumCellType2;
            this.neuSpread1_Sheet1.Columns.Get(8).Label   = "进价";
            this.neuSpread1_Sheet1.Columns.Get(8).Width   = 60F;
            this.neuSpread1_Sheet1.Columns.Get(8).Visible = true;

            this.neuSpread1_Sheet1.Columns[9].CellType    = markNumCellType2;
            this.neuSpread1_Sheet1.Columns.Get(9).Label   = "零售价";
            this.neuSpread1_Sheet1.Columns.Get(9).Width   = 60F;
            this.neuSpread1_Sheet1.Columns.Get(9).Visible = true;

            this.neuSpread1_Sheet1.Columns.Get(10).Label   = "医保";
            this.neuSpread1_Sheet1.Columns.Get(10).Width   = 39F;
            this.neuSpread1_Sheet1.Columns.Get(10).Visible = false;

            this.neuSpread1_Sheet1.Columns.Get(11).Label   = "拼音码";
            this.neuSpread1_Sheet1.Columns.Get(11).Visible = false;
            this.neuSpread1_Sheet1.Columns.Get(12).Label   = "五笔码";
            this.neuSpread1_Sheet1.Columns.Get(12).Visible = false;
            this.neuSpread1_Sheet1.Columns.Get(13).Label   = "通用名拼音码";
            this.neuSpread1_Sheet1.Columns.Get(13).Visible = false;
            this.neuSpread1_Sheet1.Columns.Get(14).Label   = "通用名五笔码";
            this.neuSpread1_Sheet1.Columns.Get(14).Visible = false;
        }