Ejemplo n.º 1
0
        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。

        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            FarPoint.Win.Spread.TipAppearance              tipAppearance1    = new FarPoint.Win.Spread.TipAppearance();
            FarPoint.Win.Spread.TipAppearance              tipAppearance2    = new FarPoint.Win.Spread.TipAppearance();
            FarPoint.Win.Spread.CellType.NumberCellType    numberCellType1   = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType    numberCellType2   = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.DateTimeCellType  dateTimeCellType1 = new FarPoint.Win.Spread.CellType.DateTimeCellType();
            System.ComponentModel.ComponentResourceManager resources         = new System.ComponentModel.ComponentResourceManager(typeof(ucStockPlan));
            FarPoint.Win.Spread.CellType.NumberCellType    numberCellType3   = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType    numberCellType4   = new FarPoint.Win.Spread.CellType.NumberCellType();
            this.lbPlanBill            = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.lbPlanInfo            = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.lbTitle               = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.neuPanel1             = new Neusoft.FrameWork.WinForms.Controls.NeuPanel();
            this.fpStockApprove        = new Neusoft.FrameWork.WinForms.Controls.NeuSpread();
            this.neuPanel2             = new Neusoft.FrameWork.WinForms.Controls.NeuPanel();
            this.lbCost                = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.splitContainer1       = new System.Windows.Forms.SplitContainer();
            this.tabControl1           = new System.Windows.Forms.TabControl();
            this.tbStockHistory        = new System.Windows.Forms.TabPage();
            this.fpHistory             = new Neusoft.FrameWork.WinForms.Controls.NeuSpread();
            this.tvList                = new Neusoft.HISFC.Components.Material.Plan.tvPlanList(this.components);
            this.fpStockApprove_Sheet1 = new FarPoint.Win.Spread.SheetView();
            this.fpHistory_Sheet1      = new FarPoint.Win.Spread.SheetView();
            this.neuPanel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.fpStockApprove)).BeginInit();
            this.neuPanel2.SuspendLayout();
            this.splitContainer1.Panel1.SuspendLayout();
            this.splitContainer1.Panel2.SuspendLayout();
            this.splitContainer1.SuspendLayout();
            this.tabControl1.SuspendLayout();
            this.tbStockHistory.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.fpHistory)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpStockApprove_Sheet1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpHistory_Sheet1)).BeginInit();
            this.SuspendLayout();
            //
            // lbPlanBill
            //
            this.lbPlanBill.AutoSize = true;
            this.lbPlanBill.Location = new System.Drawing.Point(260, 53);
            this.lbPlanBill.Name     = "lbPlanBill";
            this.lbPlanBill.Size     = new System.Drawing.Size(41, 12);
            this.lbPlanBill.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.lbPlanBill.TabIndex = 1;
            this.lbPlanBill.Text     = "单据号";
            //
            // lbPlanInfo
            //
            this.lbPlanInfo.AutoSize = true;
            this.lbPlanInfo.Location = new System.Drawing.Point(17, 53);
            this.lbPlanInfo.Name     = "lbPlanInfo";
            this.lbPlanInfo.Size     = new System.Drawing.Size(131, 12);
            this.lbPlanInfo.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.lbPlanInfo.TabIndex = 1;
            this.lbPlanInfo.Text     = "计划科室{0} 计划人{1}";
            //
            // lbTitle
            //
            this.lbTitle.Font      = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.lbTitle.ForeColor = System.Drawing.SystemColors.ControlText;
            this.lbTitle.Location  = new System.Drawing.Point(277, 11);
            this.lbTitle.Name      = "lbTitle";
            this.lbTitle.Size      = new System.Drawing.Size(248, 27);
            this.lbTitle.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.lbTitle.TabIndex  = 0;
            this.lbTitle.Text      = "采 购 单";
            this.lbTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            //
            // neuPanel1
            //
            this.neuPanel1.Controls.Add(this.fpStockApprove);
            this.neuPanel1.Controls.Add(this.neuPanel2);
            this.neuPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.neuPanel1.Location = new System.Drawing.Point(0, 0);
            this.neuPanel1.Name     = "neuPanel1";
            this.neuPanel1.Size     = new System.Drawing.Size(713, 348);
            this.neuPanel1.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuPanel1.TabIndex = 1;
            //
            // fpStockApprove
            //
            this.fpStockApprove.About = "2.5.2007.2005";
            this.fpStockApprove.AccessibleDescription = "fpStockApprove";
            this.fpStockApprove.BackColor             = System.Drawing.Color.White;
            this.fpStockApprove.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.fpStockApprove.FileName = "";
            this.fpStockApprove.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.fpStockApprove.IsAutoSaveGridStatus      = false;
            this.fpStockApprove.IsCanCustomConfigColumn   = false;
            this.fpStockApprove.Location = new System.Drawing.Point(0, 77);
            this.fpStockApprove.Name     = "fpStockApprove";
            this.fpStockApprove.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
                this.fpStockApprove_Sheet1
            });
            this.fpStockApprove.Size                    = new System.Drawing.Size(713, 271);
            this.fpStockApprove.Style                   = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.fpStockApprove.TabIndex                = 2;
            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.fpStockApprove.TextTipAppearance       = tipAppearance1;
            this.fpStockApprove.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.fpStockApprove.CellDoubleClick        += new FarPoint.Win.Spread.CellClickEventHandler(this.fpStockApprove_CellDoubleClick);
            this.fpStockApprove.CellClick              += new FarPoint.Win.Spread.CellClickEventHandler(this.fpStockApprove_CellClick);
            this.fpStockApprove.SelectionChanged       += new FarPoint.Win.Spread.SelectionChangedEventHandler(this.fpStockApprove_SelectionChanged);
            this.fpStockApprove.EditModeOff            += new System.EventHandler(this.fpStockApprove_EditModeOff);
            this.fpStockApprove.Change                 += new FarPoint.Win.Spread.ChangeEventHandler(this.fpStockApprove_Change);
            this.fpStockApprove.KeyPress               += new System.Windows.Forms.KeyPressEventHandler(this.fpStockApprove_KeyPress);
            //
            // neuPanel2
            //
            this.neuPanel2.Controls.Add(this.lbTitle);
            this.neuPanel2.Controls.Add(this.lbCost);
            this.neuPanel2.Controls.Add(this.lbPlanInfo);
            this.neuPanel2.Controls.Add(this.lbPlanBill);
            this.neuPanel2.Dock     = System.Windows.Forms.DockStyle.Top;
            this.neuPanel2.Location = new System.Drawing.Point(0, 0);
            this.neuPanel2.Name     = "neuPanel2";
            this.neuPanel2.Size     = new System.Drawing.Size(713, 77);
            this.neuPanel2.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuPanel2.TabIndex = 4;
            //
            // lbCost
            //
            this.lbCost.AutoSize  = true;
            this.lbCost.ForeColor = System.Drawing.Color.Blue;
            this.lbCost.Location  = new System.Drawing.Point(452, 53);
            this.lbCost.Name      = "lbCost";
            this.lbCost.Size      = new System.Drawing.Size(53, 12);
            this.lbCost.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.lbCost.TabIndex  = 3;
            this.lbCost.Text      = "计划金额";
            //
            // splitContainer1
            //
            this.splitContainer1.Dock       = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
            this.splitContainer1.Location   = new System.Drawing.Point(0, 0);
            this.splitContainer1.Name       = "splitContainer1";
            //
            // splitContainer1.Panel1
            //
            this.splitContainer1.Panel1.Controls.Add(this.tvList);
            //
            // splitContainer1.Panel2
            //
            this.splitContainer1.Panel2.Controls.Add(this.neuPanel1);
            this.splitContainer1.Panel2.Controls.Add(this.tabControl1);
            this.splitContainer1.Size             = new System.Drawing.Size(887, 501);
            this.splitContainer1.SplitterDistance = 170;
            this.splitContainer1.TabIndex         = 1;
            //
            // tabControl1
            //
            this.tabControl1.Controls.Add(this.tbStockHistory);
            this.tabControl1.Dock          = System.Windows.Forms.DockStyle.Bottom;
            this.tabControl1.Location      = new System.Drawing.Point(0, 348);
            this.tabControl1.Name          = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size          = new System.Drawing.Size(713, 153);
            this.tabControl1.TabIndex      = 2;
            //
            // tbStockHistory
            //
            this.tbStockHistory.Controls.Add(this.fpHistory);
            this.tbStockHistory.Location = new System.Drawing.Point(4, 21);
            this.tbStockHistory.Name     = "tbStockHistory";
            this.tbStockHistory.Padding  = new System.Windows.Forms.Padding(3);
            this.tbStockHistory.Size     = new System.Drawing.Size(705, 128);
            this.tbStockHistory.TabIndex = 0;
            this.tbStockHistory.Text     = "历史采购计划信息";
            this.tbStockHistory.UseVisualStyleBackColor = true;
            //
            // fpHistory
            //
            this.fpHistory.About = "2.5.2007.2005";
            this.fpHistory.AccessibleDescription = "fpHistory, Sheet1, Row 0, Column 0, ";
            this.fpHistory.BackColor             = System.Drawing.Color.White;
            this.fpHistory.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.fpHistory.FileName = "";
            this.fpHistory.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.fpHistory.IsAutoSaveGridStatus      = false;
            this.fpHistory.IsCanCustomConfigColumn   = false;
            this.fpHistory.Location = new System.Drawing.Point(3, 3);
            this.fpHistory.Name     = "fpHistory";
            this.fpHistory.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
                this.fpHistory_Sheet1
            });
            this.fpHistory.Size                    = new System.Drawing.Size(699, 122);
            this.fpHistory.Style                   = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.fpHistory.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.fpHistory.TextTipAppearance       = tipAppearance2;
            this.fpHistory.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            //
            // tvList
            //
            this.tvList.Dock          = System.Windows.Forms.DockStyle.Fill;
            this.tvList.HideSelection = false;
            this.tvList.Location      = new System.Drawing.Point(0, 0);
            this.tvList.Name          = "tvList";
            this.tvList.Size          = new System.Drawing.Size(170, 501);
            this.tvList.Style         = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.tvList.TabIndex      = 0;
            this.tvList.AfterSelect  += new System.Windows.Forms.TreeViewEventHandler(this.tvList_AfterSelect);
            //
            // fpStockApprove_Sheet1
            //
            this.fpStockApprove_Sheet1.Reset();
            this.fpStockApprove_Sheet1.SheetName = "Sheet1";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.fpStockApprove_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.fpStockApprove_Sheet1.ColumnCount    = 11;
            this.fpStockApprove_Sheet1.RowCount       = 0;
            this.fpStockApprove_Sheet1.ActiveSkin     = new FarPoint.Win.Spread.SheetSkin("CustomSkin3", 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.fpStockApprove_Sheet1.ColumnHeader.Cells.Get(0, 0).Value  = "物品名称";
            this.fpStockApprove_Sheet1.ColumnHeader.Cells.Get(0, 1).Value  = "规 格";
            this.fpStockApprove_Sheet1.ColumnHeader.Cells.Get(0, 2).Value  = "计划购入价";
            this.fpStockApprove_Sheet1.ColumnHeader.Cells.Get(0, 3).Value  = "计划数量";
            this.fpStockApprove_Sheet1.ColumnHeader.Cells.Get(0, 4).Value  = "单位";
            this.fpStockApprove_Sheet1.ColumnHeader.Cells.Get(0, 5).Value  = "审核金额";
            this.fpStockApprove_Sheet1.ColumnHeader.Cells.Get(0, 6).Value  = "供货公司";
            this.fpStockApprove_Sheet1.ColumnHeader.Cells.Get(0, 7).Value  = "生产厂家";
            this.fpStockApprove_Sheet1.ColumnHeader.Cells.Get(0, 8).Value  = "备注";
            this.fpStockApprove_Sheet1.ColumnHeader.Cells.Get(0, 9).Value  = "科室库存";
            this.fpStockApprove_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "全院库存";
            this.fpStockApprove_Sheet1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.White;
            this.fpStockApprove_Sheet1.ColumnHeader.DefaultStyle.Locked    = false;
            this.fpStockApprove_Sheet1.ColumnHeader.DefaultStyle.Parent    = "HeaderDefault";
            this.fpStockApprove_Sheet1.Columns.Get(0).Label                = "物品名称";
            this.fpStockApprove_Sheet1.Columns.Get(0).Locked               = true;
            this.fpStockApprove_Sheet1.Columns.Get(0).Width                = 100F;
            this.fpStockApprove_Sheet1.Columns.Get(1).Label                = "规 格";
            this.fpStockApprove_Sheet1.Columns.Get(1).Locked               = true;
            this.fpStockApprove_Sheet1.Columns.Get(2).BackColor            = System.Drawing.Color.SeaShell;
            this.fpStockApprove_Sheet1.Columns.Get(2).CellType             = numberCellType1;
            this.fpStockApprove_Sheet1.Columns.Get(2).Label                = "计划购入价";
            this.fpStockApprove_Sheet1.Columns.Get(2).Width                = 75F;
            this.fpStockApprove_Sheet1.Columns.Get(3).BackColor            = System.Drawing.Color.SeaShell;
            this.fpStockApprove_Sheet1.Columns.Get(3).CellType             = numberCellType2;
            this.fpStockApprove_Sheet1.Columns.Get(3).Label                = "计划数量";
            this.fpStockApprove_Sheet1.Columns.Get(3).Width                = 70F;
            this.fpStockApprove_Sheet1.Columns.Get(4).Label                = "单位";
            this.fpStockApprove_Sheet1.Columns.Get(4).Locked               = true;
            this.fpStockApprove_Sheet1.Columns.Get(5).Label                = "审核金额";
            this.fpStockApprove_Sheet1.Columns.Get(5).Locked               = true;
            this.fpStockApprove_Sheet1.Columns.Get(6).BackColor            = System.Drawing.Color.SeaShell;
            this.fpStockApprove_Sheet1.Columns.Get(6).Label                = "供货公司";
            this.fpStockApprove_Sheet1.Columns.Get(6).Width                = 100F;
            this.fpStockApprove_Sheet1.Columns.Get(7).Label                = "生产厂家";
            this.fpStockApprove_Sheet1.Columns.Get(7).Locked               = true;
            this.fpStockApprove_Sheet1.Columns.Get(7).Width                = 100F;
            this.fpStockApprove_Sheet1.Columns.Get(8).BackColor            = System.Drawing.Color.SeaShell;
            this.fpStockApprove_Sheet1.Columns.Get(8).Label                = "备注";
            this.fpStockApprove_Sheet1.Columns.Get(8).Width                = 100F;
            this.fpStockApprove_Sheet1.Columns.Get(9).Label                = "科室库存";
            this.fpStockApprove_Sheet1.Columns.Get(9).Locked               = true;
            this.fpStockApprove_Sheet1.Columns.Get(9).Width                = 70F;
            this.fpStockApprove_Sheet1.Columns.Get(10).Label               = "全院库存";
            this.fpStockApprove_Sheet1.Columns.Get(10).Locked              = true;
            this.fpStockApprove_Sheet1.Columns.Get(10).Width               = 70F;
            this.fpStockApprove_Sheet1.DataAutoSizeColumns                 = false;
            this.fpStockApprove_Sheet1.OperationMode                       = FarPoint.Win.Spread.OperationMode.RowMode;
            this.fpStockApprove_Sheet1.RowHeader.Columns.Default.Resizable = false;
            this.fpStockApprove_Sheet1.RowHeader.DefaultStyle.BackColor    = System.Drawing.Color.White;
            this.fpStockApprove_Sheet1.RowHeader.DefaultStyle.Locked       = false;
            this.fpStockApprove_Sheet1.RowHeader.DefaultStyle.Parent       = "HeaderDefault";
            this.fpStockApprove_Sheet1.SheetCornerStyle.BackColor          = System.Drawing.Color.White;
            this.fpStockApprove_Sheet1.SheetCornerStyle.Locked             = false;
            this.fpStockApprove_Sheet1.SheetCornerStyle.Parent             = "HeaderDefault";
            this.fpStockApprove_Sheet1.ReferenceStyle                      = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
            this.fpStockApprove.SetActiveViewport(1, 0);
            //
            // fpHistory_Sheet1
            //
            this.fpHistory_Sheet1.Reset();
            this.fpHistory_Sheet1.SheetName = "Sheet1";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.fpHistory_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.fpHistory_Sheet1.ColumnCount    = 7;
            this.fpHistory_Sheet1.RowCount       = 0;
            this.fpHistory_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.fpHistory_Sheet1.ColumnHeader.Cells.Get(0, 0).Value  = "入库日期";
            this.fpHistory_Sheet1.ColumnHeader.Cells.Get(0, 1).Value  = "采购数量";
            this.fpHistory_Sheet1.ColumnHeader.Cells.Get(0, 2).Value  = "单位";
            this.fpHistory_Sheet1.ColumnHeader.Cells.Get(0, 3).Value  = "购入价";
            this.fpHistory_Sheet1.ColumnHeader.Cells.Get(0, 4).Value  = "供货公司";
            this.fpHistory_Sheet1.ColumnHeader.Cells.Get(0, 5).Value  = "生产厂家";
            this.fpHistory_Sheet1.ColumnHeader.Cells.Get(0, 6).Value  = "备注";
            this.fpHistory_Sheet1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.White;
            this.fpHistory_Sheet1.ColumnHeader.DefaultStyle.Locked    = false;
            this.fpHistory_Sheet1.ColumnHeader.DefaultStyle.Parent    = "HeaderDefault";
            dateTimeCellType1.Calendar    = ((System.Globalization.Calendar)(resources.GetObject("dateTimeCellType1.Calendar")));
            dateTimeCellType1.DateDefault = new System.DateTime(2007, 11, 18, 20, 0, 59, 0);
            dateTimeCellType1.TimeDefault = new System.DateTime(2007, 11, 18, 20, 0, 59, 0);
            this.fpHistory_Sheet1.Columns.Get(0).CellType             = dateTimeCellType1;
            this.fpHistory_Sheet1.Columns.Get(0).Label                = "入库日期";
            this.fpHistory_Sheet1.Columns.Get(0).Width                = 120F;
            this.fpHistory_Sheet1.Columns.Get(1).CellType             = numberCellType3;
            this.fpHistory_Sheet1.Columns.Get(1).Label                = "采购数量";
            this.fpHistory_Sheet1.Columns.Get(1).Width                = 70F;
            this.fpHistory_Sheet1.Columns.Get(3).CellType             = numberCellType4;
            this.fpHistory_Sheet1.Columns.Get(3).Label                = "购入价";
            this.fpHistory_Sheet1.Columns.Get(3).Width                = 70F;
            this.fpHistory_Sheet1.Columns.Get(4).Label                = "供货公司";
            this.fpHistory_Sheet1.Columns.Get(4).Width                = 100F;
            this.fpHistory_Sheet1.Columns.Get(5).Label                = "生产厂家";
            this.fpHistory_Sheet1.Columns.Get(5).Width                = 100F;
            this.fpHistory_Sheet1.Columns.Get(6).Label                = "备注";
            this.fpHistory_Sheet1.Columns.Get(6).Width                = 100F;
            this.fpHistory_Sheet1.DefaultStyle.Locked                 = true;
            this.fpHistory_Sheet1.DefaultStyle.Parent                 = "DataAreaDefault";
            this.fpHistory_Sheet1.OperationMode                       = FarPoint.Win.Spread.OperationMode.RowMode;
            this.fpHistory_Sheet1.RowHeader.Columns.Default.Resizable = false;
            this.fpHistory_Sheet1.RowHeader.Columns.Get(0).Width      = 37F;
            this.fpHistory_Sheet1.RowHeader.DefaultStyle.BackColor    = System.Drawing.Color.White;
            this.fpHistory_Sheet1.RowHeader.DefaultStyle.Locked       = false;
            this.fpHistory_Sheet1.RowHeader.DefaultStyle.Parent       = "HeaderDefault";
            this.fpHistory_Sheet1.SheetCornerStyle.BackColor          = System.Drawing.Color.White;
            this.fpHistory_Sheet1.SheetCornerStyle.Locked             = false;
            this.fpHistory_Sheet1.SheetCornerStyle.Parent             = "HeaderDefault";
            this.fpHistory_Sheet1.ReferenceStyle                      = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
            this.fpHistory.SetActiveViewport(1, 0);
            //
            // ucStockPlan
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor           = System.Drawing.Color.White;
            this.Controls.Add(this.splitContainer1);
            this.Name  = "ucStockPlan";
            this.Size  = new System.Drawing.Size(887, 501);
            this.Load += new System.EventHandler(this.ucStockPlan_Load);
            this.neuPanel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.fpStockApprove)).EndInit();
            this.neuPanel2.ResumeLayout(false);
            this.neuPanel2.PerformLayout();
            this.splitContainer1.Panel1.ResumeLayout(false);
            this.splitContainer1.Panel2.ResumeLayout(false);
            this.splitContainer1.ResumeLayout(false);
            this.tabControl1.ResumeLayout(false);
            this.tbStockHistory.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.fpHistory)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpStockApprove_Sheet1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpHistory_Sheet1)).EndInit();
            this.ResumeLayout(false);
        }
Ejemplo n.º 2
0
 /// <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.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.Spread.CellType.TextCellType   textCellType3   = new FarPoint.Win.Spread.CellType.TextCellType();
     FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.Spread.TipAppearance           tipAppearance2  = new FarPoint.Win.Spread.TipAppearance();
     this.neuPanel1  = new Neusoft.FrameWork.WinForms.Controls.NeuPanel();
     this.fpSpread2  = new FarPoint.Win.Spread.FpSpread();
     this.sheetView1 = new FarPoint.Win.Spread.SheetView();
     this.lbTime     = new System.Windows.Forms.Label();
     this.lbDept     = new System.Windows.Forms.Label();
     this.lbPageNum  = new System.Windows.Forms.Label();
     this.lbTitle    = new System.Windows.Forms.Label();
     this.fpSpread1  = new FarPoint.Win.Spread.FpSpread();
     this.neuPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.fpSpread2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.sheetView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
     this.SuspendLayout();
     //
     // neuPanel1
     //
     this.neuPanel1.BackColor = System.Drawing.Color.White;
     this.neuPanel1.Controls.Add(this.fpSpread2);
     this.neuPanel1.Controls.Add(this.lbTime);
     this.neuPanel1.Controls.Add(this.lbDept);
     this.neuPanel1.Controls.Add(this.lbPageNum);
     this.neuPanel1.Controls.Add(this.lbTitle);
     this.neuPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.neuPanel1.Location = new System.Drawing.Point(0, 0);
     this.neuPanel1.Name     = "neuPanel1";
     this.neuPanel1.Size     = new System.Drawing.Size(781, 355);
     this.neuPanel1.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.neuPanel1.TabIndex = 0;
     //
     // fpSpread2
     //
     this.fpSpread2.About = "2.5.2007.2005";
     this.fpSpread2.AccessibleDescription = "fpSpread2, Sheet1, Row 0, Column 0, ";
     this.fpSpread2.BackColor             = System.Drawing.Color.Transparent;
     this.fpSpread2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.fpSpread2.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.Never;
     this.fpSpread2.Location = new System.Drawing.Point(6, 72);
     this.fpSpread2.Name     = "fpSpread2";
     this.fpSpread2.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
         this.sheetView1
     });
     this.fpSpread2.Size                    = new System.Drawing.Size(775, 191);
     this.fpSpread2.TabIndex                = 57;
     this.fpSpread2.TabStripPolicy          = FarPoint.Win.Spread.TabStripPolicy.Never;
     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.fpSpread2.TextTipAppearance       = tipAppearance1;
     this.fpSpread2.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.Never;
     //
     // sheetView1
     //
     this.sheetView1.Reset();
     this.sheetView1.SheetName = "Sheet1";
     // Formulas and custom names must be loaded with R1C1 reference style
     this.sheetView1.ReferenceStyle                      = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
     this.sheetView1.ColumnCount                         = 12;
     this.sheetView1.RowCount                            = 14;
     this.sheetView1.RowHeader.ColumnCount               = 0;
     this.sheetView1.ActiveSkin                          = new FarPoint.Win.Spread.SheetSkin("CustomSkin1", System.Drawing.Color.White, System.Drawing.Color.Empty, System.Drawing.Color.Empty, System.Drawing.SystemColors.WindowText, 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, true, false, true, true, true);
     this.sheetView1.Cells.Get(0, 0).ForeColor           = System.Drawing.Color.Black;
     this.sheetView1.Cells.Get(0, 6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
     this.sheetView1.ColumnHeader.Cells.Get(0, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.sheetView1.ColumnHeader.Cells.Get(0, 0).Value = "物资名称";
     this.sheetView1.ColumnHeader.Cells.Get(0, 1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.sheetView1.ColumnHeader.Cells.Get(0, 1).Value = "规格";
     this.sheetView1.ColumnHeader.Cells.Get(0, 2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.sheetView1.ColumnHeader.Cells.Get(0, 2).Value = "数量";
     this.sheetView1.ColumnHeader.Cells.Get(0, 3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.sheetView1.ColumnHeader.Cells.Get(0, 3).Value = "单位";
     this.sheetView1.ColumnHeader.Cells.Get(0, 4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.sheetView1.ColumnHeader.Cells.Get(0, 4).Value = "零售价";
     this.sheetView1.ColumnHeader.Cells.Get(0, 5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.sheetView1.ColumnHeader.Cells.Get(0, 5).Value = "进价";
     this.sheetView1.ColumnHeader.Cells.Get(0, 6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.sheetView1.ColumnHeader.Cells.Get(0, 6).Value  = "零售总额";
     this.sheetView1.ColumnHeader.Cells.Get(0, 7).Value  = "进价总额";
     this.sheetView1.ColumnHeader.Cells.Get(0, 8).Value  = "差额";
     this.sheetView1.ColumnHeader.Cells.Get(0, 9).Value  = "有效期";
     this.sheetView1.ColumnHeader.Cells.Get(0, 10).Value = "批号";
     this.sheetView1.ColumnHeader.Cells.Get(0, 11).Value = "生产厂家";
     this.sheetView1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.White;
     this.sheetView1.ColumnHeader.DefaultStyle.Font      = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold);
     this.sheetView1.ColumnHeader.DefaultStyle.Locked    = false;
     this.sheetView1.ColumnHeader.DefaultStyle.Parent    = "HeaderDefault";
     this.sheetView1.ColumnHeader.Rows.Get(0).Height     = 26F;
     this.sheetView1.Columns.Get(0).BackColor            = System.Drawing.Color.White;
     this.sheetView1.Columns.Get(0).CellType             = textCellType1;
     this.sheetView1.Columns.Get(0).Font                = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.sheetView1.Columns.Get(0).ForeColor           = System.Drawing.Color.Black;
     this.sheetView1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
     this.sheetView1.Columns.Get(0).Label               = "物资名称";
     this.sheetView1.Columns.Get(0).VerticalAlignment   = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.sheetView1.Columns.Get(0).Width               = 142F;
     this.sheetView1.Columns.Get(1).CellType            = textCellType2;
     this.sheetView1.Columns.Get(1).Font                = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.sheetView1.Columns.Get(1).ForeColor           = System.Drawing.Color.Black;
     this.sheetView1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
     this.sheetView1.Columns.Get(1).Label               = "规格";
     this.sheetView1.Columns.Get(1).VerticalAlignment   = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.sheetView1.Columns.Get(1).Width               = 53F;
     numberCellType1.MaximumValue                        = 9999999.9;
     numberCellType1.MinimumValue                        = -9999999.9;
     this.sheetView1.Columns.Get(2).CellType             = numberCellType1;
     this.sheetView1.Columns.Get(2).Font                 = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.sheetView1.Columns.Get(2).ForeColor            = System.Drawing.Color.Black;
     this.sheetView1.Columns.Get(2).HorizontalAlignment  = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
     this.sheetView1.Columns.Get(2).Label                = "数量";
     this.sheetView1.Columns.Get(2).Width                = 48F;
     this.sheetView1.Columns.Get(3).CellType             = textCellType3;
     this.sheetView1.Columns.Get(3).Font                 = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.sheetView1.Columns.Get(3).ForeColor            = System.Drawing.Color.Black;
     this.sheetView1.Columns.Get(3).HorizontalAlignment  = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
     this.sheetView1.Columns.Get(3).Label                = "单位";
     this.sheetView1.Columns.Get(3).Width                = 30F;
     this.sheetView1.Columns.Get(4).CellType             = numberCellType2;
     this.sheetView1.Columns.Get(4).Font                 = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.sheetView1.Columns.Get(4).ForeColor            = System.Drawing.Color.Black;
     this.sheetView1.Columns.Get(4).HorizontalAlignment  = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
     this.sheetView1.Columns.Get(4).Label                = "零售价";
     this.sheetView1.Columns.Get(4).VerticalAlignment    = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.sheetView1.Columns.Get(4).Width                = 51F;
     this.sheetView1.Columns.Get(5).CellType             = numberCellType3;
     this.sheetView1.Columns.Get(5).Font                 = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.sheetView1.Columns.Get(5).ForeColor            = System.Drawing.Color.Black;
     this.sheetView1.Columns.Get(5).HorizontalAlignment  = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
     this.sheetView1.Columns.Get(5).Label                = "进价";
     this.sheetView1.Columns.Get(5).VerticalAlignment    = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.sheetView1.Columns.Get(5).Width                = 51F;
     this.sheetView1.Columns.Get(6).CellType             = numberCellType4;
     this.sheetView1.Columns.Get(6).Font                 = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.sheetView1.Columns.Get(6).ForeColor            = System.Drawing.Color.Black;
     this.sheetView1.Columns.Get(6).HorizontalAlignment  = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
     this.sheetView1.Columns.Get(6).Label                = "零售总额";
     this.sheetView1.Columns.Get(6).Width                = 59F;
     this.sheetView1.Columns.Get(7).CellType             = numberCellType5;
     this.sheetView1.Columns.Get(7).Font                 = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.sheetView1.Columns.Get(7).HorizontalAlignment  = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
     this.sheetView1.Columns.Get(7).Label                = "进价总额";
     this.sheetView1.Columns.Get(7).Width                = 59F;
     this.sheetView1.Columns.Get(8).CellType             = numberCellType6;
     this.sheetView1.Columns.Get(8).Font                 = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.sheetView1.Columns.Get(8).HorizontalAlignment  = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
     this.sheetView1.Columns.Get(8).Label                = "差额";
     this.sheetView1.Columns.Get(8).Width                = 57F;
     this.sheetView1.Columns.Get(9).Font                 = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.sheetView1.Columns.Get(9).HorizontalAlignment  = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
     this.sheetView1.Columns.Get(9).Label                = "有效期";
     this.sheetView1.Columns.Get(9).Width                = 66F;
     this.sheetView1.Columns.Get(10).Font                = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.sheetView1.Columns.Get(10).Label               = "批号";
     this.sheetView1.Columns.Get(10).Width               = 46F;
     this.sheetView1.Columns.Get(11).Font                = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.sheetView1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
     this.sheetView1.Columns.Get(11).Label               = "生产厂家";
     this.sheetView1.Columns.Get(11).Width               = 109F;
     this.sheetView1.RowHeader.Columns.Default.Resizable = false;
     this.sheetView1.RowHeader.DefaultStyle.BackColor    = System.Drawing.Color.White;
     this.sheetView1.RowHeader.DefaultStyle.Font         = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold);
     this.sheetView1.RowHeader.DefaultStyle.Locked       = false;
     this.sheetView1.RowHeader.DefaultStyle.Parent       = "HeaderDefault";
     this.sheetView1.SheetCornerStyle.BackColor          = System.Drawing.Color.White;
     this.sheetView1.SheetCornerStyle.Locked             = false;
     this.sheetView1.SheetCornerStyle.Parent             = "HeaderDefault";
     this.sheetView1.ReferenceStyle                      = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
     //
     // lbTime
     //
     this.lbTime.Font     = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lbTime.Location = new System.Drawing.Point(299, 53);
     this.lbTime.Name     = "lbTime";
     this.lbTime.Size     = new System.Drawing.Size(163, 16);
     this.lbTime.TabIndex = 56;
     this.lbTime.Text     = "打印日期";
     //
     // lbDept
     //
     this.lbDept.Font     = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lbDept.Location = new System.Drawing.Point(3, 53);
     this.lbDept.Name     = "lbDept";
     this.lbDept.Size     = new System.Drawing.Size(272, 16);
     this.lbDept.TabIndex = 54;
     this.lbDept.Text     = "入库科室";
     //
     // lbPageNum
     //
     this.lbPageNum.Font     = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lbPageNum.Location = new System.Drawing.Point(545, 53);
     this.lbPageNum.Name     = "lbPageNum";
     this.lbPageNum.Size     = new System.Drawing.Size(112, 16);
     this.lbPageNum.TabIndex = 55;
     this.lbPageNum.Text     = "页数";
     //
     // lbTitle
     //
     this.lbTitle.Font     = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lbTitle.Location = new System.Drawing.Point(226, 13);
     this.lbTitle.Name     = "lbTitle";
     this.lbTitle.Size     = new System.Drawing.Size(219, 24);
     this.lbTitle.TabIndex = 7;
     this.lbTitle.Text     = "物资入库单";
     //
     // fpSpread1
     //
     this.fpSpread1.About = "2.5.2007.2005";
     this.fpSpread1.AccessibleDescription = "";
     this.fpSpread1.Location          = new System.Drawing.Point(0, 0);
     this.fpSpread1.Name              = "fpSpread1";
     this.fpSpread1.Size              = new System.Drawing.Size(200, 100);
     this.fpSpread1.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.fpSpread1.TextTipAppearance = tipAppearance2;
     this.fpSpread1.ActiveSheetIndex  = -1;
     //
     // ucMatInputBill
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.neuPanel1);
     this.Name = "ucMatInputBill";
     this.Size = new System.Drawing.Size(781, 355);
     this.neuPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.fpSpread2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.sheetView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 3
0
        /// <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.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.TipAppearance           tipAppearance2  = new FarPoint.Win.Spread.TipAppearance();
            FarPoint.Win.Spread.CellType.TextCellType   textCellType1   = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
            this.splitContainer1   = new System.Windows.Forms.SplitContainer();
            this.neuGroupBox1      = new Neusoft.FrameWork.WinForms.Controls.NeuGroupBox();
            this.lbInformation     = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.splitContainer2   = new System.Windows.Forms.SplitContainer();
            this.fsDrug            = new Neusoft.FrameWork.WinForms.Controls.NeuSpread();
            this.fsDrug_Sheet1     = new FarPoint.Win.Spread.SheetView();
            this.neuTabControl1    = new Neusoft.FrameWork.WinForms.Controls.NeuTabControl();
            this.tabPage1          = new System.Windows.Forms.TabPage();
            this.fsMaterial        = new Neusoft.HISFC.Components.Preparation.FPItem(this.components);
            this.fsMaterial_Sheet1 = new FarPoint.Win.Spread.SheetView();
            this.splitContainer1.Panel1.SuspendLayout();
            this.splitContainer1.Panel2.SuspendLayout();
            this.splitContainer1.SuspendLayout();
            this.neuGroupBox1.SuspendLayout();
            this.splitContainer2.Panel1.SuspendLayout();
            this.splitContainer2.Panel2.SuspendLayout();
            this.splitContainer2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.fsDrug)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fsDrug_Sheet1)).BeginInit();
            this.neuTabControl1.SuspendLayout();
            this.tabPage1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.fsMaterial)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fsMaterial_Sheet1)).BeginInit();
            this.SuspendLayout();
            //
            // splitContainer1
            //
            this.splitContainer1.Dock        = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer1.FixedPanel  = System.Windows.Forms.FixedPanel.Panel1;
            this.splitContainer1.Location    = new System.Drawing.Point(0, 0);
            this.splitContainer1.Name        = "splitContainer1";
            this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
            //
            // splitContainer1.Panel1
            //
            this.splitContainer1.Panel1.Controls.Add(this.neuGroupBox1);
            //
            // splitContainer1.Panel2
            //
            this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
            this.splitContainer1.Size             = new System.Drawing.Size(695, 436);
            this.splitContainer1.SplitterDistance = 42;
            this.splitContainer1.TabIndex         = 0;
            //
            // neuGroupBox1
            //
            this.neuGroupBox1.Controls.Add(this.lbInformation);
            this.neuGroupBox1.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.neuGroupBox1.Location = new System.Drawing.Point(0, 0);
            this.neuGroupBox1.Name     = "neuGroupBox1";
            this.neuGroupBox1.Size     = new System.Drawing.Size(695, 42);
            this.neuGroupBox1.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuGroupBox1.TabIndex = 0;
            this.neuGroupBox1.TabStop  = false;
            //
            // lbInformation
            //
            this.lbInformation.AutoSize  = true;
            this.lbInformation.ForeColor = System.Drawing.Color.Blue;
            this.lbInformation.Location  = new System.Drawing.Point(6, 17);
            this.lbInformation.Name      = "lbInformation";
            this.lbInformation.Size      = new System.Drawing.Size(65, 12);
            this.lbInformation.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.lbInformation.TabIndex  = 0;
            this.lbInformation.Text      = "提示信息:";
            //
            // splitContainer2
            //
            this.splitContainer2.Dock        = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer2.FixedPanel  = System.Windows.Forms.FixedPanel.Panel2;
            this.splitContainer2.Location    = new System.Drawing.Point(0, 0);
            this.splitContainer2.Name        = "splitContainer2";
            this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
            //
            // splitContainer2.Panel1
            //
            this.splitContainer2.Panel1.Controls.Add(this.fsDrug);
            //
            // splitContainer2.Panel2
            //
            this.splitContainer2.Panel2.Controls.Add(this.neuTabControl1);
            this.splitContainer2.Size             = new System.Drawing.Size(695, 390);
            this.splitContainer2.SplitterDistance = 87;
            this.splitContainer2.TabIndex         = 0;
            //
            // fsDrug
            //
            this.fsDrug.About = "2.5.2007.2005";
            this.fsDrug.AccessibleDescription = "fsDrug";
            this.fsDrug.BackColor             = System.Drawing.Color.White;
            this.fsDrug.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.fsDrug.FileName = "";
            this.fsDrug.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.fsDrug.IsAutoSaveGridStatus      = false;
            this.fsDrug.IsCanCustomConfigColumn   = false;
            this.fsDrug.Location = new System.Drawing.Point(0, 0);
            this.fsDrug.Name     = "fsDrug";
            this.fsDrug.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
                this.fsDrug_Sheet1
            });
            this.fsDrug.Size                    = new System.Drawing.Size(695, 87);
            this.fsDrug.Style                   = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.fsDrug.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.fsDrug.TextTipAppearance       = tipAppearance1;
            this.fsDrug.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.fsDrug.SelectionChanged       += new FarPoint.Win.Spread.SelectionChangedEventHandler(this.fsDrug_SelectionChanged);
            //
            // fsDrug_Sheet1
            //
            this.fsDrug_Sheet1.Reset();
            this.fsDrug_Sheet1.SheetName = "Sheet1";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.fsDrug_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.fsDrug_Sheet1.ColumnCount    = 6;
            this.fsDrug_Sheet1.RowCount       = 0;
            this.fsDrug_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.fsDrug_Sheet1.ColumnHeader.Cells.Get(0, 0).Value  = "成品编码";
            this.fsDrug_Sheet1.ColumnHeader.Cells.Get(0, 1).Value  = "成品名称";
            this.fsDrug_Sheet1.ColumnHeader.Cells.Get(0, 2).Value  = "规格";
            this.fsDrug_Sheet1.ColumnHeader.Cells.Get(0, 3).Value  = "包装数量";
            this.fsDrug_Sheet1.ColumnHeader.Cells.Get(0, 4).Value  = "包装单位";
            this.fsDrug_Sheet1.ColumnHeader.Cells.Get(0, 5).Value  = "最小单位";
            this.fsDrug_Sheet1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.White;
            this.fsDrug_Sheet1.ColumnHeader.DefaultStyle.Locked    = false;
            this.fsDrug_Sheet1.ColumnHeader.DefaultStyle.Parent    = "HeaderDefault";
            this.fsDrug_Sheet1.Columns.Get(0).Label                = "成品编码";
            this.fsDrug_Sheet1.Columns.Get(0).Visible              = false;
            this.fsDrug_Sheet1.Columns.Get(1).Label                = "成品名称";
            this.fsDrug_Sheet1.Columns.Get(1).Width                = 140F;
            this.fsDrug_Sheet1.Columns.Get(2).Label                = "规格";
            this.fsDrug_Sheet1.Columns.Get(2).Width                = 80F;
            this.fsDrug_Sheet1.Columns.Get(3).CellType             = numberCellType1;
            this.fsDrug_Sheet1.Columns.Get(3).Label                = "包装数量";
            this.fsDrug_Sheet1.Columns.Get(3).Width                = 80F;
            this.fsDrug_Sheet1.Columns.Get(4).Label                = "包装单位";
            this.fsDrug_Sheet1.Columns.Get(4).Width                = 80F;
            this.fsDrug_Sheet1.DefaultStyle.Locked                 = true;
            this.fsDrug_Sheet1.DefaultStyle.Parent                 = "DataAreaDefault";
            this.fsDrug_Sheet1.OperationMode                       = FarPoint.Win.Spread.OperationMode.SingleSelect;
            this.fsDrug_Sheet1.RowHeader.Columns.Default.Resizable = false;
            this.fsDrug_Sheet1.RowHeader.Columns.Get(0).Width      = 37F;
            this.fsDrug_Sheet1.RowHeader.DefaultStyle.BackColor    = System.Drawing.Color.White;
            this.fsDrug_Sheet1.RowHeader.DefaultStyle.Locked       = false;
            this.fsDrug_Sheet1.RowHeader.DefaultStyle.Parent       = "HeaderDefault";
            this.fsDrug_Sheet1.SelectionPolicy                     = FarPoint.Win.Spread.Model.SelectionPolicy.Single;
            this.fsDrug_Sheet1.SelectionUnit                       = FarPoint.Win.Spread.Model.SelectionUnit.Row;
            this.fsDrug_Sheet1.SheetCornerStyle.BackColor          = System.Drawing.Color.White;
            this.fsDrug_Sheet1.SheetCornerStyle.Locked             = false;
            this.fsDrug_Sheet1.SheetCornerStyle.Parent             = "HeaderDefault";
            this.fsDrug_Sheet1.ReferenceStyle                      = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
            this.fsDrug.SetActiveViewport(1, 0);
            //
            // neuTabControl1
            //
            this.neuTabControl1.Controls.Add(this.tabPage1);
            this.neuTabControl1.Dock          = System.Windows.Forms.DockStyle.Fill;
            this.neuTabControl1.Location      = new System.Drawing.Point(0, 0);
            this.neuTabControl1.Name          = "neuTabControl1";
            this.neuTabControl1.SelectedIndex = 0;
            this.neuTabControl1.Size          = new System.Drawing.Size(695, 299);
            this.neuTabControl1.Style         = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuTabControl1.TabIndex      = 1;
            //
            // tabPage1
            //
            this.tabPage1.Controls.Add(this.fsMaterial);
            this.tabPage1.Location = new System.Drawing.Point(4, 21);
            this.tabPage1.Name     = "tabPage1";
            this.tabPage1.Size     = new System.Drawing.Size(687, 274);
            this.tabPage1.TabIndex = 0;
            this.tabPage1.Text     = "生产原料";
            this.tabPage1.UseVisualStyleBackColor = true;
            //
            // fsMaterial
            //
            this.fsMaterial.About = "2.5.2007.2005";
            this.fsMaterial.AccessibleDescription = "fsMaterial, 生产原料";
            this.fsMaterial.BackColor             = System.Drawing.Color.White;
            this.fsMaterial.Dock                      = System.Windows.Forms.DockStyle.Fill;
            this.fsMaterial.DrugType                  = "";
            this.fsMaterial.EditModePermanent         = true;
            this.fsMaterial.FileName                  = "";
            this.fsMaterial.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.fsMaterial.IsAutoSaveGridStatus      = false;
            this.fsMaterial.IsCanCustomConfigColumn   = false;
            this.fsMaterial.Location                  = new System.Drawing.Point(0, 0);
            this.fsMaterial.Name                      = "fsMaterial";
            this.fsMaterial.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
                this.fsMaterial_Sheet1
            });
            this.fsMaterial.Size                    = new System.Drawing.Size(687, 274);
            this.fsMaterial.Style                   = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.fsMaterial.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.fsMaterial.TextTipAppearance       = tipAppearance2;
            this.fsMaterial.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.fsMaterial.SelectItem             += new System.EventHandler(this.fsMaterial_SelectItem);
            //
            // fsMaterial_Sheet1
            //
            this.fsMaterial_Sheet1.Reset();
            this.fsMaterial_Sheet1.SheetName = "生产原料";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.fsMaterial_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.fsMaterial_Sheet1.ColumnCount    = 8;
            this.fsMaterial_Sheet1.RowCount       = 0;
            this.fsMaterial_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.fsMaterial_Sheet1.ColumnHeader.Cells.Get(0, 0).Value  = "原料编码";
            this.fsMaterial_Sheet1.ColumnHeader.Cells.Get(0, 1).Value  = "原料名称";
            this.fsMaterial_Sheet1.ColumnHeader.Cells.Get(0, 2).Value  = "规格";
            this.fsMaterial_Sheet1.ColumnHeader.Cells.Get(0, 3).Value  = "包装数量";
            this.fsMaterial_Sheet1.ColumnHeader.Cells.Get(0, 4).Value  = "单价";
            this.fsMaterial_Sheet1.ColumnHeader.Cells.Get(0, 5).Value  = "处方量";
            this.fsMaterial_Sheet1.ColumnHeader.Cells.Get(0, 6).Value  = "单位";
            this.fsMaterial_Sheet1.ColumnHeader.Cells.Get(0, 7).Value  = "备注";
            this.fsMaterial_Sheet1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.White;
            this.fsMaterial_Sheet1.ColumnHeader.DefaultStyle.Locked    = false;
            this.fsMaterial_Sheet1.ColumnHeader.DefaultStyle.Parent    = "HeaderDefault";
            this.fsMaterial_Sheet1.Columns.Get(0).Label                = "原料编码";
            this.fsMaterial_Sheet1.Columns.Get(0).Visible              = false;
            this.fsMaterial_Sheet1.Columns.Get(1).CellType             = textCellType1;
            this.fsMaterial_Sheet1.Columns.Get(1).Label                = "原料名称";
            this.fsMaterial_Sheet1.Columns.Get(1).Locked               = false;
            this.fsMaterial_Sheet1.Columns.Get(1).Width                = 140F;
            this.fsMaterial_Sheet1.Columns.Get(2).Label                = "规格";
            this.fsMaterial_Sheet1.Columns.Get(2).Width                = 80F;
            this.fsMaterial_Sheet1.Columns.Get(3).CellType             = numberCellType2;
            this.fsMaterial_Sheet1.Columns.Get(3).Label                = "包装数量";
            this.fsMaterial_Sheet1.Columns.Get(3).Locked               = true;
            this.fsMaterial_Sheet1.Columns.Get(4).BackColor            = System.Drawing.Color.Transparent;
            this.fsMaterial_Sheet1.Columns.Get(4).CellType             = numberCellType3;
            this.fsMaterial_Sheet1.Columns.Get(4).Label                = "单价";
            this.fsMaterial_Sheet1.Columns.Get(4).Width                = 80F;
            this.fsMaterial_Sheet1.Columns.Get(5).BackColor            = System.Drawing.Color.SeaShell;
            this.fsMaterial_Sheet1.Columns.Get(5).CellType             = numberCellType4;
            this.fsMaterial_Sheet1.Columns.Get(5).Label                = "处方量";
            this.fsMaterial_Sheet1.Columns.Get(5).Locked               = false;
            this.fsMaterial_Sheet1.Columns.Get(5).Width                = 89F;
            this.fsMaterial_Sheet1.Columns.Get(7).BackColor            = System.Drawing.Color.SeaShell;
            this.fsMaterial_Sheet1.Columns.Get(7).Label                = "备注";
            this.fsMaterial_Sheet1.Columns.Get(7).Locked               = false;
            this.fsMaterial_Sheet1.Columns.Get(7).Width                = 179F;
            this.fsMaterial_Sheet1.DefaultStyle.Locked                 = true;
            this.fsMaterial_Sheet1.DefaultStyle.Parent                 = "DataAreaDefault";
            this.fsMaterial_Sheet1.OperationMode                       = FarPoint.Win.Spread.OperationMode.RowMode;
            this.fsMaterial_Sheet1.RowHeader.Columns.Default.Resizable = false;
            this.fsMaterial_Sheet1.RowHeader.Columns.Get(0).Width      = 37F;
            this.fsMaterial_Sheet1.RowHeader.DefaultStyle.BackColor    = System.Drawing.Color.White;
            this.fsMaterial_Sheet1.RowHeader.DefaultStyle.Locked       = false;
            this.fsMaterial_Sheet1.RowHeader.DefaultStyle.Parent       = "HeaderDefault";
            this.fsMaterial_Sheet1.SheetCornerStyle.BackColor          = System.Drawing.Color.White;
            this.fsMaterial_Sheet1.SheetCornerStyle.Locked             = false;
            this.fsMaterial_Sheet1.SheetCornerStyle.Parent             = "HeaderDefault";
            this.fsMaterial_Sheet1.ReferenceStyle                      = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
            this.fsMaterial.SetActiveViewport(1, 0);
            //
            // ucPrescription
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor           = System.Drawing.Color.White;
            this.Controls.Add(this.splitContainer1);
            this.Name  = "ucPrescription";
            this.Size  = new System.Drawing.Size(695, 436);
            this.Load += new System.EventHandler(this.ucPrescription_Load);
            this.splitContainer1.Panel1.ResumeLayout(false);
            this.splitContainer1.Panel2.ResumeLayout(false);
            this.splitContainer1.ResumeLayout(false);
            this.neuGroupBox1.ResumeLayout(false);
            this.neuGroupBox1.PerformLayout();
            this.splitContainer2.Panel1.ResumeLayout(false);
            this.splitContainer2.Panel2.ResumeLayout(false);
            this.splitContainer2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.fsDrug)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fsDrug_Sheet1)).EndInit();
            this.neuTabControl1.ResumeLayout(false);
            this.tabPage1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.fsMaterial)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fsMaterial_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.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
            this.neuLabel1         = new Neusoft.NFC.Interface.Controls.NeuLabel();
            this.neuComboBox1      = new Neusoft.NFC.Interface.Controls.NeuComboBox(this.components);
            this.neuLabel2         = new Neusoft.NFC.Interface.Controls.NeuLabel();
            this.neuGroupBox1      = new Neusoft.NFC.Interface.Controls.NeuGroupBox();
            this.neuSpread1        = new Neusoft.NFC.Interface.Controls.NeuSpread();
            this.neuSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
            this.neuPanel1         = new Neusoft.NFC.Interface.Controls.NeuPanel();
            this.neuCheckBox1      = new Neusoft.NFC.Interface.Controls.NeuCheckBox();
            this.btnOK             = new Neusoft.NFC.Interface.Controls.NeuButton();
            this.btnCancel         = new Neusoft.NFC.Interface.Controls.NeuButton();
            this.neuPanel2         = new Neusoft.NFC.Interface.Controls.NeuPanel();
            this.neuGroupBox1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1_Sheet1)).BeginInit();
            this.neuPanel1.SuspendLayout();
            this.neuPanel2.SuspendLayout();
            this.SuspendLayout();
            //
            // neuLabel1
            //
            this.neuLabel1.AutoSize = true;
            this.neuLabel1.Location = new System.Drawing.Point(7, 25);
            this.neuLabel1.Name     = "neuLabel1";
            this.neuLabel1.Size     = new System.Drawing.Size(59, 12);
            this.neuLabel1.Style    = Neusoft.NFC.Interface.Controls.StyleType.Fixed3D;
            this.neuLabel1.TabIndex = 0;
            this.neuLabel1.Text     = "药品选择:";
            //
            // neuComboBox1
            //
            this.neuComboBox1.ArrowBackColor    = System.Drawing.Color.Silver;
            this.neuComboBox1.DrawMode          = System.Windows.Forms.DrawMode.OwnerDrawFixed;
            this.neuComboBox1.FormattingEnabled = true;
            this.neuComboBox1.IsFlat            = true;
            this.neuComboBox1.IsLike            = true;
            this.neuComboBox1.Location          = new System.Drawing.Point(67, 21);
            this.neuComboBox1.Name             = "neuComboBox1";
            this.neuComboBox1.PopForm          = null;
            this.neuComboBox1.ShowCustomerList = false;
            this.neuComboBox1.ShowID           = false;
            this.neuComboBox1.Size             = new System.Drawing.Size(261, 22);
            this.neuComboBox1.Style            = Neusoft.NFC.Interface.Controls.StyleType.Flat;
            this.neuComboBox1.TabIndex         = 1;
            this.neuComboBox1.Tag        = "";
            this.neuComboBox1.ToolBarUse = false;
            //
            // neuLabel2
            //
            this.neuLabel2.AutoSize  = true;
            this.neuLabel2.Font      = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.neuLabel2.ForeColor = System.Drawing.Color.Blue;
            this.neuLabel2.Location  = new System.Drawing.Point(6, 55);
            this.neuLabel2.Name      = "neuLabel2";
            this.neuLabel2.Size      = new System.Drawing.Size(427, 14);
            this.neuLabel2.Style     = Neusoft.NFC.Interface.Controls.StyleType.Fixed3D;
            this.neuLabel2.TabIndex  = 2;
            this.neuLabel2.Text      = "药品名称:{0} 价格:{1} 包装单位:{2} 包装数量:{3} 最小单位:{4}";
            //
            // neuGroupBox1
            //
            this.neuGroupBox1.Controls.Add(this.neuLabel2);
            this.neuGroupBox1.Controls.Add(this.neuLabel1);
            this.neuGroupBox1.Controls.Add(this.neuComboBox1);
            this.neuGroupBox1.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.neuGroupBox1.Location = new System.Drawing.Point(0, 0);
            this.neuGroupBox1.Name     = "neuGroupBox1";
            this.neuGroupBox1.Size     = new System.Drawing.Size(622, 86);
            this.neuGroupBox1.Style    = Neusoft.NFC.Interface.Controls.StyleType.Fixed3D;
            this.neuGroupBox1.TabIndex = 3;
            this.neuGroupBox1.TabStop  = false;
            this.neuGroupBox1.Text     = "药品信息";
            //
            // neuSpread1
            //
            this.neuSpread1.About = "2.5.2007.2005";
            this.neuSpread1.AccessibleDescription = "neuSpread1, Sheet1, Row 0, Column 0, ";
            this.neuSpread1.BackColor             = System.Drawing.SystemColors.Control;
            this.neuSpread1.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.neuSpread1.FileName = "";
            this.neuSpread1.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.neuSpread1.IsAutoSaveGridStatus      = false;
            this.neuSpread1.IsCanCustomConfigColumn   = false;
            this.neuSpread1.Location = new System.Drawing.Point(0, 86);
            this.neuSpread1.Name     = "neuSpread1";
            this.neuSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
                this.neuSpread1_Sheet1
            });
            this.neuSpread1.Size                    = new System.Drawing.Size(622, 202);
            this.neuSpread1.Style                   = Neusoft.NFC.Interface.Controls.StyleType.Fixed3D;
            this.neuSpread1.TabIndex                = 4;
            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.neuSpread1.TextTipAppearance       = tipAppearance1;
            this.neuSpread1.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            //
            // neuSpread1_Sheet1
            //
            this.neuSpread1_Sheet1.Reset();
            this.neuSpread1_Sheet1.SheetName = "Sheet1";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.neuSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.neuSpread1_Sheet1.ColumnCount    = 4;
            this.neuSpread1_Sheet1.RowCount       = 2;
            this.neuSpread1_Sheet1.ActiveSkin     = new FarPoint.Win.Spread.SheetSkin("CustomSkin2", System.Drawing.Color.Honeydew, System.Drawing.Color.Empty, System.Drawing.Color.Empty, System.Drawing.Color.LightGray, FarPoint.Win.Spread.GridLines.Both, System.Drawing.Color.Honeydew, System.Drawing.Color.Empty, System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(225)))), ((int)(((byte)(243))))), System.Drawing.Color.Empty, System.Drawing.Color.Empty, System.Drawing.Color.Empty, false, false, false, true, false);
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value  = "类别";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value  = "单位";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value  = "参照量";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value  = "参照单位";
            this.neuSpread1_Sheet1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.Honeydew;
            this.neuSpread1_Sheet1.ColumnHeader.DefaultStyle.Locked    = false;
            this.neuSpread1_Sheet1.ColumnHeader.DefaultStyle.Parent    = "HeaderDefault";
            this.neuSpread1_Sheet1.Columns.Get(0).Label                = "类别";
            this.neuSpread1_Sheet1.Columns.Get(0).Width                = 163F;
            this.neuSpread1_Sheet1.Columns.Get(1).Label                = "单位";
            this.neuSpread1_Sheet1.Columns.Get(1).Width                = 92F;
            this.neuSpread1_Sheet1.Columns.Get(2).CellType             = numberCellType1;
            this.neuSpread1_Sheet1.Columns.Get(2).Label                = "参照量";
            this.neuSpread1_Sheet1.Columns.Get(2).Width                = 106F;
            this.neuSpread1_Sheet1.Columns.Get(3).Label                = "参照单位";
            this.neuSpread1_Sheet1.Columns.Get(3).Width                = 117F;
            this.neuSpread1_Sheet1.OperationMode                       = FarPoint.Win.Spread.OperationMode.RowMode;
            this.neuSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
            this.neuSpread1_Sheet1.RowHeader.Columns.Get(0).Width      = 37F;
            this.neuSpread1_Sheet1.RowHeader.DefaultStyle.BackColor    = System.Drawing.Color.Honeydew;
            this.neuSpread1_Sheet1.RowHeader.DefaultStyle.Locked       = false;
            this.neuSpread1_Sheet1.RowHeader.DefaultStyle.Parent       = "HeaderDefault";
            this.neuSpread1_Sheet1.RowHeader.Visible                   = false;
            this.neuSpread1_Sheet1.SheetCornerStyle.BackColor          = System.Drawing.Color.Honeydew;
            this.neuSpread1_Sheet1.SheetCornerStyle.Locked             = false;
            this.neuSpread1_Sheet1.SheetCornerStyle.Parent             = "HeaderDefault";
            this.neuSpread1_Sheet1.ReferenceStyle                      = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
            //
            // neuPanel1
            //
            this.neuPanel1.Controls.Add(this.btnCancel);
            this.neuPanel1.Controls.Add(this.btnOK);
            this.neuPanel1.Controls.Add(this.neuCheckBox1);
            this.neuPanel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
            this.neuPanel1.Location = new System.Drawing.Point(0, 288);
            this.neuPanel1.Name     = "neuPanel1";
            this.neuPanel1.Size     = new System.Drawing.Size(622, 36);
            this.neuPanel1.Style    = Neusoft.NFC.Interface.Controls.StyleType.Fixed3D;
            this.neuPanel1.TabIndex = 5;
            //
            // neuCheckBox1
            //
            this.neuCheckBox1.AutoSize = true;
            this.neuCheckBox1.Location = new System.Drawing.Point(18, 12);
            this.neuCheckBox1.Name     = "neuCheckBox1";
            this.neuCheckBox1.Size     = new System.Drawing.Size(72, 16);
            this.neuCheckBox1.Style    = Neusoft.NFC.Interface.Controls.StyleType.Fixed3D;
            this.neuCheckBox1.TabIndex = 0;
            this.neuCheckBox1.Text     = "继续录入";
            this.neuCheckBox1.UseVisualStyleBackColor = true;
            //
            // btnOK
            //
            this.btnOK.Location = new System.Drawing.Point(477, 5);
            this.btnOK.Name     = "btnOK";
            this.btnOK.Size     = new System.Drawing.Size(62, 23);
            this.btnOK.Style    = Neusoft.NFC.Interface.Controls.StyleType.Fixed3D;
            this.btnOK.TabIndex = 1;
            this.btnOK.Text     = "保存";
            this.btnOK.Type     = Neusoft.NFC.Interface.Controls.General.ButtonType.None;
            this.btnOK.UseVisualStyleBackColor = true;
            //
            // btnCancel
            //
            this.btnCancel.Location = new System.Drawing.Point(545, 5);
            this.btnCancel.Name     = "btnCancel";
            this.btnCancel.Size     = new System.Drawing.Size(62, 23);
            this.btnCancel.Style    = Neusoft.NFC.Interface.Controls.StyleType.Fixed3D;
            this.btnCancel.TabIndex = 1;
            this.btnCancel.Text     = "取消";
            this.btnCancel.Type     = Neusoft.NFC.Interface.Controls.General.ButtonType.None;
            this.btnCancel.UseVisualStyleBackColor = true;
            //
            // neuPanel2
            //
            this.neuPanel2.Controls.Add(this.neuGroupBox1);
            this.neuPanel2.Dock     = System.Windows.Forms.DockStyle.Top;
            this.neuPanel2.Location = new System.Drawing.Point(0, 0);
            this.neuPanel2.Name     = "neuPanel2";
            this.neuPanel2.Size     = new System.Drawing.Size(622, 86);
            this.neuPanel2.Style    = Neusoft.NFC.Interface.Controls.StyleType.Fixed3D;
            this.neuPanel2.TabIndex = 6;
            //
            // ucSpeUnitMaintenance
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.neuSpread1);
            this.Controls.Add(this.neuPanel2);
            this.Controls.Add(this.neuPanel1);
            this.Name = "ucSpeUnitMaintenance";
            this.Size = new System.Drawing.Size(622, 324);
            this.neuGroupBox1.ResumeLayout(false);
            this.neuGroupBox1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1_Sheet1)).EndInit();
            this.neuPanel1.ResumeLayout(false);
            this.neuPanel1.PerformLayout();
            this.neuPanel2.ResumeLayout(false);
            this.ResumeLayout(false);
        }
 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     FarPoint.Win.Spread.CellType.NumberCellType    numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
     System.ComponentModel.ComponentResourceManager resources       = new System.ComponentModel.ComponentResourceManager(typeof(ucPageCallBackCheck));
     DevExpress.Utils.SerializableAppearanceObject  serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject();
     this.neuSpread1         = new NineVigor.FrameWork.WinForms.Controls.NineSpread();
     this.neuSpread1_Sheet1  = new FarPoint.Win.Spread.SheetView();
     this.neuPanel2          = new System.Windows.Forms.Panel();
     this.neuSpread3         = new NineVigor.FrameWork.WinForms.Controls.NineSpread();
     this.sheetView1         = new FarPoint.Win.Spread.SheetView();
     this.gTopControl        = new DevExpress.XtraEditors.GroupControl();
     this.tbName             = new NineVigor.FrameWork.WinForms.Controls.Common.NVTextEdit();
     this.nvLabel1           = new NineVigor.FrameWork.WinForms.Controls.Common.NVLabel();
     this.txtPatientNOSearch = new NineVigor.FrameWork.WinForms.Controls.Common.NVTextEdit();
     this.btnHisQuery        = new NineVigor.FrameWork.WinForms.Controls.Common.NVButtonEdit();
     this.label1             = new System.Windows.Forms.Label();
     this.groupControl1      = new DevExpress.XtraEditors.GroupControl();
     this.groupControl2      = new DevExpress.XtraEditors.GroupControl();
     ((System.ComponentModel.ISupportInitialize)(this.neuSpread1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.neuSpread1_Sheet1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.neuSpread3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.sheetView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gTopControl)).BeginInit();
     this.gTopControl.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tbName.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtPatientNOSearch.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnHisQuery.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
     this.groupControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit();
     this.groupControl2.SuspendLayout();
     this.SuspendLayout();
     //
     // neuSpread1
     //
     this.neuSpread1.AccessibleDescription = "neuSpread1, Sheet1, Row 0, Column 0, ";
     this.neuSpread1.BackColor             = System.Drawing.Color.White;
     this.neuSpread1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.neuSpread1.FileName = "";
     this.neuSpread1.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
     this.neuSpread1.IsAutoSaveGridStatus      = false;
     this.neuSpread1.IsCanCustomConfigColumn   = false;
     this.neuSpread1.IsShowExport    = true;
     this.neuSpread1.IsShowMenuStrip = true;
     this.neuSpread1.Location        = new System.Drawing.Point(2, 32);
     this.neuSpread1.Name            = "neuSpread1";
     this.neuSpread1.RightToLeft     = System.Windows.Forms.RightToLeft.No;
     this.neuSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
         this.neuSpread1_Sheet1
     });
     this.neuSpread1.Size     = new System.Drawing.Size(1281, 135);
     this.neuSpread1.Style    = NineVigor.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.neuSpread1.TabIndex = 1;
     this.neuSpread1.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
     //
     // neuSpread1_Sheet1
     //
     this.neuSpread1_Sheet1.Reset();
     neuSpread1_Sheet1.SheetName = "Sheet1";
     // Formulas and custom names must be loaded with R1C1 reference style
     this.neuSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
     neuSpread1_Sheet1.ColumnCount         = 15;
     neuSpread1_Sheet1.RowCount            = 2;
     this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "选择";
     this.neuSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.neuSpread1_Sheet1.Columns.Get(0).Label = "选择";
     this.neuSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
     this.neuSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
     //
     // neuPanel2
     //
     this.neuPanel2.Location = new System.Drawing.Point(3, 243);
     this.neuPanel2.Name     = "neuPanel2";
     this.neuPanel2.Size     = new System.Drawing.Size(1279, 331);
     this.neuPanel2.TabIndex = 3;
     //
     // neuSpread3
     //
     this.neuSpread3.AccessibleDescription = "neuSpread3, Sheet1, Row 0, Column 0, ";
     this.neuSpread3.BackColor             = System.Drawing.Color.White;
     this.neuSpread3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.neuSpread3.FileName = "";
     this.neuSpread3.Font     = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.neuSpread3.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
     this.neuSpread3.IsAutoSaveGridStatus      = false;
     this.neuSpread3.IsCanCustomConfigColumn   = false;
     this.neuSpread3.IsShowExport    = true;
     this.neuSpread3.IsShowMenuStrip = true;
     this.neuSpread3.Location        = new System.Drawing.Point(2, 32);
     this.neuSpread3.Name            = "neuSpread3";
     this.neuSpread3.RightToLeft     = System.Windows.Forms.RightToLeft.No;
     this.neuSpread3.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
         this.sheetView1
     });
     this.neuSpread3.Size     = new System.Drawing.Size(1281, 291);
     this.neuSpread3.Style    = NineVigor.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.neuSpread3.TabIndex = 661;
     this.neuSpread3.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
     //
     // sheetView1
     //
     this.sheetView1.Reset();
     sheetView1.SheetName = "Sheet1";
     // Formulas and custom names must be loaded with R1C1 reference style
     this.sheetView1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
     sheetView1.ColumnCount         = 12;
     sheetView1.RowCount            = 5;
     this.sheetView1.ColumnHeader.Rows.Get(0).Height    = 19F;
     this.sheetView1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.sheetView1.Columns.Get(0).Width                = 75F;
     numberCellType2.DecimalPlaces                       = 0;
     this.sheetView1.Columns.Get(1).CellType             = numberCellType2;
     this.sheetView1.Columns.Get(1).Width                = 95F;
     this.sheetView1.Columns.Get(2).Width                = 65F;
     this.sheetView1.Columns.Get(3).Width                = 69F;
     this.sheetView1.Columns.Get(4).Width                = 68F;
     this.sheetView1.Columns.Get(5).Width                = 110F;
     this.sheetView1.Columns.Get(6).HorizontalAlignment  = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.sheetView1.Columns.Get(6).VerticalAlignment    = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.sheetView1.Columns.Get(6).Width                = 182F;
     this.sheetView1.RowHeader.Columns.Default.Resizable = false;
     this.sheetView1.RowHeader.Columns.Get(0).Width      = 38F;
     this.sheetView1.Rows.Get(0).Font                    = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.sheetView1.Rows.Get(0).Height                  = 30F;
     this.sheetView1.Rows.Get(1).Height                  = 30F;
     this.sheetView1.Rows.Get(2).Height                  = 30F;
     this.sheetView1.Rows.Get(3).Height                  = 30F;
     this.sheetView1.Rows.Get(4).Height                  = 30F;
     this.sheetView1.ReferenceStyle                      = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
     //
     // gTopControl
     //
     this.gTopControl.AppearanceCaption.Font            = new System.Drawing.Font("Tahoma", 11.5F);
     this.gTopControl.AppearanceCaption.Options.UseFont = true;
     this.gTopControl.CaptionImage = ((System.Drawing.Image)(resources.GetObject("gTopControl.CaptionImage")));
     this.gTopControl.Controls.Add(this.tbName);
     this.gTopControl.Controls.Add(this.nvLabel1);
     this.gTopControl.Controls.Add(this.txtPatientNOSearch);
     this.gTopControl.Controls.Add(this.btnHisQuery);
     this.gTopControl.Controls.Add(this.label1);
     this.gTopControl.Dock     = System.Windows.Forms.DockStyle.Top;
     this.gTopControl.Location = new System.Drawing.Point(0, 0);
     this.gTopControl.Name     = "gTopControl";
     this.gTopControl.Size     = new System.Drawing.Size(1285, 83);
     this.gTopControl.TabIndex = 6;
     this.gTopControl.Text     = "病历回收检索信息区域";
     //
     // tbName
     //
     this.tbName.Location = new System.Drawing.Point(342, 39);
     this.tbName.Name     = "tbName";
     this.tbName.Properties.Appearance.Font            = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.tbName.Properties.Appearance.Options.UseFont = true;
     this.tbName.Size     = new System.Drawing.Size(128, 22);
     this.tbName.TabIndex = 17;
     //
     // nvLabel1
     //
     this.nvLabel1.Appearance.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.nvLabel1.Location        = new System.Drawing.Point(10, 42);
     this.nvLabel1.Name            = "nvLabel1";
     this.nvLabel1.Size            = new System.Drawing.Size(136, 16);
     this.nvLabel1.TabIndex        = 16;
     this.nvLabel1.Text            = "病案号/住院流水号";
     //
     // txtPatientNOSearch
     //
     this.txtPatientNOSearch.Location = new System.Drawing.Point(152, 39);
     this.txtPatientNOSearch.Name     = "txtPatientNOSearch";
     this.txtPatientNOSearch.Properties.Appearance.Font            = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.txtPatientNOSearch.Properties.Appearance.Options.UseFont = true;
     this.txtPatientNOSearch.Size     = new System.Drawing.Size(140, 22);
     this.txtPatientNOSearch.TabIndex = 15;
     //
     // btnHisQuery
     //
     this.btnHisQuery.EditValue = "回收历史查询";
     this.btnHisQuery.Location  = new System.Drawing.Point(492, 38);
     this.btnHisQuery.Name      = "btnHisQuery";
     this.btnHisQuery.Properties.Appearance.Font            = new System.Drawing.Font("Tahoma", 10.5F);
     this.btnHisQuery.Properties.Appearance.Options.UseFont = true;
     this.btnHisQuery.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "取消回收", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, ((System.Drawing.Image)(resources.GetObject("btnUnCheck.Properties.Buttons"))), new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject2, "", null, null, true)
     });
     this.btnHisQuery.Size     = new System.Drawing.Size(121, 28);
     this.btnHisQuery.TabIndex = 14;
     this.btnHisQuery.TabStop  = false;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label1.Location = new System.Drawing.Point(305, 43);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(40, 16);
     this.label1.TabIndex = 2;
     this.label1.Text     = "姓名";
     //
     // groupControl1
     //
     this.groupControl1.AppearanceCaption.Font                 = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold);
     this.groupControl1.AppearanceCaption.ForeColor            = System.Drawing.Color.Red;
     this.groupControl1.AppearanceCaption.Options.UseFont      = true;
     this.groupControl1.AppearanceCaption.Options.UseForeColor = true;
     this.groupControl1.CaptionImage = ((System.Drawing.Image)(resources.GetObject("groupControl1.CaptionImage")));
     this.groupControl1.Controls.Add(this.neuSpread1);
     this.groupControl1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.groupControl1.Location = new System.Drawing.Point(0, 83);
     this.groupControl1.Name     = "groupControl1";
     this.groupControl1.Size     = new System.Drawing.Size(1285, 169);
     this.groupControl1.TabIndex = 18;
     this.groupControl1.Text     = "未回收病历信息";
     //
     // groupControl2
     //
     this.groupControl2.AppearanceCaption.Font                 = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold);
     this.groupControl2.AppearanceCaption.ForeColor            = System.Drawing.Color.Green;
     this.groupControl2.AppearanceCaption.Options.UseFont      = true;
     this.groupControl2.AppearanceCaption.Options.UseForeColor = true;
     this.groupControl2.CaptionImage = ((System.Drawing.Image)(resources.GetObject("groupControl2.CaptionImage")));
     this.groupControl2.Controls.Add(this.neuSpread3);
     this.groupControl2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupControl2.Location = new System.Drawing.Point(0, 252);
     this.groupControl2.Name     = "groupControl2";
     this.groupControl2.Size     = new System.Drawing.Size(1285, 325);
     this.groupControl2.TabIndex = 19;
     this.groupControl2.Text     = "已回收病历信息";
     //
     // ucPageCallBackCheck
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.groupControl2);
     this.Controls.Add(this.groupControl1);
     this.Controls.Add(this.gTopControl);
     this.Controls.Add(this.neuPanel2);
     this.Name  = "ucPageCallBackCheck";
     this.Size  = new System.Drawing.Size(1285, 577);
     this.Load += new System.EventHandler(this.UcMetCasFirstPageCheck_Load);
     ((System.ComponentModel.ISupportInitialize)(this.neuSpread1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.neuSpread1_Sheet1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.neuSpread3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.sheetView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gTopControl)).EndInit();
     this.gTopControl.ResumeLayout(false);
     this.gTopControl.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tbName.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtPatientNOSearch.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnHisQuery.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit();
     this.groupControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit();
     this.groupControl2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 6
0
        private void setGrdViewH()
        {
            FarPoint.Win.Spread.EnhancedInterfaceRenderer outlinelook = new FarPoint.Win.Spread.EnhancedInterfaceRenderer();
            outlinelook.RangeGroupBackgroundColor   = Color.LightGreen;
            outlinelook.RangeGroupButtonBorderColor = Color.Red;
            outlinelook.RangeGroupLineColor         = Color.Blue;
            grdView.InterfaceRenderer       = outlinelook;
            grdView.Sheets[0].OperationMode = FarPoint.Win.Spread.OperationMode.RowMode;

            grdView.BorderStyle = BorderStyle.None;
            grdView.Sheets[0].Columns[0, 2].AllowAutoFilter = true;
            grdView.Sheets[0].Columns[0, 2].AllowAutoSort   = true;
            grdView.Sheets[0].AutoFilterMode = FarPoint.Win.Spread.AutoFilterMode.EnhancedContextMenu;

            FarPoint.Win.Spread.CellType.NumberCellType objNumCell = new FarPoint.Win.Spread.CellType.NumberCellType();
            objNumCell.DecimalPlaces = 0;
            objNumCell.MinimumValue  = 1;
            objNumCell.MaximumValue  = 9999;
            objNumCell.ShowSeparator = false;

            FarPoint.Win.Spread.CellType.DateTimeCellType datecell = new FarPoint.Win.Spread.CellType.DateTimeCellType();
            datecell.DateSeparator  = " | ";
            datecell.TimeSeparator  = ".";
            datecell.DateTimeFormat = FarPoint.Win.Spread.CellType.DateTimeFormat.ShortDateWithTime;

            FarPoint.Win.Spread.CellType.CurrencyCellType ctest = new FarPoint.Win.Spread.CellType.CurrencyCellType();
            ctest.SetCalculatorText("Accept", "Cancel");
            FarPoint.Win.Spread.CellType.TextCellType objTextCell = new FarPoint.Win.Spread.CellType.TextCellType();

            //grdView.sheet
            //grdView.Height = 330;
            //grdView.Width = 765;
            grdView.Sheets[0].ColumnCount = colCnt;
            grdView.Sheets[0].RowCount    = 1;


            //grdView.Sheets[0].ColumnHeader.Cells[0, 0].Text = "Check #";
            grdView.Sheets[0].Columns[colId].CellType          = objTextCell;
            grdView.Sheets[0].Columns[colbtid].CellType        = objTextCell;
            grdView.Sheets[0].Columns[colinvno].CellType       = objTextCell;
            grdView.Sheets[0].Columns[colsvdate].CellType      = objTextCell;
            grdView.Sheets[0].Columns[colbillmuad].CellType    = objTextCell;
            grdView.Sheets[0].Columns[collccode].CellType      = objTextCell;
            grdView.Sheets[0].Columns[colstdcode].CellType     = objTextCell;
            grdView.Sheets[0].Columns[coldesc1].CellType       = objTextCell;
            grdView.Sheets[0].Columns[colqty].CellType         = objTextCell;
            grdView.Sheets[0].Columns[colup].CellType          = objTextCell;
            grdView.Sheets[0].Columns[colchargeamt].CellType   = objTextCell;
            grdView.Sheets[0].Columns[colclaimup].CellType     = objTextCell;
            grdView.Sheets[0].Columns[colsvrefid].CellType     = objTextCell;
            grdView.Sheets[0].Columns[colclaimcat].CellType    = objTextCell;
            grdView.Sheets[0].Columns[colEdit].CellType        = objTextCell;
            grdView.Sheets[0].Columns[colClaimamount].CellType = objTextCell;

            grdView.Sheets[0].Columns[colId].Visible   = false;
            grdView.Sheets[0].Columns[colbtid].Visible = false;
            grdView.Sheets[0].Columns[colEdit].Visible = false;

            grdView.Sheets[0].SheetName = "BillTran Items";

            grdView.Sheets[0].Columns[colinvno].Width       = 100;
            grdView.Sheets[0].Columns[colsvdate].Width      = 120;
            grdView.Sheets[0].Columns[colbillmuad].Width    = 50;
            grdView.Sheets[0].Columns[collccode].Width      = 50;
            grdView.Sheets[0].Columns[colstdcode].Width     = 50;
            grdView.Sheets[0].Columns[coldesc1].Width       = 250;
            grdView.Sheets[0].Columns[colqty].Width         = 50;
            grdView.Sheets[0].Columns[colup].Width          = 80;
            grdView.Sheets[0].Columns[colchargeamt].Width   = 60;
            grdView.Sheets[0].Columns[colclaimup].Width     = 50;
            grdView.Sheets[0].Columns[colsvrefid].Width     = 80;
            grdView.Sheets[0].Columns[colclaimcat].Width    = 50;
            grdView.Sheets[0].Columns[colClaimamount].Width = 50;

            grdView.Sheets[0].ColumnHeader.Cells[0, colinvno].Text       = "invno";
            grdView.Sheets[0].ColumnHeader.Cells[0, colsvdate].Text      = "svdate";
            grdView.Sheets[0].ColumnHeader.Cells[0, colbillmuad].Text    = "billmuad";
            grdView.Sheets[0].ColumnHeader.Cells[0, collccode].Text      = "lccode";
            grdView.Sheets[0].ColumnHeader.Cells[0, colstdcode].Text     = "stdcode";
            grdView.Sheets[0].ColumnHeader.Cells[0, coldesc1].Text       = "description";
            grdView.Sheets[0].ColumnHeader.Cells[0, colqty].Text         = "qty";
            grdView.Sheets[0].ColumnHeader.Cells[0, colup].Text          = "up";
            grdView.Sheets[0].ColumnHeader.Cells[0, colchargeamt].Text   = "chargeamt";
            grdView.Sheets[0].ColumnHeader.Cells[0, colclaimup].Text     = "claimup";
            grdView.Sheets[0].ColumnHeader.Cells[0, colsvrefid].Text     = "svrefid";
            grdView.Sheets[0].ColumnHeader.Cells[0, colclaimcat].Text    = "claimcat";
            grdView.Sheets[0].ColumnHeader.Cells[0, colClaimamount].Text = "claimamount";

            grdView.Sheets[0].RestrictRows = true;
        }
        /// <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.NumberCellType   numberCellType1   = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.ComboBoxCellType comboBoxCellType1 = new FarPoint.Win.Spread.CellType.ComboBoxCellType();
            this.neuTabControl1    = new Neusoft.FrameWork.WinForms.Controls.NeuTabControl();
            this.tpConfig          = new System.Windows.Forms.TabPage();
            this.txtSql            = new Neusoft.FrameWork.WinForms.Controls.RichTextBox();
            this.neuLabel3         = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.ckSqlXml          = new Neusoft.FrameWork.WinForms.Controls.NeuCheckBox();
            this.txtFpPathName     = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
            this.txtSqlIndex       = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
            this.txtReportID       = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
            this.neuLabel4         = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.neuLabel2         = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.neuLabel1         = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.tpFpSet           = new System.Windows.Forms.TabPage();
            this.neuSpread1        = new Neusoft.FrameWork.WinForms.Controls.NeuSpread();
            this.neuSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
            this.neuGroupBox2      = new Neusoft.FrameWork.WinForms.Controls.NeuGroupBox();
            this.txtPath           = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
            this.neuLabel6         = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.neuLabel5         = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.neuGroupBox1      = new Neusoft.FrameWork.WinForms.Controls.NeuGroupBox();
            this.ckContinue        = new Neusoft.FrameWork.WinForms.Controls.NeuCheckBox();
            this.btnClear          = new Neusoft.FrameWork.WinForms.Controls.NeuButton();
            this.btnCancel         = new Neusoft.FrameWork.WinForms.Controls.NeuButton();
            this.btnOK             = new Neusoft.FrameWork.WinForms.Controls.NeuButton();
            this.neuTabControl1.SuspendLayout();
            this.tpConfig.SuspendLayout();
            this.tpFpSet.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1_Sheet1)).BeginInit();
            this.neuGroupBox2.SuspendLayout();
            this.neuGroupBox1.SuspendLayout();
            this.SuspendLayout();
            //
            // neuTabControl1
            //
            this.neuTabControl1.Controls.Add(this.tpConfig);
            this.neuTabControl1.Controls.Add(this.tpFpSet);
            this.neuTabControl1.Dock          = System.Windows.Forms.DockStyle.Fill;
            this.neuTabControl1.Location      = new System.Drawing.Point(0, 0);
            this.neuTabControl1.Name          = "neuTabControl1";
            this.neuTabControl1.SelectedIndex = 0;
            this.neuTabControl1.Size          = new System.Drawing.Size(691, 344);
            this.neuTabControl1.Style         = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuTabControl1.TabIndex      = 0;
            //
            // tpConfig
            //
            this.tpConfig.Controls.Add(this.txtSql);
            this.tpConfig.Controls.Add(this.neuLabel3);
            this.tpConfig.Controls.Add(this.ckSqlXml);
            this.tpConfig.Controls.Add(this.txtFpPathName);
            this.tpConfig.Controls.Add(this.txtSqlIndex);
            this.tpConfig.Controls.Add(this.txtReportID);
            this.tpConfig.Controls.Add(this.neuLabel4);
            this.tpConfig.Controls.Add(this.neuLabel2);
            this.tpConfig.Controls.Add(this.neuLabel1);
            this.tpConfig.Location = new System.Drawing.Point(4, 21);
            this.tpConfig.Name     = "tpConfig";
            this.tpConfig.Padding  = new System.Windows.Forms.Padding(3);
            this.tpConfig.Size     = new System.Drawing.Size(683, 319);
            this.tpConfig.TabIndex = 0;
            this.tpConfig.Text     = "Sql设置";
            this.tpConfig.UseVisualStyleBackColor = true;
            //
            // txtSql
            //
            this.txtSql.Font          = new System.Drawing.Font("宋体", 10F);
            this.txtSql.HideSelection = false;
            this.txtSql.Location      = new System.Drawing.Point(8, 80);
            this.txtSql.Name          = "txtSql";
            this.txtSql.Size          = new System.Drawing.Size(661, 233);
            this.txtSql.SuperText     = "";
            this.txtSql.TabIndex      = 5;
            this.txtSql.Text          = "";
            this.txtSql.称             = "richTextBox1";
            this.txtSql.是否组           = false;
            this.txtSql.组             = "无";
            //
            // neuLabel3
            //
            this.neuLabel3.AutoSize = true;
            this.neuLabel3.Location = new System.Drawing.Point(8, 65);
            this.neuLabel3.Name     = "neuLabel3";
            this.neuLabel3.Size     = new System.Drawing.Size(47, 12);
            this.neuLabel3.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuLabel3.TabIndex = 3;
            this.neuLabel3.Text     = "Sql语句";
            //
            // ckSqlXml
            //
            this.ckSqlXml.AutoSize = true;
            this.ckSqlXml.Location = new System.Drawing.Point(8, 39);
            this.ckSqlXml.Name     = "ckSqlXml";
            this.ckSqlXml.Size     = new System.Drawing.Size(186, 16);
            this.ckSqlXml.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.ckSqlXml.TabIndex = 3;
            this.ckSqlXml.Text     = "Sql位置(是否位于配置文件内)";
            this.ckSqlXml.UseVisualStyleBackColor = true;
            //
            // txtFpPathName
            //
            this.txtFpPathName.Location = new System.Drawing.Point(340, 40);
            this.txtFpPathName.Name     = "txtFpPathName";
            this.txtFpPathName.Size     = new System.Drawing.Size(331, 21);
            this.txtFpPathName.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.txtFpPathName.TabIndex = 4;
            //
            // txtSqlIndex
            //
            this.txtSqlIndex.Location = new System.Drawing.Point(340, 9);
            this.txtSqlIndex.Name     = "txtSqlIndex";
            this.txtSqlIndex.Size     = new System.Drawing.Size(331, 21);
            this.txtSqlIndex.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.txtSqlIndex.TabIndex = 2;
            //
            // txtReportID
            //
            this.txtReportID.Location = new System.Drawing.Point(100, 9);
            this.txtReportID.Name     = "txtReportID";
            this.txtReportID.Size     = new System.Drawing.Size(127, 21);
            this.txtReportID.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.txtReportID.TabIndex = 1;
            //
            // neuLabel4
            //
            this.neuLabel4.AutoSize = true;
            this.neuLabel4.Location = new System.Drawing.Point(233, 43);
            this.neuLabel4.Name     = "neuLabel4";
            this.neuLabel4.Size     = new System.Drawing.Size(101, 12);
            this.neuLabel4.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuLabel4.TabIndex = 0;
            this.neuLabel4.Text     = "格式文件(FpPath)";
            //
            // neuLabel2
            //
            this.neuLabel2.AutoSize = true;
            this.neuLabel2.Location = new System.Drawing.Point(233, 13);
            this.neuLabel2.Name     = "neuLabel2";
            this.neuLabel2.Size     = new System.Drawing.Size(95, 12);
            this.neuLabel2.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuLabel2.TabIndex = 0;
            this.neuLabel2.Text     = "索    引(Index)";
            //
            // neuLabel1
            //
            this.neuLabel1.AutoSize = true;
            this.neuLabel1.Location = new System.Drawing.Point(8, 13);
            this.neuLabel1.Name     = "neuLabel1";
            this.neuLabel1.Size     = new System.Drawing.Size(89, 12);
            this.neuLabel1.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuLabel1.TabIndex = 0;
            this.neuLabel1.Text     = "主键(ReportID)";
            //
            // tpFpSet
            //
            this.tpFpSet.Controls.Add(this.neuSpread1);
            this.tpFpSet.Controls.Add(this.neuGroupBox2);
            this.tpFpSet.Location = new System.Drawing.Point(4, 21);
            this.tpFpSet.Name     = "tpFpSet";
            this.tpFpSet.Padding  = new System.Windows.Forms.Padding(3);
            this.tpFpSet.Size     = new System.Drawing.Size(683, 319);
            this.tpFpSet.TabIndex = 1;
            this.tpFpSet.Text     = "Fp格式";
            this.tpFpSet.UseVisualStyleBackColor = true;
            //
            // neuSpread1
            //
            this.neuSpread1.About = "2.5.2007.2005";
            this.neuSpread1.AccessibleDescription = "neuSpread1, Sheet1, Row 0, Column 0, ";
            this.neuSpread1.BackColor             = System.Drawing.Color.White;
            this.neuSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.neuSpread1.EditModePermanent         = true;
            this.neuSpread1.EditModeReplace           = true;
            this.neuSpread1.FileName                  = "";
            this.neuSpread1.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.neuSpread1.IsAutoSaveGridStatus      = false;
            this.neuSpread1.IsCanCustomConfigColumn   = false;
            this.neuSpread1.Location                  = new System.Drawing.Point(3, 42);
            this.neuSpread1.Name = "neuSpread1";
            this.neuSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
                this.neuSpread1_Sheet1
            });
            this.neuSpread1.Size                    = new System.Drawing.Size(677, 274);
            this.neuSpread1.Style                   = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuSpread1.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.neuSpread1.TextTipAppearance       = tipAppearance1;
            this.neuSpread1.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            //
            // neuSpread1_Sheet1
            //
            this.neuSpread1_Sheet1.Reset();
            this.neuSpread1_Sheet1.SheetName = "Sheet1";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.neuSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.neuSpread1_Sheet1.ColumnCount    = 5;
            this.neuSpread1_Sheet1.ActiveSkin     = new FarPoint.Win.Spread.SheetSkin("CustomSkin3", 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.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value  = "列标题";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value  = "是否显示";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value  = "列宽度";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value  = "列格式";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value  = "列参数";
            this.neuSpread1_Sheet1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.White;
            this.neuSpread1_Sheet1.ColumnHeader.DefaultStyle.Locked    = false;
            this.neuSpread1_Sheet1.ColumnHeader.DefaultStyle.Parent    = "HeaderDefault";
            this.neuSpread1_Sheet1.Columns.Get(0).Label               = "列标题";
            this.neuSpread1_Sheet1.Columns.Get(0).Width               = 146F;
            this.neuSpread1_Sheet1.Columns.Get(1).CellType            = checkBoxCellType1;
            this.neuSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.neuSpread1_Sheet1.Columns.Get(1).Label               = "是否显示";
            this.neuSpread1_Sheet1.Columns.Get(1).VerticalAlignment   = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.neuSpread1_Sheet1.Columns.Get(1).Width               = 62F;
            numberCellType1.DecimalPlaces = 0;
            this.neuSpread1_Sheet1.Columns.Get(2).CellType = numberCellType1;
            this.neuSpread1_Sheet1.Columns.Get(2).Label    = "列宽度";
            this.neuSpread1_Sheet1.Columns.Get(2).Width    = 78F;
            comboBoxCellType1.ButtonAlign = FarPoint.Win.ButtonAlign.Right;
            comboBoxCellType1.Items       = new string[] {
                "文本",
                "数值",
                "日期"
            };
            this.neuSpread1_Sheet1.Columns.Get(3).CellType             = comboBoxCellType1;
            this.neuSpread1_Sheet1.Columns.Get(3).Label                = "列格式";
            this.neuSpread1_Sheet1.Columns.Get(3).Width                = 77F;
            this.neuSpread1_Sheet1.Columns.Get(4).Label                = "列参数";
            this.neuSpread1_Sheet1.Columns.Get(4).Width                = 93F;
            this.neuSpread1_Sheet1.OperationMode                       = FarPoint.Win.Spread.OperationMode.RowMode;
            this.neuSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
            this.neuSpread1_Sheet1.RowHeader.Columns.Get(0).Width      = 37F;
            this.neuSpread1_Sheet1.RowHeader.DefaultStyle.BackColor    = System.Drawing.Color.White;
            this.neuSpread1_Sheet1.RowHeader.DefaultStyle.Locked       = false;
            this.neuSpread1_Sheet1.RowHeader.DefaultStyle.Parent       = "HeaderDefault";
            this.neuSpread1_Sheet1.SheetCornerStyle.BackColor          = System.Drawing.Color.White;
            this.neuSpread1_Sheet1.SheetCornerStyle.Locked             = false;
            this.neuSpread1_Sheet1.SheetCornerStyle.Parent             = "HeaderDefault";
            this.neuSpread1_Sheet1.ReferenceStyle                      = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
            //
            // neuGroupBox2
            //
            this.neuGroupBox2.Controls.Add(this.txtPath);
            this.neuGroupBox2.Controls.Add(this.neuLabel6);
            this.neuGroupBox2.Controls.Add(this.neuLabel5);
            this.neuGroupBox2.Dock     = System.Windows.Forms.DockStyle.Top;
            this.neuGroupBox2.Location = new System.Drawing.Point(3, 3);
            this.neuGroupBox2.Name     = "neuGroupBox2";
            this.neuGroupBox2.Size     = new System.Drawing.Size(677, 39);
            this.neuGroupBox2.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuGroupBox2.TabIndex = 1;
            this.neuGroupBox2.TabStop  = false;
            //
            // txtPath
            //
            this.txtPath.Location = new System.Drawing.Point(71, 13);
            this.txtPath.Name     = "txtPath";
            this.txtPath.Size     = new System.Drawing.Size(139, 21);
            this.txtPath.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.txtPath.TabIndex = 1;
            //
            // neuLabel6
            //
            this.neuLabel6.AutoSize = true;
            this.neuLabel6.Location = new System.Drawing.Point(233, 17);
            this.neuLabel6.Name     = "neuLabel6";
            this.neuLabel6.Size     = new System.Drawing.Size(95, 12);
            this.neuLabel6.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuLabel6.TabIndex = 0;
            this.neuLabel6.Text     = "XML格式配置文件";
            //
            // neuLabel5
            //
            this.neuLabel5.AutoSize = true;
            this.neuLabel5.Location = new System.Drawing.Point(6, 17);
            this.neuLabel5.Name     = "neuLabel5";
            this.neuLabel5.Size     = new System.Drawing.Size(53, 12);
            this.neuLabel5.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuLabel5.TabIndex = 0;
            this.neuLabel5.Text     = "文件名称";
            //
            // neuGroupBox1
            //
            this.neuGroupBox1.Controls.Add(this.ckContinue);
            this.neuGroupBox1.Controls.Add(this.btnClear);
            this.neuGroupBox1.Controls.Add(this.btnCancel);
            this.neuGroupBox1.Controls.Add(this.btnOK);
            this.neuGroupBox1.Dock     = System.Windows.Forms.DockStyle.Bottom;
            this.neuGroupBox1.Location = new System.Drawing.Point(0, 344);
            this.neuGroupBox1.Name     = "neuGroupBox1";
            this.neuGroupBox1.Size     = new System.Drawing.Size(691, 45);
            this.neuGroupBox1.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuGroupBox1.TabIndex = 1;
            this.neuGroupBox1.TabStop  = false;
            //
            // ckContinue
            //
            this.ckContinue.AutoSize = true;
            this.ckContinue.Location = new System.Drawing.Point(242, 20);
            this.ckContinue.Name     = "ckContinue";
            this.ckContinue.Size     = new System.Drawing.Size(72, 16);
            this.ckContinue.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.ckContinue.TabIndex = 1;
            this.ckContinue.Text     = "继续录入";
            this.ckContinue.UseVisualStyleBackColor = true;
            //
            // btnClear
            //
            this.btnClear.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnClear.Location   = new System.Drawing.Point(392, 16);
            this.btnClear.Name       = "btnClear";
            this.btnClear.Size       = new System.Drawing.Size(75, 23);
            this.btnClear.Style      = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.btnClear.TabIndex   = 0;
            this.btnClear.Text       = "清   空";
            this.btnClear.Type       = Neusoft.FrameWork.WinForms.Controls.General.ButtonType.None;
            this.btnClear.UseVisualStyleBackColor = true;
            this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
            //
            // btnCancel
            //
            this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnCancel.Location   = new System.Drawing.Point(113, 16);
            this.btnCancel.Name       = "btnCancel";
            this.btnCancel.Size       = new System.Drawing.Size(75, 23);
            this.btnCancel.Style      = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.btnCancel.TabIndex   = 0;
            this.btnCancel.Text       = "取  消";
            this.btnCancel.Type       = Neusoft.FrameWork.WinForms.Controls.General.ButtonType.None;
            this.btnCancel.UseVisualStyleBackColor = true;
            this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
            //
            // btnOK
            //
            this.btnOK.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnOK.Location   = new System.Drawing.Point(12, 16);
            this.btnOK.Name       = "btnOK";
            this.btnOK.Size       = new System.Drawing.Size(75, 23);
            this.btnOK.Style      = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.btnOK.TabIndex   = 0;
            this.btnOK.Text       = "确  定";
            this.btnOK.Type       = Neusoft.FrameWork.WinForms.Controls.General.ButtonType.None;
            this.btnOK.UseVisualStyleBackColor = true;
            this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
            //
            // frmSetConfig
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(691, 389);
            this.Controls.Add(this.neuTabControl1);
            this.Controls.Add(this.neuGroupBox1);
            this.KeyPreview = true;
            this.Name       = "frmSetConfig";
            this.Text       = "frmSetConfig";
            this.neuTabControl1.ResumeLayout(false);
            this.tpConfig.ResumeLayout(false);
            this.tpConfig.PerformLayout();
            this.tpFpSet.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1_Sheet1)).EndInit();
            this.neuGroupBox2.ResumeLayout(false);
            this.neuGroupBox2.PerformLayout();
            this.neuGroupBox1.ResumeLayout(false);
            this.neuGroupBox1.PerformLayout();
            this.ResumeLayout(false);
        }
Ejemplo n.º 8
0
        /// <summary>
        /// ������������ij���еı�ֵ�� ���д�ڵ������� other/one,�ްٷֱȷ���
        /// </summary>
        /// <param name="obj_sheet"></param>
        /// <param name="onerow">�����к�</param>
        /// <param name="onecol">�����к�</param>
        /// <param name="anothercol">�������к�</param>
        /// <param name="writercol">д�빫ʽ���к�</param>
        /// <param name="rowcount">���ж�����Ҫͳ��</param>
        /// <param name="xiaoshuwei">�������С��λ</param>
        public void Sheet_WriteFormula_OneCol_Anotercol_nopercent(FarPoint.Win.Spread.SheetView obj_sheet, int onerow, int onecol, int anothercol, int writercol, int rowcount,int xiaoshuwei)
        {
            //����5λС��
            FarPoint.Win.Spread.CellType.NumberCellType newcelltype = new FarPoint.Win.Spread.CellType.NumberCellType();
            newcelltype.DecimalPlaces = xiaoshuwei;
            for (int row = 0; row < rowcount; row++)
            {
                obj_sheet.Cells[onerow + row, writercol].Formula = "R" + (onerow + row + 1) + "C" + (anothercol + 1) + "/R" + (onerow + row + 1) + "C" + (onecol + 1);
                obj_sheet.Cells[onerow + row, writercol].CellType = newcelltype;

            }
        }
        /// <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.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.TextCellType   textCellType3   = new FarPoint.Win.Spread.CellType.TextCellType();
            this.lbInfo            = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.neuLabel1         = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.neuSpread1        = new Neusoft.FrameWork.WinForms.Controls.NeuSpread();
            this.neuSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
            this.neuPanel1         = new Neusoft.FrameWork.WinForms.Controls.NeuPanel();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1_Sheet1)).BeginInit();
            this.neuPanel1.SuspendLayout();
            this.SuspendLayout();
            //
            // lbInfo
            //
            this.lbInfo.AutoSize = true;
            this.lbInfo.Location = new System.Drawing.Point(6, 33);
            this.lbInfo.Name     = "lbInfo";
            this.lbInfo.Size     = new System.Drawing.Size(293, 12);
            this.lbInfo.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.lbInfo.TabIndex = 1;
            this.lbInfo.Text     = "科室:    日期:   盘点单号:     盘点人:   ";
            //
            // neuLabel1
            //
            this.neuLabel1.AutoSize = true;
            this.neuLabel1.Font     = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.neuLabel1.Location = new System.Drawing.Point(3, 6);
            this.neuLabel1.Name     = "neuLabel1";
            this.neuLabel1.Size     = new System.Drawing.Size(356, 16);
            this.neuLabel1.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuLabel1.TabIndex = 0;
            this.neuLabel1.Text     = "                                 盘点单";
            //
            // neuSpread1
            //
            this.neuSpread1.About = "2.5.2007.2005";
            this.neuSpread1.AccessibleDescription = "neuSpread1, Sheet1";
            this.neuSpread1.BackColor             = System.Drawing.Color.White;
            this.neuSpread1.BorderStyle           = System.Windows.Forms.BorderStyle.FixedSingle;
            this.neuSpread1.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.neuSpread1.FileName = "";
            this.neuSpread1.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.neuSpread1.IsAutoSaveGridStatus      = false;
            this.neuSpread1.IsCanCustomConfigColumn   = false;
            this.neuSpread1.Location = new System.Drawing.Point(0, 62);
            this.neuSpread1.Name     = "neuSpread1";
            this.neuSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
                this.neuSpread1_Sheet1
            });
            this.neuSpread1.Size                    = new System.Drawing.Size(701, 369);
            this.neuSpread1.Style                   = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuSpread1.TabIndex                = 1;
            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.neuSpread1.TextTipAppearance       = tipAppearance1;
            this.neuSpread1.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            //
            // neuSpread1_Sheet1
            //
            this.neuSpread1_Sheet1.Reset();
            this.neuSpread1_Sheet1.SheetName = "Sheet1";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.neuSpread1_Sheet1.ReferenceStyle        = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.neuSpread1_Sheet1.ColumnCount           = 8;
            this.neuSpread1_Sheet1.ColumnHeader.RowCount = 2;
            this.neuSpread1_Sheet1.RowCount   = 0;
            this.neuSpread1_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, false);
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).RowSpan    = 2;
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value      = "货位号";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).RowSpan    = 2;
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value      = "药品名称[规格]";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).RowSpan    = 2;
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value      = "批号";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).ColumnSpan = 4;
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value      = "实盘数量";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).RowSpan    = 2;
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value      = "备注";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(1, 0).Value      = "货位号";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(1, 3).Value      = "数量";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(1, 4).Value      = "大包装";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(1, 5).Value      = "数量";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(1, 6).Value      = "小包装";
            this.neuSpread1_Sheet1.ColumnHeader.DefaultStyle.BackColor     = System.Drawing.Color.White;
            this.neuSpread1_Sheet1.ColumnHeader.DefaultStyle.Locked        = false;
            this.neuSpread1_Sheet1.ColumnHeader.DefaultStyle.Parent        = "HeaderDefault";
            this.neuSpread1_Sheet1.Columns.Get(0).CellType             = textCellType1;
            this.neuSpread1_Sheet1.Columns.Get(0).Label                = "货位号";
            this.neuSpread1_Sheet1.Columns.Get(1).Width                = 207F;
            this.neuSpread1_Sheet1.Columns.Get(2).CellType             = textCellType2;
            this.neuSpread1_Sheet1.Columns.Get(2).Width                = 80F;
            this.neuSpread1_Sheet1.Columns.Get(3).CellType             = numberCellType1;
            this.neuSpread1_Sheet1.Columns.Get(3).Label                = "数量";
            this.neuSpread1_Sheet1.Columns.Get(5).CellType             = numberCellType2;
            this.neuSpread1_Sheet1.Columns.Get(5).Label                = "数量";
            this.neuSpread1_Sheet1.Columns.Get(7).CellType             = textCellType3;
            this.neuSpread1_Sheet1.Columns.Get(7).Width                = 102F;
            this.neuSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
            this.neuSpread1_Sheet1.RowHeader.DefaultStyle.BackColor    = System.Drawing.Color.White;
            this.neuSpread1_Sheet1.RowHeader.DefaultStyle.Locked       = false;
            this.neuSpread1_Sheet1.RowHeader.DefaultStyle.Parent       = "HeaderDefault";
            this.neuSpread1_Sheet1.RowHeader.Visible          = false;
            this.neuSpread1_Sheet1.Rows.Default.Height        = 25F;
            this.neuSpread1_Sheet1.SheetCornerStyle.BackColor = System.Drawing.Color.White;
            this.neuSpread1_Sheet1.SheetCornerStyle.Locked    = false;
            this.neuSpread1_Sheet1.SheetCornerStyle.Parent    = "HeaderDefault";
            this.neuSpread1_Sheet1.ReferenceStyle             = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
            this.neuSpread1.SetActiveViewport(1, 0);
            //
            // neuPanel1
            //
            this.neuPanel1.Controls.Add(this.neuLabel1);
            this.neuPanel1.Controls.Add(this.lbInfo);
            this.neuPanel1.Dock     = System.Windows.Forms.DockStyle.Top;
            this.neuPanel1.Location = new System.Drawing.Point(0, 0);
            this.neuPanel1.Name     = "neuPanel1";
            this.neuPanel1.Size     = new System.Drawing.Size(701, 62);
            this.neuPanel1.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuPanel1.TabIndex = 2;
            //
            // ucCheckBillByFp
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor           = System.Drawing.Color.White;
            this.Controls.Add(this.neuSpread1);
            this.Controls.Add(this.neuPanel1);
            this.Name = "ucCheckBillByFp";
            this.Size = new System.Drawing.Size(701, 431);
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1_Sheet1)).EndInit();
            this.neuPanel1.ResumeLayout(false);
            this.neuPanel1.PerformLayout();
            this.ResumeLayout(false);
        }
Ejemplo n.º 10
0
        private void recreatsheetbydt(string title, System.Data.DataTable dt, Dictionary<string, Columqk> viscol, int sheetindex)
        {
            FarPoint.Win.Spread.SheetView Sheet1 = new FarPoint.Win.Spread.SheetView();
            if (fpSpread1.Sheets.Count-1>=sheetindex)
            {
                Sheet1 = fpSpread1.Sheets[sheetindex];
            }
            else
            {
                Sheet1.SheetName = title;
                fpSpread1.Sheets.Add(Sheet1);
            }
            if (Sheet1.Rows.Count>0)
            {
                Sheet1.RowCount = 0;
                Sheet1.ColumnCount = 0;
            }
            Sheet1.Columns.Count = viscol.Count;
            Sheet1.Rows.Count = dt.Rows.Count + 1;
            //设表格线和居中
            fc.Sheet_GridandCenter(Sheet1);
            //设表格模式为R1C1
            fc.Sheet_Referen_R1C1(Sheet1);
            int visrowcount = 0;
            if (dt.Rows.Count > 0)
            {
                foreach (KeyValuePair<string, Columqk> kp in viscol)
                {
                    for (int j = 0; j < dt.Columns.Count; j++)
                    {
                        if (kp.Key == dt.Columns[j].ColumnName)
                        {
                            Sheet1.SetValue(0, visrowcount, viscol[dt.Columns[j].ColumnName].colname);
                            Sheet1.Columns[visrowcount].Width = 70;
                            if (viscol[dt.Columns[j].ColumnName].CellType == 1)
                            {
                                Sheet1.Columns[visrowcount].CellType = new FarPoint.Win.Spread.CellType.PercentCellType();
                            }
                            else if (viscol[dt.Columns[j].ColumnName].CellType == 2)
                            {
                                FarPoint.Win.Spread.CellType.NumberCellType newcelltype = new FarPoint.Win.Spread.CellType.NumberCellType();
                                newcelltype.DecimalPlaces = viscol[dt.Columns[j].ColumnName].weishu;
                                Sheet1.Columns[visrowcount].CellType = newcelltype;

                            }

                            for (int k = 0; k < dt.Rows.Count; k++)
                            {
                                Sheet1.SetValue(k + 1, visrowcount, dt.Rows[k][j].ToString());
                            }
                            visrowcount++;
                        }
                    }
                }
                //for (int i = 0; i < dt.Columns.Count; i++)
                //{
                //    if (viscol.ContainsKey(dt.Columns[i].ColumnName))
                //    {
                //        Sheet1.SetValue(0, visrowcount, viscol[dt.Columns[i].ColumnName].colname);
                //        Sheet1.Columns[visrowcount].Width = 70;
                //        if (viscol[dt.Columns[i].ColumnName].CellType == 1)
                //        {
                //            Sheet1.Columns[visrowcount].CellType = new FarPoint.Win.Spread.CellType.PercentCellType();
                //        }
                //        else if (viscol[dt.Columns[i].ColumnName].CellType == 2)
                //        {
                //            FarPoint.Win.Spread.CellType.NumberCellType newcelltype = new FarPoint.Win.Spread.CellType.NumberCellType();
                //            newcelltype.DecimalPlaces = viscol[dt.Columns[i].ColumnName].weishu;
                //            Sheet1.Columns[visrowcount].CellType = newcelltype;

                //        }

                //        for (int j = 0; j < dt.Rows.Count; j++)
                //        {
                //            Sheet1.SetValue(j + 1, visrowcount, dt.Rows[j][i].ToString());
                //        }
                //        visrowcount++;
                //    }

                //}
                Sheet1.Rows[0].CellType = new FarPoint.Win.Spread.CellType.TextCellType();
            }

            //使表格只读
            fc.Sheet_Locked(Sheet1);
        }
Ejemplo n.º 11
0
 /// <summary>
 /// デザイナー サポートに必要なメソッドです。このメソッドの内容を
 /// コード エディターで変更しないでください。
 /// </summary>
 private void InitializeComponent()
 {
     FarPoint.Win.Spread.CellType.ButtonCellType                        buttonCellType1       = new FarPoint.Win.Spread.CellType.ButtonCellType();
     FarPoint.Win.Spread.CellType.CheckBoxCellType                      checkBoxCellType1     = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
     FarPoint.Win.Spread.CellType.ComboBoxCellType                      comboBoxCellType1     = new FarPoint.Win.Spread.CellType.ComboBoxCellType();
     FarPoint.Win.Spread.CellType.CurrencyCellType                      currencyCellType1     = new FarPoint.Win.Spread.CellType.CurrencyCellType();
     FarPoint.Win.Spread.CellType.DateTimeCellType                      dateTimeCellType1     = new FarPoint.Win.Spread.CellType.DateTimeCellType();
     System.ComponentModel.ComponentResourceManager                     resources             = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
     FarPoint.Win.Spread.CellType.EmptyCellType                         emptyCellType1        = new FarPoint.Win.Spread.CellType.EmptyCellType();
     FarPoint.Win.Spread.CellType.FilterBarCellType                     filterBarCellType1    = new FarPoint.Win.Spread.CellType.FilterBarCellType();
     GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType          gcDateTimeCellType1   = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType();
     GrapeCity.Win.Spread.InputMan.CellType.Fields.DateYearFieldInfo    dateYearFieldInfo1    = new GrapeCity.Win.Spread.InputMan.CellType.Fields.DateYearFieldInfo();
     GrapeCity.Win.Spread.InputMan.CellType.Fields.DateLiteralFieldInfo dateLiteralFieldInfo1 = new GrapeCity.Win.Spread.InputMan.CellType.Fields.DateLiteralFieldInfo();
     GrapeCity.Win.Spread.InputMan.CellType.Fields.DateMonthFieldInfo   dateMonthFieldInfo1   = new GrapeCity.Win.Spread.InputMan.CellType.Fields.DateMonthFieldInfo();
     GrapeCity.Win.Spread.InputMan.CellType.Fields.DateLiteralFieldInfo dateLiteralFieldInfo2 = new GrapeCity.Win.Spread.InputMan.CellType.Fields.DateLiteralFieldInfo();
     GrapeCity.Win.Spread.InputMan.CellType.Fields.DateDayFieldInfo     dateDayFieldInfo1     = new GrapeCity.Win.Spread.InputMan.CellType.Fields.DateDayFieldInfo();
     GrapeCity.Win.Spread.InputMan.CellType.Fields.DateLiteralFieldInfo dateLiteralFieldInfo3 = new GrapeCity.Win.Spread.InputMan.CellType.Fields.DateLiteralFieldInfo();
     GrapeCity.Win.Spread.InputMan.CellType.Fields.DateHourFieldInfo    dateHourFieldInfo1    = new GrapeCity.Win.Spread.InputMan.CellType.Fields.DateHourFieldInfo();
     GrapeCity.Win.Spread.InputMan.CellType.Fields.DateLiteralFieldInfo dateLiteralFieldInfo4 = new GrapeCity.Win.Spread.InputMan.CellType.Fields.DateLiteralFieldInfo();
     GrapeCity.Win.Spread.InputMan.CellType.Fields.DateMinuteFieldInfo  dateMinuteFieldInfo1  = new GrapeCity.Win.Spread.InputMan.CellType.Fields.DateMinuteFieldInfo();
     GrapeCity.Win.Spread.InputMan.CellType.Fields.DateLiteralFieldInfo dateLiteralFieldInfo5 = new GrapeCity.Win.Spread.InputMan.CellType.Fields.DateLiteralFieldInfo();
     GrapeCity.Win.Spread.InputMan.CellType.Fields.DateSecondFieldInfo  dateSecondFieldInfo1  = new GrapeCity.Win.Spread.InputMan.CellType.Fields.DateSecondFieldInfo();
     GrapeCity.Win.Spread.InputMan.CellType.DropDownButtonInfo          dropDownButtonInfo1   = new GrapeCity.Win.Spread.InputMan.CellType.DropDownButtonInfo();
     GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType           gcTextBoxCellType1    = new GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType();
     FarPoint.Win.Spread.CellType.GeneralCellType                       generalCellType1      = new FarPoint.Win.Spread.CellType.GeneralCellType();
     FarPoint.Win.Spread.CellType.HyperLinkCellType                     hyperLinkCellType1    = new FarPoint.Win.Spread.CellType.HyperLinkCellType();
     FarPoint.Win.Spread.CellType.ImageCellType                         imageCellType1        = new FarPoint.Win.Spread.CellType.ImageCellType();
     FarPoint.Win.Spread.CellType.ListBoxCellType                       listBoxCellType1      = new FarPoint.Win.Spread.CellType.ListBoxCellType();
     FarPoint.Win.Spread.CellType.MaskCellType maskCellType1 = new FarPoint.Win.Spread.CellType.MaskCellType();
     FarPoint.Win.Spread.CellType.MultiColumnComboBoxCellType multiColumnComboBoxCellType1 = new FarPoint.Win.Spread.CellType.MultiColumnComboBoxCellType();
     FarPoint.Win.Spread.CellType.MultiOptionCellType         multiOptionCellType1         = new FarPoint.Win.Spread.CellType.MultiOptionCellType();
     FarPoint.Win.Spread.CellType.NumberCellType            numberCellType1            = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.Spread.CellType.PercentCellType           percentCellType1           = new FarPoint.Win.Spread.CellType.PercentCellType();
     FarPoint.Win.Spread.CellType.ProgressCellType          progressCellType1          = new FarPoint.Win.Spread.CellType.ProgressCellType();
     FarPoint.Win.Spread.CellType.RegularExpressionCellType regularExpressionCellType1 = new FarPoint.Win.Spread.CellType.RegularExpressionCellType();
     FarPoint.Win.Spread.CellType.RichTextCellType          richTextCellType1          = new FarPoint.Win.Spread.CellType.RichTextCellType();
     FarPoint.Win.Spread.CellType.SliderCellType            sliderCellType1            = new FarPoint.Win.Spread.CellType.SliderCellType();
     FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
     this._spread        = new FarPoint.Win.Spread.FpSpread();
     this._spread_Sheet1 = new FarPoint.Win.Spread.SheetView();
     this._spread_Sheet2 = new FarPoint.Win.Spread.SheetView();
     ((System.ComponentModel.ISupportInitialize)(this._spread)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this._spread_Sheet1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this._spread_Sheet2)).BeginInit();
     this.SuspendLayout();
     //
     // _spread
     //
     this._spread.AccessibleDescription = "_spread, Sheet2, Row 0, Column 16, ";
     this._spread.Dock     = System.Windows.Forms.DockStyle.Fill;
     this._spread.Location = new System.Drawing.Point(0, 0);
     this._spread.Name     = "_spread";
     this._spread.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
         this._spread_Sheet1,
         this._spread_Sheet2
     });
     this._spread.Size             = new System.Drawing.Size(1554, 261);
     this._spread.TabIndex         = 0;
     this._spread.ActiveSheetIndex = 1;
     //
     // _spread_Sheet1
     //
     this._spread_Sheet1.Reset();
     this._spread_Sheet1.SheetName = "Sheet1";
     //
     // _spread_Sheet2
     //
     this._spread_Sheet2.Reset();
     this._spread_Sheet2.SheetName = "Sheet2";
     // Formulas and custom names must be loaded with R1C1 reference style
     this._spread_Sheet2.ReferenceStyle           = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
     this._spread_Sheet2.ActiveColumnIndex        = 16;
     buttonCellType1.ButtonColor2                 = System.Drawing.SystemColors.ButtonFace;
     this._spread_Sheet2.Cells.Get(0, 1).CellType = buttonCellType1;
     this._spread_Sheet2.Cells.Get(0, 2).CellType = checkBoxCellType1;
     comboBoxCellType1.ButtonAlign                = FarPoint.Win.ButtonAlign.Right;
     this._spread_Sheet2.Cells.Get(0, 3).CellType = comboBoxCellType1;
     this._spread_Sheet2.Cells.Get(0, 4).CellType = currencyCellType1;
     dateTimeCellType1.Calendar = new System.Globalization.GregorianCalendar(System.Globalization.GregorianCalendarTypes.Localized);
     dateTimeCellType1.CalendarSurroundingDaysColor = System.Drawing.SystemColors.GrayText;
     dateTimeCellType1.MaximumTime = System.TimeSpan.Parse("23:59:59.9999999");
     dateTimeCellType1.TimeDefault = new System.DateTime(2015, 5, 9, 14, 30, 28, 566);
     this._spread_Sheet2.Cells.Get(0, 5).CellType = dateTimeCellType1;
     this._spread_Sheet2.Cells.Get(0, 6).CellType = emptyCellType1;
     filterBarCellType1.FormatString = "";
     this._spread_Sheet2.Cells.Get(0, 7).CellType    = filterBarCellType1;
     gcDateTimeCellType1.ClearCollection             = true;
     gcDateTimeCellType1.DropDownCalendar.TodayImage = ((System.Drawing.Image)(resources.GetObject("resource.TodayImage")));
     dateLiteralFieldInfo1.Text = "/";
     dateLiteralFieldInfo2.Text = "/";
     dateLiteralFieldInfo4.Text = ":";
     dateLiteralFieldInfo5.Text = ":";
     gcDateTimeCellType1.Fields.AddRange(new GrapeCity.Win.Spread.InputMan.CellType.Fields.DateFieldInfo[] {
         dateYearFieldInfo1,
         dateLiteralFieldInfo1,
         dateMonthFieldInfo1,
         dateLiteralFieldInfo2,
         dateDayFieldInfo1,
         dateLiteralFieldInfo3,
         dateHourFieldInfo1,
         dateLiteralFieldInfo4,
         dateMinuteFieldInfo1,
         dateLiteralFieldInfo5,
         dateSecondFieldInfo1
     });
     gcDateTimeCellType1.RecommendedValue = null;
     gcDateTimeCellType1.ShortcutKeys.AddRange(new GrapeCity.Win.Spread.InputMan.CellType.ShortcutDictionaryEntry[] {
         new GrapeCity.Win.Spread.InputMan.CellType.ShortcutDictionaryEntry(System.Windows.Forms.Keys.F2, "ShortcutClear"),
         new GrapeCity.Win.Spread.InputMan.CellType.ShortcutDictionaryEntry(System.Windows.Forms.Keys.F5, "SetNow"),
         new GrapeCity.Win.Spread.InputMan.CellType.ShortcutDictionaryEntry(((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Return))), "ApplyRecommendedValue")
     });
     gcDateTimeCellType1.SideButtons.AddRange(new GrapeCity.Win.Spread.InputMan.CellType.SideButtonBaseInfo[] {
         dropDownButtonInfo1
     });
     this._spread_Sheet2.Cells.Get(0, 8).CellType = gcDateTimeCellType1;
     gcTextBoxCellType1.ClearCollection           = true;
     gcTextBoxCellType1.RecommendedValue          = null;
     gcTextBoxCellType1.ShortcutKeys.AddRange(new GrapeCity.Win.Spread.InputMan.CellType.ShortcutDictionaryEntry[] {
         new GrapeCity.Win.Spread.InputMan.CellType.ShortcutDictionaryEntry(System.Windows.Forms.Keys.F2, "ShortcutClear")
     });
     this._spread_Sheet2.Cells.Get(0, 9).CellType  = gcTextBoxCellType1;
     this._spread_Sheet2.Cells.Get(0, 10).CellType = generalCellType1;
     hyperLinkCellType1.Text = "http://www.codeer.co.jp/";
     this._spread_Sheet2.Cells.Get(0, 11).CellType = hyperLinkCellType1;
     imageCellType1.Style                          = FarPoint.Win.RenderStyle.Normal;
     imageCellType1.TransparencyColor              = System.Drawing.Color.Empty;
     imageCellType1.TransparencyTolerance          = 0;
     this._spread_Sheet2.Cells.Get(0, 12).CellType = imageCellType1;
     listBoxCellType1.Items                        = new string[] {
         "a",
         "b",
         "c",
         "d",
         "e"
     };
     this._spread_Sheet2.Cells.Get(0, 13).CellType = listBoxCellType1;
     maskCellType1.Mask = "9999";
     this._spread_Sheet2.Cells.Get(0, 14).CellType = maskCellType1;
     multiColumnComboBoxCellType1.ColumnEditName   = null;
     multiColumnComboBoxCellType1.DataColumnName   = null;
     this._spread_Sheet2.Cells.Get(0, 15).CellType = multiColumnComboBoxCellType1;
     multiOptionCellType1.Items = new string[] {
         "1",
         "2",
         "3",
         "4",
         "5",
         "6"
     };
     this._spread_Sheet2.Cells.Get(0, 16).CellType = multiOptionCellType1;
     this._spread_Sheet2.Cells.Get(0, 17).CellType = numberCellType1;
     this._spread_Sheet2.Cells.Get(0, 18).CellType = percentCellType1;
     this._spread_Sheet2.Cells.Get(0, 19).CellType = progressCellType1;
     regularExpressionCellType1.RegularExpression  = "^\\d*$";
     this._spread_Sheet2.Cells.Get(0, 20).CellType = regularExpressionCellType1;
     this._spread_Sheet2.Cells.Get(0, 21).CellType = richTextCellType1;
     sliderCellType1.TickColor = System.Drawing.Color.Black;
     this._spread_Sheet2.Cells.Get(0, 22).CellType = sliderCellType1;
     this._spread_Sheet2.Cells.Get(0, 23).CellType = textCellType1;
     this._spread_Sheet2.ReferenceStyle            = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
     //
     // MainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1554, 261);
     this.Controls.Add(this._spread);
     this.Name = "MainForm";
     this.Text = "Target";
     ((System.ComponentModel.ISupportInitialize)(this._spread)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this._spread_Sheet1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this._spread_Sheet2)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 12
0
        public static void ExportExcel(GridControl gridControl)
        {
            //try
            //{
                SaveFileDialog saveFileDialog1 = new SaveFileDialog();
                string fname = "";
                saveFileDialog1.Filter = "Microsoft Excel (*.xls)|*.xls";
                if (saveFileDialog1.ShowDialog() == DialogResult.OK)
                {
                    fname = saveFileDialog1.FileName;

                    //File.SetAttributes(fname, File.GetAttributes(fname) | FileAttributes.ReadOnly);

                    ////Create   the   file.
                    //using (FileStream fs = new FileStream(fname, FileMode.OpenOrCreate, FileAccess.Read))
                    //{
                    //    if (!fs.CanWrite)
                    //    {
                    //        MsgBox.Show("�ļ����ܱ������������ļ��Ƿ񱻴�");
                    //        return;
                    //    }
                    //}
                      //  try
                      //{
                      //      File.Move(fname,fname+"1");
                      //}
                      //catch
                      //{
                      //    MsgBox.Show("�޷�����"+fname+"�����������ļ��������ļ������ļ���������λ�á�");
                      //    return;
                      //}
                      //finally
                      //{
                      //    File.Move(fname + "1",fname);
                      //}

                    try
                    {
                        gridControl.ExportToExcelOld(fname);

                        FarPoint.Win.Spread.FpSpread fps = new FarPoint.Win.Spread.FpSpread();
                        fps.OpenExcel(fname);
                        SheetView sv = fps.Sheets[0];
                        for (int j = 0; j < sv.NonEmptyRowCount; j++)
                        {
                            for (int k = 0; k < sv.NonEmptyColumnCount; k++)
                            {
                                FarPoint.Win.Spread.CellType.NumberCellType temptype=new FarPoint.Win.Spread.CellType.NumberCellType();
                                sv.Cells[j, k].CellType = temptype;

                            }

                        }
                        fps.SaveExcel(fname);
                        // ����Ҫʹ�õ�Excel ����ӿ�
                        // ����Application ����,�˶����ʾ����Excel ����
                        Microsoft.Office.Interop.Excel.Application excelApp = null;
                        // ����Workbook����,�˶�����������
                        Microsoft.Office.Interop.Excel.Workbook workBook;
                        // ����Worksheet ����,�˶����ʾExecel �е�һ�Ź�����
                        Microsoft.Office.Interop.Excel.Worksheet ws = null;
                        Microsoft.Office.Interop.Excel.Range range = null;
                        excelApp = new Microsoft.Office.Interop.Excel.Application();

                        workBook = excelApp.Workbooks.Open(fname, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value);
                        for (int i = 1; i <= workBook.Worksheets.Count; i++)
                        {

                            ws = (Microsoft.Office.Interop.Excel.Worksheet)workBook.Worksheets[i];
                            //ȡ������������
                            ws.Unprotect(Missing.Value);
                            //�����ݵ�����
                            int row = ws.UsedRange.Rows.Count;
                            //�����ݵ�����
                            int col = ws.UsedRange.Columns.Count;
                            //����һ������
                            range = ws.get_Range(ws.Cells[1, 1], ws.Cells[row, col]);
                            //�������ڵĵ�Ԫ���Զ�����
                            range.Select();
                            range.NumberFormatLocal="G/ͨ�ø�ʽ";

                            //����������
                            ws.Protect(Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value);

                        }
                        //���湤����
                        workBook.Save();
                        //�رչ�����
                        excelApp.Workbooks.Close();

                        if (MsgBox.ShowYesNo("�����ɹ����Ƿ�򿪸��ĵ���") != DialogResult.Yes)
                            return;

                        System.Diagnostics.Process.Start(fname);
                    }
                    catch
                    {
                        MsgBox.Show("�޷�����"+fname+"�����������ļ��������ļ������ļ���������λ�á�");
                        return;
                    }
                }

                //return true;
            //}
            //catch { }
        }
Ejemplo n.º 13
0
 /// <summary>
 /// ����������д�뼸��ƽ�������� (lastColnum/baseColnum)^1/num-1
 /// </summary>
 /// <param name="obj_sheet"></param>
 /// <param name="baseColnum">������</param>
 /// <param name="lastColnum">������</param>
 /// <param name="num">ƽ�������������У�</param>
 /// <param name="writerow">���</param>
 /// <param name="writecol">���</param>
 /// <param name="RowCount">ͳ����</param>
 /// <param name="DecimalPlaces">С��λ��</param>
 /// <param name="Present">�Ƿ���ʾ�ٷֱ�����</param>
 public void Sheet_WriteFormula_RowAveInsering(FarPoint.Win.Spread.SheetView obj_sheet, int baseColnum, int lastColnum, int num, int writerow, int writecol, int RowCount, int DecimalPlaces, bool Present)
 {
     FarPoint.Win.Spread.CellType.PercentCellType percelltype = new FarPoint.Win.Spread.CellType.PercentCellType();
     percelltype.DecimalPlaces = DecimalPlaces;
     FarPoint.Win.Spread.CellType.NumberCellType numcelltype = new FarPoint.Win.Spread.CellType.NumberCellType();
     numcelltype.DecimalPlaces = DecimalPlaces;
     for (int i = 0; i < RowCount; i++)
     {
         obj_sheet.Cells[writerow + i, writecol].Formula = " Power(R" + (writerow + i + 1) + "C" + (1 + lastColnum) + "/R" + (writerow + i + 1) + "C" + (baseColnum + 1) + "," + (1.000 / num) + ")-1";
         if (Present)
         {
             obj_sheet.Cells[writerow + i, writecol].CellType = percelltype;
         }
         else
         {
             obj_sheet.Cells[writerow + i, writecol].CellType = numcelltype;
         }
     }
 }
Ejemplo n.º 14
0
        /// <summary>
        /// ������������ij���еı�ֵ�� ���д�ڵ������� other/one,�ްٷֱȷ���
        /// </summary>
        /// <param name="obj_sheet"></param>
        /// <param name="onerow"></param>
        /// <param name="onecol"></param>
        /// <param name="anotherrow"></param>
        /// <param name="writerRow"></param>
        /// <param name="colcount"></param>
        public void Sheet_WriteFormula_OneRow_AnoterRow_nopercent(FarPoint.Win.Spread.SheetView obj_sheet, int onerow, int onecol, int anotherrow, int writerRow, int colcount)
        {
            FarPoint.Win.Spread.CellType.NumberCellType pct = new FarPoint.Win.Spread.CellType.NumberCellType();
            pct.DecimalPlaces = 2;
            for (int col = 0; col < colcount; col++)
            {
                obj_sheet.Cells[writerRow, onecol + col].Formula = "R" + (anotherrow + 1) + "C" + (onecol + col + 1) + "/R" + (onerow + 1) + "C" + (onecol + col + 1);

                obj_sheet.Cells[writerRow, onecol + col].CellType = pct;
            }
        }
Ejemplo n.º 15
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources         = new System.ComponentModel.ComponentResourceManager(typeof(MAS050_BOMSetup));
     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.CheckBoxCellType  checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
     FarPoint.Win.Spread.CellType.NumberCellType    numberCellType1   = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.Spread.CellType.CurrencyCellType  currencyCellType1 = new FarPoint.Win.Spread.CellType.CurrencyCellType();
     FarPoint.Win.Spread.CellType.CurrencyCellType  currencyCellType2 = new FarPoint.Win.Spread.CellType.CurrencyCellType();
     this.pnlContainerNew   = new EVOFramework.Windows.Forms.EVOPanel();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.tlpHeader2        = new System.Windows.Forms.TableLayoutPanel();
     this.stcBOMInformation = new EVOFramework.Windows.Forms.EVOLabel();
     this.stcBOMSetup       = new EVOFramework.Windows.Forms.EVOLabel();
     this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
     this.stcItemDesc       = new EVOFramework.Windows.Forms.EVOLabel();
     this.stcItemCD         = new EVOFramework.Windows.Forms.EVOLabel();
     this.label4            = new EVOFramework.Windows.Forms.EVOLabel();
     this.txtItemCD         = new Rubik.Forms.UserControl.ItemTextBox();
     this.txtItemDesc       = new EVOFramework.Windows.Forms.EVOTextBox();
     this.btnItemCD         = new EVOFramework.Windows.Forms.EVOButton();
     this.panel1            = new System.Windows.Forms.Panel();
     this.fpView            = new FarPoint.Win.Spread.FpSpread();
     this.ctxMenu           = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.miAddChildItem    = new System.Windows.Forms.ToolStripMenuItem();
     this.miEditItem        = new System.Windows.Forms.ToolStripMenuItem();
     this.miDeleteItem      = new System.Windows.Forms.ToolStripMenuItem();
     this.miDeleteTree      = new System.Windows.Forms.ToolStripMenuItem();
     this.shtView           = new FarPoint.Win.Spread.SheetView();
     this.panel2            = new System.Windows.Forms.Panel();
     this.btnMoveUp         = new EVOFramework.Windows.Forms.EVOButton();
     this.btnMoveDown       = new EVOFramework.Windows.Forms.EVOButton();
     this.imgListStateNode  = new System.Windows.Forms.ImageList(this.components);
     this.tslControl        = new System.Windows.Forms.ToolStrip();
     this.tsbSave           = new System.Windows.Forms.ToolStripButton();
     this.tlsSeperator1     = new System.Windows.Forms.ToolStripSeparator();
     this.tsbCancel         = new System.Windows.Forms.ToolStripButton();
     this.tlsSeperator2     = new System.Windows.Forms.ToolStripSeparator();
     this.pnlContainerNew.SuspendLayout();
     this.tableLayoutPanel1.SuspendLayout();
     this.tlpHeader2.SuspendLayout();
     this.tableLayoutPanel2.SuspendLayout();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.fpView)).BeginInit();
     this.ctxMenu.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.shtView)).BeginInit();
     this.panel2.SuspendLayout();
     this.tslControl.SuspendLayout();
     this.SuspendLayout();
     //
     // pnlContainerNew
     //
     this.pnlContainerNew.AppearanceName = "FormBGColor";
     this.pnlContainerNew.AutoScroll     = true;
     this.pnlContainerNew.Controls.Add(this.tableLayoutPanel1);
     this.pnlContainerNew.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.pnlContainerNew.Font     = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222)));
     this.pnlContainerNew.Location = new System.Drawing.Point(0, 28);
     this.pnlContainerNew.Name     = "pnlContainerNew";
     this.pnlContainerNew.Size     = new System.Drawing.Size(792, 461);
     this.pnlContainerNew.TabIndex = 0;
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.ColumnCount = 1;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel1.Controls.Add(this.tlpHeader2, 0, 2);
     this.tableLayoutPanel1.Controls.Add(this.stcBOMSetup, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 1);
     this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 3);
     this.tableLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
     this.tableLayoutPanel1.Margin   = new System.Windows.Forms.Padding(0);
     this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 4;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(792, 461);
     this.tableLayoutPanel1.TabIndex = 0;
     //
     // tlpHeader2
     //
     this.tlpHeader2.AutoSize        = true;
     this.tlpHeader2.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("tlpHeader2.BackgroundImage")));
     this.tlpHeader2.ColumnCount     = 1;
     this.tlpHeader2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tlpHeader2.Controls.Add(this.stcBOMInformation, 0, 0);
     this.tlpHeader2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tlpHeader2.Location = new System.Drawing.Point(0, 51);
     this.tlpHeader2.Margin   = new System.Windows.Forms.Padding(0);
     this.tlpHeader2.Name     = "tlpHeader2";
     this.tlpHeader2.RowCount = 1;
     this.tlpHeader2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tlpHeader2.Size     = new System.Drawing.Size(792, 24);
     this.tlpHeader2.TabIndex = 38;
     //
     // stcBOMInformation
     //
     this.stcBOMInformation.AppearanceName = "Header";
     this.stcBOMInformation.AutoSize       = true;
     this.stcBOMInformation.ControlID      = "";
     this.stcBOMInformation.Font           = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222)));
     this.stcBOMInformation.ForeColor      = System.Drawing.Color.Navy;
     this.stcBOMInformation.Location       = new System.Drawing.Point(0, 0);
     this.stcBOMInformation.Margin         = new System.Windows.Forms.Padding(0, 0, 3, 0);
     this.stcBOMInformation.Name           = "stcBOMInformation";
     this.stcBOMInformation.PathString     = null;
     this.stcBOMInformation.PathValue      = "BOM Structure Information";
     this.stcBOMInformation.Size           = new System.Drawing.Size(230, 24);
     this.stcBOMInformation.TabIndex       = 0;
     this.stcBOMInformation.Text           = "BOM Structure Information";
     //
     // stcBOMSetup
     //
     this.stcBOMSetup.AppearanceName = "Title";
     this.stcBOMSetup.AutoSize       = true;
     this.stcBOMSetup.ControlID      = "";
     this.stcBOMSetup.Dock           = System.Windows.Forms.DockStyle.Top;
     this.stcBOMSetup.ForeColor      = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
     this.stcBOMSetup.Location       = new System.Drawing.Point(3, 0);
     this.stcBOMSetup.Name           = "stcBOMSetup";
     this.stcBOMSetup.PathString     = null;
     this.stcBOMSetup.PathValue      = "BOM Setup";
     this.stcBOMSetup.Size           = new System.Drawing.Size(786, 19);
     this.stcBOMSetup.TabIndex       = 36;
     this.stcBOMSetup.Text           = "BOM Setup";
     this.stcBOMSetup.UseMnemonic    = false;
     //
     // tableLayoutPanel2
     //
     this.tableLayoutPanel2.AutoSize    = true;
     this.tableLayoutPanel2.ColumnCount = 6;
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 88F));
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F));
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 106F));
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 70F));
     this.tableLayoutPanel2.Controls.Add(this.stcItemDesc, 4, 0);
     this.tableLayoutPanel2.Controls.Add(this.stcItemCD, 1, 0);
     this.tableLayoutPanel2.Controls.Add(this.label4, 0, 0);
     this.tableLayoutPanel2.Controls.Add(this.txtItemCD, 2, 0);
     this.tableLayoutPanel2.Controls.Add(this.btnItemCD, 3, 0);
     this.tableLayoutPanel2.Controls.Add(this.txtItemDesc, 5, 0);
     this.tableLayoutPanel2.Dock     = System.Windows.Forms.DockStyle.Top;
     this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 19);
     this.tableLayoutPanel2.Margin   = new System.Windows.Forms.Padding(0);
     this.tableLayoutPanel2.Name     = "tableLayoutPanel2";
     this.tableLayoutPanel2.RowCount = 1;
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel2.Size     = new System.Drawing.Size(792, 32);
     this.tableLayoutPanel2.TabIndex = 37;
     //
     // stcItemDesc
     //
     this.stcItemDesc.AppearanceName = "";
     this.stcItemDesc.ControlID      = "";
     this.stcItemDesc.Dock           = System.Windows.Forms.DockStyle.Top;
     this.stcItemDesc.Location       = new System.Drawing.Point(306, 3);
     this.stcItemDesc.Margin         = new System.Windows.Forms.Padding(3);
     this.stcItemDesc.Name           = "stcItemDesc";
     this.stcItemDesc.PathString     = null;
     this.stcItemDesc.PathValue      = "Part Name";
     this.stcItemDesc.Size           = new System.Drawing.Size(100, 21);
     this.stcItemDesc.TabIndex       = 14;
     this.stcItemDesc.Text           = "Part Name";
     //
     // stcItemCD
     //
     this.stcItemCD.AppearanceName = "";
     this.stcItemCD.ControlID      = "";
     this.stcItemCD.Dock           = System.Windows.Forms.DockStyle.Top;
     this.stcItemCD.Location       = new System.Drawing.Point(23, 3);
     this.stcItemCD.Margin         = new System.Windows.Forms.Padding(3);
     this.stcItemCD.Name           = "stcItemCD";
     this.stcItemCD.PathString     = null;
     this.stcItemCD.PathValue      = "Part No";
     this.stcItemCD.Size           = new System.Drawing.Size(82, 21);
     this.stcItemCD.TabIndex       = 11;
     this.stcItemCD.Text           = "Part No";
     //
     // label4
     //
     this.label4.AppearanceName = "RequireText";
     this.label4.AutoSize       = true;
     this.label4.ControlID      = "";
     this.label4.Dock           = System.Windows.Forms.DockStyle.Right;
     this.label4.Font           = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222)));
     this.label4.ForeColor      = System.Drawing.Color.Green;
     this.label4.Location       = new System.Drawing.Point(3, 0);
     this.label4.Name           = "label4";
     this.label4.PathString     = null;
     this.label4.PathValue      = "*";
     this.label4.Size           = new System.Drawing.Size(14, 32);
     this.label4.TabIndex       = 10;
     this.label4.Text           = "*";
     //
     // txtItemCD
     //
     this.txtItemCD.AllowNegative          = true;
     this.txtItemCD.AppearanceName         = "";
     this.txtItemCD.AppearanceReadOnlyName = "";
     this.txtItemCD.CharacterCasing        = System.Windows.Forms.CharacterCasing.Upper;
     this.txtItemCD.CheckEmpty             = true;
     this.txtItemCD.CheckExist             = false;
     this.txtItemCD.CheckNotExist          = true;
     this.txtItemCD.ControlID           = "";
     this.txtItemCD.CustomerCode        = null;
     this.txtItemCD.CustomerNameTextBox = null;
     this.txtItemCD.Decimal             = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     this.txtItemCD.DecimalPoint       = '.';
     this.txtItemCD.DescriptionTextBox = this.txtItemDesc;
     this.txtItemCD.DigitsInGroup      = 0;
     this.txtItemCD.Dock               = System.Windows.Forms.DockStyle.Top;
     this.txtItemCD.Double             = 0D;
     this.txtItemCD.FixDecimalPosition = true;
     this.txtItemCD.Flags              = 0;
     this.txtItemCD.Font               = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.txtItemCD.GroupSeparator     = ',';
     this.txtItemCD.HelpButton         = this.btnItemCD;
     this.txtItemCD.Int                     = 0;
     this.txtItemCD.ItemType                = null;
     this.txtItemCD.Location                = new System.Drawing.Point(111, 3);
     this.txtItemCD.Long                    = ((long)(0));
     this.txtItemCD.MaxDecimalPlaces        = 0;
     this.txtItemCD.MaxLength               = 50;
     this.txtItemCD.MaxWholeDigits          = 10;
     this.txtItemCD.Name                    = "txtItemCD";
     this.txtItemCD.NegativeSign            = '-';
     this.txtItemCD.PathString              = null;
     this.txtItemCD.PathValue               = "";
     this.txtItemCD.Prefix                  = "";
     this.txtItemCD.RangeMax                = 9999999999D;
     this.txtItemCD.RangeMin                = 0D;
     this.txtItemCD.SelectedCustomerData    = null;
     this.txtItemCD.SelectedItemData        = null;
     this.txtItemCD.SelectedItemProcessData = null;
     this.txtItemCD.Size                    = new System.Drawing.Size(157, 26);
     this.txtItemCD.SqlOperator             = Rubik.eSqlOperator.In;
     this.txtItemCD.TabIndex                = 12;
     this.txtItemCD.TextAlign               = System.Windows.Forms.HorizontalAlignment.Right;
     this.txtItemCD.KeyPressResult         += new Rubik.Forms.UserControl.ItemFoundHandler(this.txtItem_KeyPressResult);
     //
     // txtItemDesc
     //
     this.txtItemDesc.AppearanceName         = "";
     this.txtItemDesc.AppearanceReadOnlyName = "";
     this.txtItemDesc.ControlID           = "";
     this.txtItemDesc.DisableRestrictChar = false;
     this.txtItemDesc.Dock       = System.Windows.Forms.DockStyle.Top;
     this.txtItemDesc.Font       = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.txtItemDesc.HelpButton = null;
     this.txtItemDesc.Location   = new System.Drawing.Point(412, 3);
     this.txtItemDesc.MaxLength  = 100;
     this.txtItemDesc.Name       = "txtItemDesc";
     this.txtItemDesc.PathString = null;
     this.txtItemDesc.PathValue  = "";
     this.txtItemDesc.Size       = new System.Drawing.Size(377, 26);
     this.txtItemDesc.TabIndex   = 15;
     //
     // btnItemCD
     //
     this.btnItemCD.AppearanceName        = "";
     this.btnItemCD.AutoSize              = true;
     this.btnItemCD.BackgroundImage       = global::Rubik.Forms.Properties.Resources.VIEW;
     this.btnItemCD.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.btnItemCD.ControlID             = null;
     this.btnItemCD.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.btnItemCD.Location = new System.Drawing.Point(274, 3);
     this.btnItemCD.Name     = "btnItemCD";
     this.btnItemCD.Size     = new System.Drawing.Size(26, 26);
     this.btnItemCD.TabIndex = 13;
     this.btnItemCD.TabStop  = false;
     this.btnItemCD.UseVisualStyleBackColor = true;
     this.btnItemCD.Click += new System.EventHandler(this.btnItemCD_Click);
     //
     // panel1
     //
     this.panel1.Controls.Add(this.fpView);
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 78);
     this.panel1.Margin   = new System.Windows.Forms.Padding(0, 3, 3, 3);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(789, 380);
     this.panel1.TabIndex = 39;
     //
     // fpView
     //
     this.fpView.About = "2.5.2015.2005";
     this.fpView.AccessibleDescription = "fpView, Sheet1";
     this.fpView.BackColor             = System.Drawing.SystemColors.Control;
     this.fpView.BorderStyle           = System.Windows.Forms.BorderStyle.FixedSingle;
     this.fpView.ColumnSplitBoxPolicy  = FarPoint.Win.Spread.SplitBoxPolicy.Never;
     this.fpView.ContextMenuStrip      = this.ctxMenu;
     this.fpView.Dock = System.Windows.Forms.DockStyle.Fill;
     this.fpView.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
     this.fpView.Location             = new System.Drawing.Point(44, 0);
     this.fpView.Margin               = new System.Windows.Forms.Padding(5);
     this.fpView.Name                 = "fpView";
     this.fpView.RightToLeft          = System.Windows.Forms.RightToLeft.No;
     this.fpView.RowSplitBoxPolicy    = FarPoint.Win.Spread.SplitBoxPolicy.Never;
     this.fpView.ScrollBarTrackPolicy = FarPoint.Win.Spread.ScrollBarTrackPolicy.Both;
     this.fpView.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
         this.shtView
     });
     this.fpView.Size     = new System.Drawing.Size(745, 380);
     this.fpView.TabIndex = 40;
     this.fpView.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
     this.fpView.SelectionChanged       += new FarPoint.Win.Spread.SelectionChangedEventHandler(this.fpView_SelectionChanged);
     this.fpView.CellDoubleClick        += new FarPoint.Win.Spread.CellClickEventHandler(this.fpView_CellDoubleClick);
     this.fpView.Paint     += new System.Windows.Forms.PaintEventHandler(this.fpView_Paint);
     this.fpView.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.fpView_KeyDown);
     this.fpView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.fpView_MouseDown);
     //
     // ctxMenu
     //
     this.ctxMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.miAddChildItem,
         this.miEditItem,
         this.miDeleteItem,
         this.miDeleteTree
     });
     this.ctxMenu.Name     = "ctxMenu";
     this.ctxMenu.Size     = new System.Drawing.Size(145, 92);
     this.ctxMenu.Opening += new System.ComponentModel.CancelEventHandler(this.ctxMenu_Opening);
     //
     // miAddChildItem
     //
     this.miAddChildItem.Name   = "miAddChildItem";
     this.miAddChildItem.Size   = new System.Drawing.Size(144, 22);
     this.miAddChildItem.Text   = "Add Child Item";
     this.miAddChildItem.Click += new System.EventHandler(this.miAddChildItem_Click);
     //
     // miEditItem
     //
     this.miEditItem.Name   = "miEditItem";
     this.miEditItem.Size   = new System.Drawing.Size(144, 22);
     this.miEditItem.Text   = "Edit Item";
     this.miEditItem.Click += new System.EventHandler(this.miEditItem_Click);
     //
     // miDeleteItem
     //
     this.miDeleteItem.Name   = "miDeleteItem";
     this.miDeleteItem.Size   = new System.Drawing.Size(144, 22);
     this.miDeleteItem.Text   = "Delete Item";
     this.miDeleteItem.Click += new System.EventHandler(this.miDeleteItem_Click);
     //
     // miDeleteTree
     //
     this.miDeleteTree.Name   = "miDeleteTree";
     this.miDeleteTree.Size   = new System.Drawing.Size(144, 22);
     this.miDeleteTree.Text   = "Delete Tree";
     this.miDeleteTree.Click += new System.EventHandler(this.miDeleteTree_Click);
     //
     // shtView
     //
     this.shtView.Reset();
     this.shtView.SheetName = "Sheet1";
     // Formulas and custom names must be loaded with R1C1 reference style
     this.shtView.ReferenceStyle      = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
     this.shtView.ColumnCount         = 10;
     this.shtView.RowCount            = 0;
     this.shtView.AutoCalculation     = false;
     this.shtView.AutoGenerateColumns = false;
     this.shtView.ColumnHeader.Cells.Get(0, 0).Value = "Part No";
     this.shtView.ColumnHeader.Cells.Get(0, 1).Value = "Part Name";
     this.shtView.ColumnHeader.Cells.Get(0, 2).Value = "Part Class";
     this.shtView.ColumnHeader.Cells.Get(0, 3).Value = "Lot Control";
     this.shtView.ColumnHeader.Cells.Get(0, 4).Value = "Consumption";
     this.shtView.ColumnHeader.Cells.Get(0, 5).Value = "Seq";
     this.shtView.ColumnHeader.Cells.Get(0, 6).Value = "Parent Rate";
     this.shtView.ColumnHeader.Cells.Get(0, 7).Value = "Child Rate";
     this.shtView.ColumnHeader.Cells.Get(0, 8).Value = "Child Loc.";
     this.shtView.ColumnHeader.Cells.Get(0, 9).Value = "MRP Flag";
     this.shtView.ColumnHeader.Rows.Get(0).Height    = 40F;
     this.shtView.Columns.Get(0).CellType            = textCellType1;
     this.shtView.Columns.Get(0).Label    = "Part No";
     this.shtView.Columns.Get(0).Tag      = "Part No";
     this.shtView.Columns.Get(0).Width    = 240F;
     this.shtView.Columns.Get(1).CellType = textCellType2;
     this.shtView.Columns.Get(1).Label    = "Part Name";
     this.shtView.Columns.Get(1).Tag      = "Part Name";
     this.shtView.Columns.Get(1).Width    = 180F;
     this.shtView.Columns.Get(2).CellType = textCellType3;
     this.shtView.Columns.Get(2).Label    = "Part Class";
     this.shtView.Columns.Get(2).Tag      = "Part Class";
     this.shtView.Columns.Get(2).Width    = 120F;
     this.shtView.Columns.Get(3).CellType = checkBoxCellType1;
     this.shtView.Columns.Get(3).Label    = "Lot Control";
     this.shtView.Columns.Get(3).Tag      = "Lot Control";
     this.shtView.Columns.Get(3).Width    = 110F;
     this.shtView.Columns.Get(4).Label    = "Consumption";
     this.shtView.Columns.Get(4).Tag      = "Consumption";
     this.shtView.Columns.Get(4).Width    = 110F;
     numberCellType1.DecimalPlaces        = 0;
     this.shtView.Columns.Get(5).CellType = numberCellType1;
     this.shtView.Columns.Get(5).Label    = "Seq";
     this.shtView.Columns.Get(5).Tag      = "Seq";
     this.shtView.Columns.Get(5).Width    = 75F;
     currencyCellType1.DecimalPlaces      = 6;
     currencyCellType1.DecimalSeparator   = ".";
     currencyCellType1.FixedPoint         = false;
     currencyCellType1.MaximumValue       = new decimal(new int[] {
         1874919423,
         2328306,
         0,
         393216
     });
     currencyCellType1.MinimumValue = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     currencyCellType1.ShowCurrencySymbol = false;
     currencyCellType1.ShowSeparator      = true;
     this.shtView.Columns.Get(6).CellType = currencyCellType1;
     this.shtView.Columns.Get(6).Label    = "Parent Rate";
     this.shtView.Columns.Get(6).Tag      = "Parent Rate";
     this.shtView.Columns.Get(6).Width    = 75F;
     currencyCellType2.DecimalPlaces      = 6;
     currencyCellType2.DecimalSeparator   = ".";
     currencyCellType2.FixedPoint         = false;
     currencyCellType2.MaximumValue       = new decimal(new int[] {
         1874919423,
         2328306,
         0,
         393216
     });
     currencyCellType2.MinimumValue = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     currencyCellType2.ShowCurrencySymbol            = false;
     currencyCellType2.ShowSeparator                 = true;
     this.shtView.Columns.Get(7).CellType            = currencyCellType2;
     this.shtView.Columns.Get(7).Label               = "Child Rate";
     this.shtView.Columns.Get(7).Tag                 = "Child Rate";
     this.shtView.Columns.Get(7).Width               = 75F;
     this.shtView.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
     this.shtView.Columns.Get(8).Label               = "Child Loc.";
     this.shtView.Columns.Get(8).Locked              = false;
     this.shtView.Columns.Get(8).Tag                 = "Child Loc.";
     this.shtView.Columns.Get(8).Width               = 120F;
     this.shtView.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
     this.shtView.Columns.Get(9).Label               = "MRP Flag";
     this.shtView.Columns.Get(9).Tag                 = "MRP Flag";
     this.shtView.Columns.Get(9).Width               = 142F;
     this.shtView.DataAutoCellTypes   = false;
     this.shtView.DataAutoHeadings    = false;
     this.shtView.DataAutoSizeColumns = false;
     this.shtView.OperationMode       = FarPoint.Win.Spread.OperationMode.SingleSelect;
     this.shtView.RowHeader.Columns.Default.Resizable = true;
     this.shtView.SelectionPolicy = FarPoint.Win.Spread.Model.SelectionPolicy.Single;
     this.shtView.SelectionUnit   = FarPoint.Win.Spread.Model.SelectionUnit.Row;
     this.shtView.ReferenceStyle  = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
     this.fpView.SetActiveViewport(0, 1, 0);
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.SkyBlue;
     this.panel2.Controls.Add(this.btnMoveUp);
     this.panel2.Controls.Add(this.btnMoveDown);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Left;
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Margin   = new System.Windows.Forms.Padding(0, 3, 3, 3);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(44, 380);
     this.panel2.TabIndex = 43;
     //
     // btnMoveUp
     //
     this.btnMoveUp.Anchor                  = System.Windows.Forms.AnchorStyles.None;
     this.btnMoveUp.AppearanceName          = "";
     this.btnMoveUp.ControlID               = null;
     this.btnMoveUp.Image                   = global::Rubik.Forms.Properties.Resources.UP_BTN;
     this.btnMoveUp.Location                = new System.Drawing.Point(7, 137);
     this.btnMoveUp.Name                    = "btnMoveUp";
     this.btnMoveUp.Size                    = new System.Drawing.Size(31, 31);
     this.btnMoveUp.TabIndex                = 41;
     this.btnMoveUp.UseVisualStyleBackColor = true;
     this.btnMoveUp.Click                  += new System.EventHandler(this.btnMoveUp_Click);
     //
     // btnMoveDown
     //
     this.btnMoveDown.Anchor                  = System.Windows.Forms.AnchorStyles.None;
     this.btnMoveDown.AppearanceName          = "";
     this.btnMoveDown.ControlID               = null;
     this.btnMoveDown.Image                   = global::Rubik.Forms.Properties.Resources.DOWN_BTN;
     this.btnMoveDown.Location                = new System.Drawing.Point(7, 174);
     this.btnMoveDown.Name                    = "btnMoveDown";
     this.btnMoveDown.Size                    = new System.Drawing.Size(31, 31);
     this.btnMoveDown.TabIndex                = 42;
     this.btnMoveDown.UseVisualStyleBackColor = true;
     this.btnMoveDown.Click                  += new System.EventHandler(this.btnMoveDown_Click);
     //
     // imgListStateNode
     //
     this.imgListStateNode.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgListStateNode.ImageStream")));
     this.imgListStateNode.TransparentColor = System.Drawing.Color.Transparent;
     this.imgListStateNode.Images.SetKeyName(0, "BLANK");
     this.imgListStateNode.Images.SetKeyName(1, "PLUS");
     this.imgListStateNode.Images.SetKeyName(2, "MINUS");
     //
     // tslControl
     //
     this.tslControl.GripMargin = new System.Windows.Forms.Padding(0);
     this.tslControl.GripStyle  = System.Windows.Forms.ToolStripGripStyle.Hidden;
     this.tslControl.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.tsbSave,
         this.tlsSeperator1,
         this.tsbCancel,
         this.tlsSeperator2
     });
     this.tslControl.Location = new System.Drawing.Point(0, 0);
     this.tslControl.Name     = "tslControl";
     this.tslControl.Padding  = new System.Windows.Forms.Padding(0);
     this.tslControl.Size     = new System.Drawing.Size(792, 28);
     this.tslControl.TabIndex = 2;
     this.tslControl.TabStop  = true;
     //
     // tsbSave
     //
     this.tsbSave.Image = global::Rubik.Forms.Properties.Resources.SAVE;
     this.tsbSave.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbSave.Margin      = new System.Windows.Forms.Padding(4, 2, 0, 2);
     this.tsbSave.Name        = "tsbSave";
     this.tsbSave.Padding     = new System.Windows.Forms.Padding(2);
     this.tsbSave.Size        = new System.Drawing.Size(55, 24);
     this.tsbSave.Text        = "Save";
     this.tsbSave.ToolTipText = "Save";
     this.tsbSave.Click      += new System.EventHandler(this.tsbSave_Click);
     //
     // tlsSeperator1
     //
     this.tlsSeperator1.Name = "tlsSeperator1";
     this.tlsSeperator1.Size = new System.Drawing.Size(6, 28);
     //
     // tsbCancel
     //
     this.tsbCancel.Image = global::Rubik.Forms.Properties.Resources.CANCEL_ICON;
     this.tsbCancel.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbCancel.Margin      = new System.Windows.Forms.Padding(4, 2, 0, 2);
     this.tsbCancel.Name        = "tsbCancel";
     this.tsbCancel.Padding     = new System.Windows.Forms.Padding(2);
     this.tsbCancel.Size        = new System.Drawing.Size(63, 24);
     this.tsbCancel.Text        = "Cancel";
     this.tsbCancel.ToolTipText = "Cancel";
     this.tsbCancel.Click      += new System.EventHandler(this.tsbCancel_Click);
     //
     // tlsSeperator2
     //
     this.tlsSeperator2.Name = "tlsSeperator2";
     this.tlsSeperator2.Size = new System.Drawing.Size(6, 28);
     //
     // MAS050_BOMSetup
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(792, 489);
     this.Controls.Add(this.pnlContainerNew);
     this.Controls.Add(this.tslControl);
     this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize = new System.Drawing.Size(690, 523);
     this.Name        = "MAS050_BOMSetup";
     this.Text        = "BOM Setup";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load       += new System.EventHandler(this.MAS050_BOMSetup_Load);
     this.Shown      += new System.EventHandler(this.MAS050_BOMSetup_Shown);
     this.pnlContainerNew.ResumeLayout(false);
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     this.tlpHeader2.ResumeLayout(false);
     this.tlpHeader2.PerformLayout();
     this.tableLayoutPanel2.ResumeLayout(false);
     this.tableLayoutPanel2.PerformLayout();
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.fpView)).EndInit();
     this.ctxMenu.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.shtView)).EndInit();
     this.panel2.ResumeLayout(false);
     this.tslControl.ResumeLayout(false);
     this.tslControl.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 16
0
 /// <summary>
 /// 디자이너 지원에 필요한 메서드입니다.
 /// 이 메서드의 내용을 코드 편집기로 수정하지 마십시오.
 /// </summary>
 private void InitializeComponent()
 {
     FarPoint.Win.Spread.CellType.DateTimeCellType  dateTimeCellType1 = new FarPoint.Win.Spread.CellType.DateTimeCellType();
     System.ComponentModel.ComponentResourceManager resources         = new System.ComponentModel.ComponentResourceManager(typeof(Melsec_A));
     FarPoint.Win.Spread.CellType.TextCellType      textCellType1     = new FarPoint.Win.Spread.CellType.TextCellType();
     FarPoint.Win.Spread.CellType.NumberCellType    numberCellType1   = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.Spread.CellType.NumberCellType    numberCellType2   = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.Spread.CellType.TextCellType      textCellType2     = new FarPoint.Win.Spread.CellType.TextCellType();
     this.fpView         = new FarPoint.Win.Spread.FpSpread();
     this.fpView_Sheet1  = new FarPoint.Win.Spread.SheetView();
     this.btnOnOff       = new System.Windows.Forms.Button();
     this.lblServerStats = new System.Windows.Forms.Label();
     this.label1         = new System.Windows.Forms.Label();
     this.txtPort        = new System.Windows.Forms.MaskedTextBox();
     this.button1        = new System.Windows.Forms.Button();
     this.fpAdd          = new FarPoint.Win.Spread.FpSpread();
     this.fpAdd_Sheet1   = new FarPoint.Win.Spread.SheetView();
     this.label2         = new System.Windows.Forms.Label();
     this.label3         = new System.Windows.Forms.Label();
     this.btnAdd         = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.fpView)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.fpView_Sheet1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.fpAdd)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.fpAdd_Sheet1)).BeginInit();
     this.SuspendLayout();
     //
     // fpView
     //
     this.fpView.AccessibleDescription     = "fpView, Sheet1, Row 0, Column 0, ";
     this.fpView.BackColor                 = System.Drawing.SystemColors.Control;
     this.fpView.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.Never;
     this.fpView.Location              = new System.Drawing.Point(272, 22);
     this.fpView.Name                  = "fpView";
     this.fpView.RightToLeft           = System.Windows.Forms.RightToLeft.No;
     this.fpView.SelectionBlockOptions = FarPoint.Win.Spread.SelectionBlockOptions.Rows;
     this.fpView.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
         this.fpView_Sheet1
     });
     this.fpView.Size     = new System.Drawing.Size(825, 461);
     this.fpView.TabIndex = 0;
     //
     // fpView_Sheet1
     //
     this.fpView_Sheet1.Reset();
     this.fpView_Sheet1.SheetName = "Sheet1";
     // Formulas and custom names must be loaded with R1C1 reference style
     this.fpView_Sheet1.ReferenceStyle  = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
     fpView_Sheet1.ColumnCount          = 22;
     fpView_Sheet1.RowCount             = 1;
     this.fpView_Sheet1.ActiveSkin      = new FarPoint.Win.Spread.SheetSkin("CustomSkin1", System.Drawing.SystemColors.AppWorkspace, System.Drawing.Color.White, System.Drawing.Color.FromArgb(((int)(((byte)(74)))), ((int)(((byte)(60)))), ((int)(((byte)(140))))), System.Drawing.Color.Gainsboro, FarPoint.Win.Spread.GridLines.Both, System.Drawing.Color.LightGray, System.Drawing.Color.Black, System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(138)))), ((int)(((byte)(156))))), System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247))))), System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(255))))), System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247))))), false, false, true, true, true, "HeaderDefault", "HeaderDefault", "DataAreaDefault", "HeaderDefault");
     this.fpView_Sheet1.AutoCalculation = false;
     this.fpView_Sheet1.ColumnHeader.Columns.Default.VisualStyles    = FarPoint.Win.VisualStyles.Off;
     this.fpView_Sheet1.ColumnHeader.DefaultStyle.BackColor          = System.Drawing.Color.LightGray;
     this.fpView_Sheet1.ColumnHeader.DefaultStyle.Font               = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold);
     this.fpView_Sheet1.ColumnHeader.DefaultStyle.ForeColor          = System.Drawing.Color.Black;
     this.fpView_Sheet1.ColumnHeader.DefaultStyle.NoteIndicatorColor = System.Drawing.Color.Red;
     this.fpView_Sheet1.ColumnHeader.DefaultStyle.Parent             = "HeaderDefault";
     this.fpView_Sheet1.ColumnHeader.DefaultStyle.VisualStyles       = FarPoint.Win.VisualStyles.Off;
     this.fpView_Sheet1.ColumnHeader.Rows.Default.VisualStyles       = FarPoint.Win.VisualStyles.Off;
     dateTimeCellType1.Calendar = ((System.Globalization.Calendar)(resources.GetObject("dateTimeCellType1.Calendar")));
     dateTimeCellType1.CalendarSurroundingDaysColor = System.Drawing.SystemColors.GrayText;
     dateTimeCellType1.DateDefault = new System.DateTime(2007, 12, 23, 9, 20, 49, 0);
     dateTimeCellType1.MaximumTime = System.TimeSpan.Parse("23:59:59.9999999");
     dateTimeCellType1.TimeDefault = new System.DateTime(2007, 12, 23, 9, 20, 49, 0);
     this.fpView_Sheet1.Columns.Get(0).CellType            = dateTimeCellType1;
     this.fpView_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(0).VerticalAlignment   = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(0).Width                = 106F;
     this.fpView_Sheet1.Columns.Get(1).CellType             = textCellType1;
     this.fpView_Sheet1.Columns.Get(1).HorizontalAlignment  = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(1).VerticalAlignment    = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(2).HorizontalAlignment  = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(2).VerticalAlignment    = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(2).Width                = 30F;
     this.fpView_Sheet1.Columns.Get(3).HorizontalAlignment  = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(3).VerticalAlignment    = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(3).Width                = 30F;
     this.fpView_Sheet1.Columns.Get(4).HorizontalAlignment  = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(4).VerticalAlignment    = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(4).Width                = 30F;
     this.fpView_Sheet1.Columns.Get(5).HorizontalAlignment  = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(5).VerticalAlignment    = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(5).Width                = 30F;
     this.fpView_Sheet1.Columns.Get(6).HorizontalAlignment  = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(6).VerticalAlignment    = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(6).Width                = 30F;
     this.fpView_Sheet1.Columns.Get(7).HorizontalAlignment  = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(7).VerticalAlignment    = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(7).Width                = 30F;
     this.fpView_Sheet1.Columns.Get(8).HorizontalAlignment  = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(8).VerticalAlignment    = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(8).Width                = 30F;
     this.fpView_Sheet1.Columns.Get(9).HorizontalAlignment  = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(9).VerticalAlignment    = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(9).Width                = 30F;
     this.fpView_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(10).VerticalAlignment   = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(10).Width               = 30F;
     this.fpView_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(11).VerticalAlignment   = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(11).Width               = 30F;
     this.fpView_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(12).VerticalAlignment   = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(12).Width               = 30F;
     this.fpView_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(13).VerticalAlignment   = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(13).Width               = 30F;
     this.fpView_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(14).VerticalAlignment   = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(14).Width               = 30F;
     this.fpView_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(15).VerticalAlignment   = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(15).Width               = 30F;
     this.fpView_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(16).VerticalAlignment   = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(16).Width               = 30F;
     this.fpView_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(17).VerticalAlignment   = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(17).Width               = 30F;
     this.fpView_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(18).VerticalAlignment   = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(18).Width               = 30F;
     this.fpView_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(19).VerticalAlignment   = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(19).Width               = 30F;
     this.fpView_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(20).VerticalAlignment   = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(20).Width               = 30F;
     this.fpView_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(21).VerticalAlignment   = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.fpView_Sheet1.Columns.Get(21).Width               = 30F;
     this.fpView_Sheet1.DefaultStyle.BackColor              = System.Drawing.Color.White;
     this.fpView_Sheet1.DefaultStyle.ForeColor              = System.Drawing.Color.FromArgb(((int)(((byte)(74)))), ((int)(((byte)(60)))), ((int)(((byte)(140)))));
     this.fpView_Sheet1.DefaultStyle.NoteIndicatorColor     = System.Drawing.Color.Red;
     this.fpView_Sheet1.DefaultStyle.Parent = "DataAreaDefault";
     this.fpView_Sheet1.RowHeader.Columns.Default.Resizable       = false;
     this.fpView_Sheet1.RowHeader.Columns.Default.VisualStyles    = FarPoint.Win.VisualStyles.Off;
     this.fpView_Sheet1.RowHeader.DefaultStyle.BackColor          = System.Drawing.Color.LightGray;
     this.fpView_Sheet1.RowHeader.DefaultStyle.Font               = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold);
     this.fpView_Sheet1.RowHeader.DefaultStyle.ForeColor          = System.Drawing.Color.Black;
     this.fpView_Sheet1.RowHeader.DefaultStyle.NoteIndicatorColor = System.Drawing.Color.Red;
     this.fpView_Sheet1.RowHeader.DefaultStyle.Parent             = "HeaderDefault";
     this.fpView_Sheet1.RowHeader.DefaultStyle.VisualStyles       = FarPoint.Win.VisualStyles.Off;
     this.fpView_Sheet1.RowHeader.Rows.Default.VisualStyles       = FarPoint.Win.VisualStyles.Off;
     this.fpView_Sheet1.SelectionUnit = FarPoint.Win.Spread.Model.SelectionUnit.Row;
     this.fpView_Sheet1.SheetCornerStyle.BackColor          = System.Drawing.Color.LightGray;
     this.fpView_Sheet1.SheetCornerStyle.Font               = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold);
     this.fpView_Sheet1.SheetCornerStyle.ForeColor          = System.Drawing.Color.Black;
     this.fpView_Sheet1.SheetCornerStyle.NoteIndicatorColor = System.Drawing.Color.Red;
     this.fpView_Sheet1.SheetCornerStyle.Parent             = "HeaderDefault";
     this.fpView_Sheet1.SheetCornerStyle.VisualStyles       = FarPoint.Win.VisualStyles.Off;
     this.fpView_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
     //
     // btnOnOff
     //
     this.btnOnOff.Location = new System.Drawing.Point(104, 488);
     this.btnOnOff.Name     = "btnOnOff";
     this.btnOnOff.Size     = new System.Drawing.Size(101, 30);
     this.btnOnOff.TabIndex = 1;
     this.btnOnOff.Text     = "Sever On/off";
     this.btnOnOff.UseVisualStyleBackColor = true;
     this.btnOnOff.Click += new System.EventHandler(this.btnOnOff_Click);
     //
     // lblServerStats
     //
     this.lblServerStats.BackColor   = System.Drawing.Color.Red;
     this.lblServerStats.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.lblServerStats.ForeColor   = System.Drawing.SystemColors.ActiveCaptionText;
     this.lblServerStats.Location    = new System.Drawing.Point(12, 488);
     this.lblServerStats.Name        = "lblServerStats";
     this.lblServerStats.Size        = new System.Drawing.Size(86, 30);
     this.lblServerStats.TabIndex    = 2;
     this.lblServerStats.Text        = "SeverStop";
     this.lblServerStats.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label1
     //
     this.label1.BackColor   = System.Drawing.SystemColors.ControlLightLight;
     this.label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.label1.Location    = new System.Drawing.Point(767, 492);
     this.label1.Name        = "label1";
     this.label1.Size        = new System.Drawing.Size(86, 22);
     this.label1.TabIndex    = 3;
     this.label1.Text        = "Port No";
     this.label1.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // txtPort
     //
     this.txtPort.Font         = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
     this.txtPort.Location     = new System.Drawing.Point(859, 492);
     this.txtPort.Mask         = "9999";
     this.txtPort.Name         = "txtPort";
     this.txtPort.Size         = new System.Drawing.Size(100, 22);
     this.txtPort.TabIndex     = 4;
     this.txtPort.TextAlign    = System.Windows.Forms.HorizontalAlignment.Center;
     this.txtPort.TextChanged += new System.EventHandler(this.txtPort_TextChanged);
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(968, 489);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(128, 29);
     this.button1.TabIndex = 7;
     this.button1.Text     = "이력 Clear";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // fpAdd
     //
     this.fpAdd.AccessibleDescription = "fpAdd, Sheet1, Row 0, Column 0, 5000";
     this.fpAdd.Location = new System.Drawing.Point(3, 22);
     this.fpAdd.Name     = "fpAdd";
     this.fpAdd.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
         this.fpAdd_Sheet1
     });
     this.fpAdd.Size     = new System.Drawing.Size(263, 427);
     this.fpAdd.TabIndex = 8;
     //
     // fpAdd_Sheet1
     //
     this.fpAdd_Sheet1.Reset();
     this.fpAdd_Sheet1.SheetName = "Sheet1";
     // Formulas and custom names must be loaded with R1C1 reference style
     this.fpAdd_Sheet1.ReferenceStyle        = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
     fpAdd_Sheet1.ColumnCount                = 3;
     fpAdd_Sheet1.RowCount                   = 5;
     this.fpAdd_Sheet1.Cells.Get(0, 0).Value = 5000;
     this.fpAdd_Sheet1.Cells.Get(0, 1).Value = 65535;
     this.fpAdd_Sheet1.Cells.Get(0, 2).Value = "FFFF";
     this.fpAdd_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "Address";
     this.fpAdd_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "Value";
     this.fpAdd_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "HexValue";
     numberCellType1.DecimalPlaces                        = 0;
     numberCellType1.MaximumValue                         = 10000000;
     numberCellType1.MinimumValue                         = -10000000;
     this.fpAdd_Sheet1.Columns.Get(0).CellType            = numberCellType1;
     this.fpAdd_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.fpAdd_Sheet1.Columns.Get(0).Label               = "Address";
     this.fpAdd_Sheet1.Columns.Get(0).VerticalAlignment   = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     numberCellType2.DecimalPlaces                        = 0;
     numberCellType2.MaximumValue                         = 65535;
     numberCellType2.MinimumValue                         = 0;
     this.fpAdd_Sheet1.Columns.Get(1).CellType            = numberCellType2;
     this.fpAdd_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
     this.fpAdd_Sheet1.Columns.Get(1).Label               = "Value";
     this.fpAdd_Sheet1.Columns.Get(1).VerticalAlignment   = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     textCellType2.MaxLength = 4;
     this.fpAdd_Sheet1.Columns.Get(2).CellType            = textCellType2;
     this.fpAdd_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
     this.fpAdd_Sheet1.Columns.Get(2).Label             = "HexValue";
     this.fpAdd_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.fpAdd_Sheet1.Columns.Get(2).Width             = 69F;
     this.fpAdd_Sheet1.DataAutoCellTypes   = false;
     this.fpAdd_Sheet1.DataAutoHeadings    = false;
     this.fpAdd_Sheet1.DataAutoSizeColumns = false;
     this.fpAdd_Sheet1.RowHeader.Columns.Default.Resizable = false;
     this.fpAdd_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(1, 9);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(80, 12);
     this.label2.TabIndex = 9;
     this.label2.Text     = "PLC Address";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(270, 9);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(72, 12);
     this.label3.TabIndex = 10;
     this.label3.Text     = "Comm. Log";
     //
     // btnAdd
     //
     this.btnAdd.Location = new System.Drawing.Point(3, 453);
     this.btnAdd.Name     = "btnAdd";
     this.btnAdd.Size     = new System.Drawing.Size(263, 29);
     this.btnAdd.TabIndex = 11;
     this.btnAdd.Text     = "Add Address";
     this.btnAdd.UseVisualStyleBackColor = true;
     this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
     //
     // Melsec_A
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1104, 520);
     this.Controls.Add(this.btnAdd);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.fpAdd);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.txtPort);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.lblServerStats);
     this.Controls.Add(this.btnOnOff);
     this.Controls.Add(this.fpView);
     this.Name         = "Melsec_A";
     this.Text         = "Q_Serise Server";
     this.Load        += new System.EventHandler(this.frmServer_Load);
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Q_TagPublish_FormClosing);
     ((System.ComponentModel.ISupportInitialize)(this.fpView)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.fpView_Sheet1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.fpAdd)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.fpAdd_Sheet1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
        /// <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.CheckBoxCellType checkBoxCellType2 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
            FarPoint.Win.Spread.CellType.ComboBoxCellType comboBoxCellType1 = new FarPoint.Win.Spread.CellType.ComboBoxCellType();
            FarPoint.Win.Spread.CellType.NumberCellType   numberCellType1   = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType   numberCellType2   = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType   numberCellType3   = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType3 = 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();
            FarPoint.Win.Spread.CellType.TextCellType     textCellType3     = new FarPoint.Win.Spread.CellType.TextCellType();
            this.neuSpread1        = new Neusoft.FrameWork.WinForms.Controls.NeuSpread();
            this.neuSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1_Sheet1)).BeginInit();
            this.SuspendLayout();
            //
            // neuSpread1
            //
            this.neuSpread1.About = "2.5.2007.2005";
            this.neuSpread1.AccessibleDescription = "neuSpread1, Sheet1";
            this.neuSpread1.BackColor             = System.Drawing.Color.White;
            this.neuSpread1.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.neuSpread1.FileName = "";
            this.neuSpread1.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.neuSpread1.IsAutoSaveGridStatus      = false;
            this.neuSpread1.IsCanCustomConfigColumn   = false;
            this.neuSpread1.Location = new System.Drawing.Point(0, 0);
            this.neuSpread1.Name     = "neuSpread1";
            this.neuSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
                this.neuSpread1_Sheet1
            });
            this.neuSpread1.Size                    = new System.Drawing.Size(686, 405);
            this.neuSpread1.Style                   = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuSpread1.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.neuSpread1.TextTipAppearance       = tipAppearance1;
            this.neuSpread1.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            //
            // neuSpread1_Sheet1
            //
            this.neuSpread1_Sheet1.Reset();
            this.neuSpread1_Sheet1.SheetName = "Sheet1";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.neuSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.neuSpread1_Sheet1.ColumnCount    = 11;
            this.neuSpread1_Sheet1.RowCount       = 0;
            this.neuSpread1_Sheet1.ActiveSkin     = new FarPoint.Win.Spread.SheetSkin("CustomSkin3", 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.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value  = "部门名称";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value  = "库存管理";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value  = "批号管理";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value  = "默认单位";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value  = "最高库存天数 ";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value  = "最低库存天数";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value  = "参考天数";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value  = "药柜管理";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value  = "入库单号";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value  = "出库单号";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "部门编码";
            this.neuSpread1_Sheet1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.White;
            this.neuSpread1_Sheet1.ColumnHeader.DefaultStyle.Locked    = false;
            this.neuSpread1_Sheet1.ColumnHeader.DefaultStyle.Parent    = "HeaderDefault";
            this.neuSpread1_Sheet1.Columns.Get(0).AllowAutoSort        = true;
            this.neuSpread1_Sheet1.Columns.Get(0).Label               = "部门名称";
            this.neuSpread1_Sheet1.Columns.Get(0).Locked              = true;
            this.neuSpread1_Sheet1.Columns.Get(0).SortIndicator       = FarPoint.Win.Spread.Model.SortIndicator.Ascending;
            this.neuSpread1_Sheet1.Columns.Get(0).VerticalAlignment   = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.neuSpread1_Sheet1.Columns.Get(0).Width               = 131F;
            this.neuSpread1_Sheet1.Columns.Get(1).CellType            = checkBoxCellType1;
            this.neuSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.neuSpread1_Sheet1.Columns.Get(1).Label               = "库存管理";
            this.neuSpread1_Sheet1.Columns.Get(1).VerticalAlignment   = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.neuSpread1_Sheet1.Columns.Get(1).Width               = 57F;
            this.neuSpread1_Sheet1.Columns.Get(2).CellType            = checkBoxCellType2;
            this.neuSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.neuSpread1_Sheet1.Columns.Get(2).Label               = "批号管理";
            this.neuSpread1_Sheet1.Columns.Get(2).VerticalAlignment   = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.neuSpread1_Sheet1.Columns.Get(2).Width               = 58F;
            comboBoxCellType1.ButtonAlign = FarPoint.Win.ButtonAlign.Right;
            comboBoxCellType1.Items       = new string[] {
                "包装单位",
                "最小单位"
            };
            this.neuSpread1_Sheet1.Columns.Get(3).CellType          = comboBoxCellType1;
            this.neuSpread1_Sheet1.Columns.Get(3).Label             = "默认单位";
            this.neuSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.neuSpread1_Sheet1.Columns.Get(3).Width             = 65F;
            numberCellType1.DecimalPlaces = 0;
            this.neuSpread1_Sheet1.Columns.Get(4).CellType            = numberCellType1;
            this.neuSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.neuSpread1_Sheet1.Columns.Get(4).Label             = "最高库存天数 ";
            this.neuSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.neuSpread1_Sheet1.Columns.Get(4).Width             = 86F;
            numberCellType2.DecimalPlaces = 0;
            this.neuSpread1_Sheet1.Columns.Get(5).CellType            = numberCellType2;
            this.neuSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.neuSpread1_Sheet1.Columns.Get(5).Label             = "最低库存天数";
            this.neuSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.neuSpread1_Sheet1.Columns.Get(5).Width             = 83F;
            numberCellType3.DecimalPlaces = 0;
            this.neuSpread1_Sheet1.Columns.Get(6).CellType          = numberCellType3;
            this.neuSpread1_Sheet1.Columns.Get(6).Label             = "参考天数";
            this.neuSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.neuSpread1_Sheet1.Columns.Get(7).CellType          = checkBoxCellType3;
            this.neuSpread1_Sheet1.Columns.Get(7).Label             = "药柜管理";
            this.neuSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.neuSpread1_Sheet1.Columns.Get(8).CellType          = textCellType1;
            this.neuSpread1_Sheet1.Columns.Get(8).Label             = "入库单号";
            this.neuSpread1_Sheet1.Columns.Get(8).Width             = 115F;
            this.neuSpread1_Sheet1.Columns.Get(9).CellType          = textCellType2;
            this.neuSpread1_Sheet1.Columns.Get(9).Label             = "出库单号";
            this.neuSpread1_Sheet1.Columns.Get(9).Width             = 115F;
            this.neuSpread1_Sheet1.Columns.Get(10).CellType         = textCellType3;
            this.neuSpread1_Sheet1.Columns.Get(10).Label            = "部门编码";
            this.neuSpread1_Sheet1.Columns.Get(10).Locked           = true;
            this.neuSpread1_Sheet1.OperationMode = FarPoint.Win.Spread.OperationMode.RowMode;
            this.neuSpread1_Sheet1.RowHeader.Columns.Default.Resizable    = false;
            this.neuSpread1_Sheet1.RowHeader.Columns.Get(0).AllowAutoSort = true;
            this.neuSpread1_Sheet1.RowHeader.Columns.Get(0).Width         = 37F;
            this.neuSpread1_Sheet1.RowHeader.DefaultStyle.BackColor       = System.Drawing.Color.White;
            this.neuSpread1_Sheet1.RowHeader.DefaultStyle.Locked          = false;
            this.neuSpread1_Sheet1.RowHeader.DefaultStyle.Parent          = "HeaderDefault";
            this.neuSpread1_Sheet1.SheetCornerStyle.BackColor             = System.Drawing.Color.White;
            this.neuSpread1_Sheet1.SheetCornerStyle.Locked = false;
            this.neuSpread1_Sheet1.SheetCornerStyle.Parent = "HeaderDefault";
            this.neuSpread1_Sheet1.ReferenceStyle          = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
            this.neuSpread1.SetActiveViewport(1, 0);
            //
            // ucDeptConstant
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.neuSpread1);
            this.Name = "ucDeptConstant";
            this.Size = new System.Drawing.Size(686, 405);
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1_Sheet1)).EndInit();
            this.ResumeLayout(false);
        }
        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。

        /// </summary>
        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources    = new System.ComponentModel.ComponentResourceManager(typeof(ucSubtblManager));
            FarPoint.Win.Spread.TipAppearance           tipAppearance1  = new FarPoint.Win.Spread.TipAppearance();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
            this.panelItem    = new Neusoft.FrameWork.WinForms.Controls.NeuPanel();
            this.txtUnit      = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
            this.txtQty       = new Neusoft.FrameWork.WinForms.Controls.NeuNumericUpDown();
            this.neuLabel2    = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.ucInputItem1 = new Neusoft.HISFC.Components.Common.Controls.ucInputItem();
            this.panelMain    = new Neusoft.FrameWork.WinForms.Controls.NeuPanel();
            this.Spread1      = new Neusoft.FrameWork.WinForms.Controls.NeuSpread();
            this.sheetView1   = new FarPoint.Win.Spread.SheetView();
            this.neuLabel1    = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.btnDelete    = new Neusoft.FrameWork.WinForms.Controls.NeuButton();
            this.btnSave      = new Neusoft.FrameWork.WinForms.Controls.NeuButton();
            this.panelItem.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtQty)).BeginInit();
            this.panelMain.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.Spread1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.sheetView1)).BeginInit();
            this.SuspendLayout();
            //
            // panelItem
            //
            this.panelItem.BackColor = System.Drawing.Color.White;
            this.panelItem.Controls.Add(this.txtUnit);
            this.panelItem.Controls.Add(this.txtQty);
            this.panelItem.Controls.Add(this.neuLabel2);
            this.panelItem.Controls.Add(this.ucInputItem1);
            this.panelItem.Dock     = System.Windows.Forms.DockStyle.Top;
            this.panelItem.Location = new System.Drawing.Point(0, 0);
            this.panelItem.Name     = "panelItem";
            this.panelItem.Size     = new System.Drawing.Size(565, 41);
            this.panelItem.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.panelItem.TabIndex = 0;
            //
            // txtUnit
            //
            this.txtUnit.Location = new System.Drawing.Point(438, 11);
            this.txtUnit.Name     = "txtUnit";
            this.txtUnit.ReadOnly = true;
            this.txtUnit.Size     = new System.Drawing.Size(46, 21);
            this.txtUnit.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.txtUnit.TabIndex = 3;
            //
            // txtQty
            //
            this.txtQty.Location = new System.Drawing.Point(373, 12);
            this.txtQty.Maximum  = new decimal(new int[] {
                1000,
                0,
                0,
                0
            });
            this.txtQty.Name     = "txtQty";
            this.txtQty.Size     = new System.Drawing.Size(59, 21);
            this.txtQty.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.txtQty.TabIndex = 2;
            this.txtQty.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtQty_KeyDown);
            //
            // neuLabel2
            //
            this.neuLabel2.AutoSize = true;
            this.neuLabel2.Location = new System.Drawing.Point(338, 16);
            this.neuLabel2.Name     = "neuLabel2";
            this.neuLabel2.Size     = new System.Drawing.Size(41, 12);
            this.neuLabel2.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuLabel2.TabIndex = 1;
            this.neuLabel2.Text     = "数量:";
            //
            // ucInputItem1
            //
            this.ucInputItem1.AlCatagory       = ((System.Collections.ArrayList)(resources.GetObject("ucInputItem1.AlCatagory")));
            this.ucInputItem1.FeeItem          = ((Neusoft.FrameWork.Models.NeuObject)(resources.GetObject("ucInputItem1.FeeItem")));
            this.ucInputItem1.InputType        = 0;
            this.ucInputItem1.IsListShowAlways = false;
            this.ucInputItem1.IsShowCategory   = true;
            this.ucInputItem1.IsShowInput      = true;
            this.ucInputItem1.IsShowSelfMark   = true;
            this.ucInputItem1.Location         = new System.Drawing.Point(1, 2);
            this.ucInputItem1.Name             = "ucInputItem1";
            this.ucInputItem1.ShowCategory     = Neusoft.HISFC.Components.Common.Controls.EnumCategoryType.ItemType;
            this.ucInputItem1.ShowItemType     = Neusoft.HISFC.Components.Common.Controls.EnumShowItemType.All;
            this.ucInputItem1.Size             = new System.Drawing.Size(332, 38);
            this.ucInputItem1.TabIndex         = 0;
            //
            // panelMain
            //
            this.panelMain.Controls.Add(this.Spread1);
            this.panelMain.Controls.Add(this.neuLabel1);
            this.panelMain.Controls.Add(this.btnDelete);
            this.panelMain.Controls.Add(this.btnSave);
            this.panelMain.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.panelMain.Location = new System.Drawing.Point(0, 41);
            this.panelMain.Name     = "panelMain";
            this.panelMain.Size     = new System.Drawing.Size(565, 330);
            this.panelMain.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.panelMain.TabIndex = 1;
            //
            // Spread1
            //
            this.Spread1.About = "2.5.2007.2005";
            this.Spread1.AccessibleDescription = "Spread1, Sheet1";
            this.Spread1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                         | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
            this.Spread1.BackColor = System.Drawing.Color.MintCream;
            this.Spread1.FileName  = "";
            this.Spread1.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.Spread1.IsAutoSaveGridStatus      = false;
            this.Spread1.IsCanCustomConfigColumn   = false;
            this.Spread1.Location = new System.Drawing.Point(1, 3);
            this.Spread1.Name     = "Spread1";
            this.Spread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
                this.sheetView1
            });
            this.Spread1.Size                    = new System.Drawing.Size(561, 288);
            this.Spread1.Style                   = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.Spread1.TabIndex                = 4;
            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.Spread1.TextTipAppearance       = tipAppearance1;
            this.Spread1.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            //
            // sheetView1
            //
            this.sheetView1.Reset();
            this.sheetView1.SheetName = "Sheet1";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.sheetView1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.sheetView1.ColumnCount    = 14;
            this.sheetView1.RowCount       = 0;
            this.sheetView1.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.sheetView1.ColumnHeader.Cells.Get(0, 0).Value  = "项目编码";
            this.sheetView1.ColumnHeader.Cells.Get(0, 1).Value  = "项目名称";
            this.sheetView1.ColumnHeader.Cells.Get(0, 2).Value  = "!";
            this.sheetView1.ColumnHeader.Cells.Get(0, 3).Value  = "价格";
            this.sheetView1.ColumnHeader.Cells.Get(0, 4).Value  = "数量";
            this.sheetView1.ColumnHeader.Cells.Get(0, 5).Value  = "单位";
            this.sheetView1.ColumnHeader.Cells.Get(0, 6).Value  = "频次";
            this.sheetView1.ColumnHeader.Cells.Get(0, 7).Value  = "开始时间";
            this.sheetView1.ColumnHeader.Cells.Get(0, 8).Value  = "停止时间";
            this.sheetView1.ColumnHeader.Cells.Get(0, 9).Value  = "备注";
            this.sheetView1.ColumnHeader.Cells.Get(0, 10).Value = "执行科室";
            this.sheetView1.ColumnHeader.Cells.Get(0, 11).Value = "扩展标志1";
            this.sheetView1.ColumnHeader.Cells.Get(0, 12).Value = "扩展标志2";
            this.sheetView1.ColumnHeader.Cells.Get(0, 13).Value = "扩展标志3";
            this.sheetView1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.White;
            this.sheetView1.ColumnHeader.DefaultStyle.Locked    = false;
            this.sheetView1.ColumnHeader.DefaultStyle.Parent    = "HeaderDefault";
            this.sheetView1.Columns.Get(0).Label                = "项目编码";
            this.sheetView1.Columns.Get(0).Visible              = false;
            this.sheetView1.Columns.Get(1).Label                = "项目名称";
            this.sheetView1.Columns.Get(1).Locked               = true;
            this.sheetView1.Columns.Get(1).Width                = 189F;
            this.sheetView1.Columns.Get(2).Label                = "!";
            this.sheetView1.Columns.Get(2).Visible              = false;
            this.sheetView1.Columns.Get(2).Width                = 13F;
            this.sheetView1.Columns.Get(3).CellType             = numberCellType1;
            this.sheetView1.Columns.Get(3).Label                = "价格";
            this.sheetView1.Columns.Get(3).Locked               = true;
            this.sheetView1.Columns.Get(3).Width                = 56F;
            this.sheetView1.Columns.Get(4).CellType             = numberCellType2;
            this.sheetView1.Columns.Get(4).Label                = "数量";
            this.sheetView1.Columns.Get(4).Width                = 51F;
            this.sheetView1.Columns.Get(5).Label                = "单位";
            this.sheetView1.Columns.Get(5).Width                = 40F;
            this.sheetView1.Columns.Get(6).Label                = "频次";
            this.sheetView1.Columns.Get(6).Width                = 40F;
            this.sheetView1.Columns.Get(7).Label                = "开始时间";
            this.sheetView1.Columns.Get(7).Width                = 110F;
            this.sheetView1.Columns.Get(8).Label                = "停止时间";
            this.sheetView1.Columns.Get(8).Width                = 103F;
            this.sheetView1.Columns.Get(9).Label                = "备注";
            this.sheetView1.Columns.Get(9).Width                = 135F;
            this.sheetView1.Columns.Get(10).Label               = "执行科室";
            this.sheetView1.Columns.Get(10).Width               = 75F;
            this.sheetView1.Columns.Get(11).Label               = "扩展标志1";
            this.sheetView1.Columns.Get(11).Visible             = false;
            this.sheetView1.Columns.Get(11).Width               = 88F;
            this.sheetView1.Columns.Get(12).Label               = "扩展标志2";
            this.sheetView1.Columns.Get(12).Visible             = false;
            this.sheetView1.Columns.Get(12).Width               = 73F;
            this.sheetView1.Columns.Get(13).Label               = "扩展标志3";
            this.sheetView1.Columns.Get(13).Visible             = false;
            this.sheetView1.Columns.Get(13).Width               = 77F;
            this.sheetView1.OperationMode                       = FarPoint.Win.Spread.OperationMode.ExtendedSelect;
            this.sheetView1.RowHeader.Columns.Default.Resizable = false;
            this.sheetView1.RowHeader.Columns.Get(0).Width      = 20F;
            this.sheetView1.RowHeader.DefaultStyle.BackColor    = System.Drawing.Color.White;
            this.sheetView1.RowHeader.DefaultStyle.Locked       = false;
            this.sheetView1.RowHeader.DefaultStyle.Parent       = "HeaderDefault";
            this.sheetView1.SelectionPolicy                     = FarPoint.Win.Spread.Model.SelectionPolicy.MultiRange;
            this.sheetView1.SelectionUnit                       = FarPoint.Win.Spread.Model.SelectionUnit.Row;
            this.sheetView1.SheetCornerStyle.BackColor          = System.Drawing.Color.White;
            this.sheetView1.SheetCornerStyle.Locked             = false;
            this.sheetView1.SheetCornerStyle.Parent             = "HeaderDefault";
            this.sheetView1.ReferenceStyle                      = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
            this.Spread1.SetActiveViewport(1, 0);
            //
            // neuLabel1
            //
            this.neuLabel1.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.neuLabel1.AutoSize = true;
            this.neuLabel1.Location = new System.Drawing.Point(184, 302);
            this.neuLabel1.Name     = "neuLabel1";
            this.neuLabel1.Size     = new System.Drawing.Size(113, 12);
            this.neuLabel1.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuLabel1.TabIndex = 2;
            this.neuLabel1.Text     = "可选择多条同时删除";
            //
            // btnDelete
            //
            this.btnDelete.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.btnDelete.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnDelete.Location   = new System.Drawing.Point(87, 297);
            this.btnDelete.Name       = "btnDelete";
            this.btnDelete.Size       = new System.Drawing.Size(75, 23);
            this.btnDelete.Style      = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.btnDelete.TabIndex   = 1;
            this.btnDelete.Text       = "删除(&D)";
            this.btnDelete.Type       = Neusoft.FrameWork.WinForms.Controls.General.ButtonType.None;
            this.btnDelete.UseVisualStyleBackColor = true;
            //
            // btnSave
            //
            this.btnSave.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.btnSave.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnSave.Location   = new System.Drawing.Point(6, 297);
            this.btnSave.Name       = "btnSave";
            this.btnSave.Size       = new System.Drawing.Size(75, 23);
            this.btnSave.Style      = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.btnSave.TabIndex   = 0;
            this.btnSave.Text       = "保存(&S)";
            this.btnSave.Type       = Neusoft.FrameWork.WinForms.Controls.General.ButtonType.None;
            this.btnSave.UseVisualStyleBackColor = true;
            //
            // ucSubtblManager
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.panelMain);
            this.Controls.Add(this.panelItem);
            this.Name = "ucSubtblManager";
            this.Size = new System.Drawing.Size(565, 371);
            this.panelItem.ResumeLayout(false);
            this.panelItem.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtQty)).EndInit();
            this.panelMain.ResumeLayout(false);
            this.panelMain.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.Spread1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.sheetView1)).EndInit();
            this.ResumeLayout(false);
        }
Ejemplo n.º 19
0
 /// <summary>
 /// �����������趨��Ԫ���ʽ
 /// </summary>
 /// <param name="obj_sheet"></param>
 /// <param name="row">��</param>
 /// <param name="col">��</param>
 /// <param name="Type">����1Ϊnumber��2ΪPrsent</param>
 /// <param name="DecimalPlaces"></param>
 public void SetSheetCellType(FarPoint.Win.Spread.SheetView obj_sheet, int row, int col, int Type, int DecimalPlaces)
 {
     FarPoint.Win.Spread.CellType.PercentCellType percelltype = new FarPoint.Win.Spread.CellType.PercentCellType();
     percelltype.DecimalPlaces = DecimalPlaces;
     FarPoint.Win.Spread.CellType.NumberCellType numcelltype = new FarPoint.Win.Spread.CellType.NumberCellType();
     numcelltype.DecimalPlaces = DecimalPlaces;
     if (Type == 1)
     {
         obj_sheet.Cells[row, col].CellType = numcelltype;
     }
     else if (Type == 2)
     {
         obj_sheet.Cells[row, col].CellType = percelltype;
     }
 }
Ejemplo n.º 20
0
        /// <summary>
        /// 打印函数
        /// </summary>
        /// <param name="al">打印数组</param>
        /// <param name="i">第几页</param>
        /// <param name="count">总页数</param>
        /// <param name="operCode">制单人</param>
        private void PrintStockplan(ArrayList al, int inow, int icount, string operCode)
        {
            if (al.Count <= 0)
            {
                MessageBox.Show("没有打印的数据!");
                return;
            }
            Neusoft.HISFC.BizLogic.Pharmacy.Constant    constant    = new Neusoft.HISFC.BizLogic.Pharmacy.Constant();
            Neusoft.HISFC.Models.Pharmacy.StockPlan     stockPlan   = (Neusoft.HISFC.Models.Pharmacy.StockPlan)al[0];
            Neusoft.HISFC.BizLogic.Manager.Constant     constantMgr = new Neusoft.HISFC.BizLogic.Manager.Constant();
            Neusoft.HISFC.BizLogic.Manager.Department   deptMgr     = new Neusoft.HISFC.BizLogic.Manager.Department();
            Neusoft.HISFC.BizProcess.Integrate.Pharmacy itemMgr     = new Neusoft.HISFC.BizProcess.Integrate.Pharmacy();

            string strHos   = constantMgr.GetHospitalName();
            string dosageID = string.Empty; //剂型


            if (stockPlan.State == "2")
            {
                this.lbl0.Text = strHos + "药品采购审批单";
            }
            else
            {
                this.lbl0.Text = strHos + "药品采购计划单";
                //label2.Visible = false;
            }

            #region label赋值

            if (this.IsReprint)
            {
                this.lbl0.Text = this.lbl0.Text + "(补打)";
            }

            //DateTime sysTime = this.itemMgr.GetDateTimeFromSysDateTime();
            //this.lb11.Text = "计划科室  " + inPlan.Dept+this.deptMgr.get + " 计划人  " + inPlan.PlanOper.ID;
            this.lb11.Text   = " 计划人:  " + stockPlan.Oper.Name;
            this.lb12.Text   = "计划日期:" + this.itemMgr.GetDateTimeFromSysDateTime().ToString("yyyy-MM-dd");
            this.label2.Text = "采购日期:" + stockPlan.StockOper.OperTime.ToString("yyyy-MM-dd");
            this.lb36.Text   = "第" + inow.ToString() + "页/共" + icount.ToString() + "页";
            this.label1.Text = "单据号:" + stockPlan.BillNO;
            this.label3.Text = "科室:" + deptMgr.GetDeptmentById(stockPlan.Dept.ID);

            #endregion

            #region farpoint赋值

            decimal sumNum5 = 0;
            decimal sumNum8 = 0;
            decimal sumNum9 = 0;
            this.sheetView1.RowCount = 0;

            #region {1EC17564-2FAD-4a77-97AC-4C57076888B2}
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
            numberCellType1.DecimalPlaces       = 4;
            this.sheetView1.Columns[6].CellType = numberCellType1;
            this.sheetView1.Columns[7].CellType = numberCellType1;
            this.sheetView1.Columns[8].CellType = numberCellType1;
            #endregion
            for (int i = 0; i < al.Count; i++)
            {
                this.sheetView1.AddRows(i, 1);
                Neusoft.HISFC.Models.Pharmacy.StockPlan info = al[i] as Neusoft.HISFC.Models.Pharmacy.StockPlan;


                this.sheetView1.Cells[i, 0].Text = info.Item.ID;    // info.Item.NameCollection.UserCode;//药品自定义码
                this.sheetView1.Cells[i, 1].Text = info.Item.Name;  //药品名称
                this.sheetView1.Cells[i, 2].Text = info.Item.Specs; //规格
                if (info.Item.PackQty == 0)
                {
                    info.Item.PackQty = 1;
                }

                decimal count = 0, count2 = 0, count3 = 0;
                count  = info.StockApproveQty / info.Item.PackQty;
                count2 = (info.StockApproveQty / info.Item.PackQty) * (info.Item.PriceCollection.PurchasePrice);
                count3 = (info.StockApproveQty / info.Item.PackQty) * (info.Item.PriceCollection.RetailPrice);
                this.sheetView1.Cells[i, 3].Text = info.Item.PackUnit;//单位

                // Neusoft.HISFC.BizProcess.Integrate.Pharmacy itemMgr = new Neusoft.HISFC.BizProcess.Integrate.Pharmacy();



                dosageID = ((Neusoft.HISFC.Models.Pharmacy.Item)itemMgr.GetItem(info.Item.ID)).DosageForm.ID;


                this.sheetView1.Cells[i, 4].Text = ((Neusoft.FrameWork.Models.NeuObject)constantMgr.GetConstant("DOSAGEFORM", dosageID)).Name; //info.Item.DosageForm.Name; //剂型
                this.sheetView1.Cells[i, 5].Text = (info.StockApproveQty / info.Item.PackQty).ToString();                                      //计划数量

                this.sheetView1.Cells[i, 6].Text = info.StockPrice.ToString();                                                                 //计划购入价      // info.Item.PackUnit;//
                this.sheetView1.Cells[i, 7].Text = info.Item.Price.ToString();                                                                 //参考零售价


                this.sheetView1.Cells[i, 8].Text = ((info.StockApproveQty / info.Item.PackQty) * (info.StockPrice)).ToString();                       //计划金额
                this.sheetView1.Cells[i, 9].Text = ((info.StockApproveQty / info.Item.PackQty) * (info.Item.PriceCollection.RetailPrice)).ToString(); //零售金额


                //if (info.Item.Product.Company.Name != "")
                //    this.sheetView1.Cells[i, 7].Text = info.Item.Product.Company.Name;         //供货公司;
                //else
                //    this.sheetView1.Cells[i, 7].Text = "未选择";

                if (info.Company.Name != "")
                {
                    this.sheetView1.Cells[i, 10].Text = info.Company.Name;         //供货公司;
                }
                else
                {
                    this.sheetView1.Cells[i, 10].Text = "未选择";
                }

                //if (info.Item.Product.Producer.Name != "")
                //    this.sheetView1.Cells[i, 8].Text = info.Item.Product.Producer.Name;        //生产厂家
                //else
                //    this.sheetView1.Cells[i, 8].Text = "未选择";

                sumNum5 = sumNum5 + count;
                sumNum8 = sumNum8 + count2;
                sumNum9 = sumNum9 + count3;
            }
            this.sheetView1.RowCount = al.Count + 1;
            this.sheetView1.Cells[al.Count, 0].Text = "合计";
            this.sheetView1.Cells[al.Count, 1].Text = "共" + al.Count + "行"; //行数;
            this.sheetView1.Cells[al.Count, 5].Text = sumNum5.ToString();   //购入数量合计
            this.sheetView1.Cells[al.Count, 8].Text = sumNum8.ToString();   //购入金额合计
            this.sheetView1.Cells[al.Count, 9].Text = sumNum9.ToString();   //零售金额合计

            //宽度
            //this.panel4.Width = this.Width - 3;
            this.fpSpread1.Width  = this.panel1.Width - 10;
            this.fpSpread1.Height = (int)this.sheetView1.RowHeader.Rows[0].Height +
                                    (int)(this.sheetView1.Rows[0].Height * (al.Count + 1)) + 10;

            #endregion

            #region 打印函数

            Neusoft.FrameWork.WinForms.Classes.Print p = new Neusoft.FrameWork.WinForms.Classes.Print();

            Neusoft.HISFC.Components.Common.Classes.Function.GetPageSize("PhaInplan", ref p);

            p.PrintPage(5, 0, this.panel1);

            #endregion
        }
Ejemplo n.º 21
0
        /// <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.CheckBoxCellType  checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
            FarPoint.Win.Spread.CellType.NumberCellType    numberCellType1   = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType    numberCellType2   = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType    numberCellType3   = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.DateTimeCellType  dateTimeCellType1 = new FarPoint.Win.Spread.CellType.DateTimeCellType();
            System.ComponentModel.ComponentResourceManager resources         = new System.ComponentModel.ComponentResourceManager(typeof(ucCompoundManager));
            FarPoint.Win.Spread.CellType.TextCellType      textCellType1     = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.TextCellType      textCellType2     = new FarPoint.Win.Spread.CellType.TextCellType();
            this.splitContainer1 = new System.Windows.Forms.SplitContainer();
            this.splitContainer2 = new System.Windows.Forms.SplitContainer();
            this.neuGroupBox1    = new Neusoft.FrameWork.WinForms.Controls.NeuGroupBox();
            this.dtMaxDate       = new Neusoft.FrameWork.WinForms.Controls.NeuDateTimePicker();
            this.neuLabel2       = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.neuLabel1       = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.cmbOrderGroup   = new Neusoft.FrameWork.WinForms.Controls.NeuComboBox(this.components);
            this.lbInfo          = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.fpApply         = new Neusoft.FrameWork.WinForms.Controls.NeuSpread();
            this.fpApply_Sheet1  = new FarPoint.Win.Spread.SheetView();
            this.splitContainer1.Panel2.SuspendLayout();
            this.splitContainer1.SuspendLayout();
            this.splitContainer2.Panel1.SuspendLayout();
            this.splitContainer2.Panel2.SuspendLayout();
            this.splitContainer2.SuspendLayout();
            this.neuGroupBox1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.fpApply)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpApply_Sheet1)).BeginInit();
            this.SuspendLayout();
            //
            // splitContainer1
            //
            this.splitContainer1.Dock            = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer1.FixedPanel      = System.Windows.Forms.FixedPanel.Panel1;
            this.splitContainer1.Location        = new System.Drawing.Point(0, 0);
            this.splitContainer1.Name            = "splitContainer1";
            this.splitContainer1.Panel1Collapsed = true;
            //
            // splitContainer1.Panel2
            //
            this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
            this.splitContainer1.Size             = new System.Drawing.Size(732, 474);
            this.splitContainer1.SplitterDistance = 177;
            this.splitContainer1.TabIndex         = 0;
            //
            // splitContainer2
            //
            this.splitContainer2.Dock        = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer2.FixedPanel  = System.Windows.Forms.FixedPanel.Panel1;
            this.splitContainer2.Location    = new System.Drawing.Point(0, 0);
            this.splitContainer2.Name        = "splitContainer2";
            this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
            //
            // splitContainer2.Panel1
            //
            this.splitContainer2.Panel1.Controls.Add(this.neuGroupBox1);
            //
            // splitContainer2.Panel2
            //
            this.splitContainer2.Panel2.Controls.Add(this.fpApply);
            this.splitContainer2.Size             = new System.Drawing.Size(732, 474);
            this.splitContainer2.SplitterDistance = 49;
            this.splitContainer2.TabIndex         = 0;
            //
            // neuGroupBox1
            //
            this.neuGroupBox1.BackColor = System.Drawing.Color.White;
            this.neuGroupBox1.Controls.Add(this.dtMaxDate);
            this.neuGroupBox1.Controls.Add(this.neuLabel2);
            this.neuGroupBox1.Controls.Add(this.neuLabel1);
            this.neuGroupBox1.Controls.Add(this.cmbOrderGroup);
            this.neuGroupBox1.Controls.Add(this.lbInfo);
            this.neuGroupBox1.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.neuGroupBox1.Location = new System.Drawing.Point(0, 0);
            this.neuGroupBox1.Name     = "neuGroupBox1";
            this.neuGroupBox1.Size     = new System.Drawing.Size(732, 49);
            this.neuGroupBox1.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuGroupBox1.TabIndex = 0;
            this.neuGroupBox1.TabStop  = false;
            //
            // dtMaxDate
            //
            this.dtMaxDate.CustomFormat = "yyyy-MM-dd HH:mm:ss";
            this.dtMaxDate.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
            this.dtMaxDate.Location     = new System.Drawing.Point(191, 16);
            this.dtMaxDate.Name         = "dtMaxDate";
            this.dtMaxDate.Size         = new System.Drawing.Size(140, 21);
            this.dtMaxDate.Style        = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.dtMaxDate.TabIndex     = 4;
            //
            // neuLabel2
            //
            this.neuLabel2.AutoSize  = true;
            this.neuLabel2.ForeColor = System.Drawing.Color.Blue;
            this.neuLabel2.Location  = new System.Drawing.Point(132, 21);
            this.neuLabel2.Name      = "neuLabel2";
            this.neuLabel2.Size      = new System.Drawing.Size(65, 12);
            this.neuLabel2.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuLabel2.TabIndex  = 3;
            this.neuLabel2.Text      = "截至时间:";
            //
            // neuLabel1
            //
            this.neuLabel1.AutoSize  = true;
            this.neuLabel1.ForeColor = System.Drawing.Color.Blue;
            this.neuLabel1.Location  = new System.Drawing.Point(5, 21);
            this.neuLabel1.Name      = "neuLabel1";
            this.neuLabel1.Size      = new System.Drawing.Size(53, 12);
            this.neuLabel1.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuLabel1.TabIndex  = 2;
            this.neuLabel1.Text      = "批  次:";
            //
            // cmbOrderGroup
            //
            this.cmbOrderGroup.ArrowBackColor    = System.Drawing.Color.Silver;
            this.cmbOrderGroup.FormattingEnabled = true;
            this.cmbOrderGroup.IsFlat            = true;
            this.cmbOrderGroup.IsLike            = true;
            this.cmbOrderGroup.Location          = new System.Drawing.Point(59, 17);
            this.cmbOrderGroup.Name             = "cmbOrderGroup";
            this.cmbOrderGroup.PopForm          = null;
            this.cmbOrderGroup.ShowCustomerList = false;
            this.cmbOrderGroup.ShowID           = false;
            this.cmbOrderGroup.Size             = new System.Drawing.Size(60, 20);
            this.cmbOrderGroup.Style            = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.cmbOrderGroup.TabIndex         = 1;
            this.cmbOrderGroup.Tag                   = "";
            this.cmbOrderGroup.ToolBarUse            = false;
            this.cmbOrderGroup.SelectedIndexChanged += new System.EventHandler(this.cmbOrderGroup_SelectedIndexChanged);
            //
            // lbInfo
            //
            this.lbInfo.AutoSize  = true;
            this.lbInfo.ForeColor = System.Drawing.Color.Blue;
            this.lbInfo.Location  = new System.Drawing.Point(347, 20);
            this.lbInfo.Name      = "lbInfo";
            this.lbInfo.Size      = new System.Drawing.Size(0, 12);
            this.lbInfo.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.lbInfo.TabIndex  = 0;
            //
            // fpApply
            //
            this.fpApply.About = "2.5.2007.2005";
            this.fpApply.AccessibleDescription = "fpApply, Sheet1";
            this.fpApply.BackColor             = System.Drawing.Color.White;
            this.fpApply.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.fpApply.FileName = "";
            this.fpApply.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.fpApply.IsAutoSaveGridStatus      = false;
            this.fpApply.IsCanCustomConfigColumn   = false;
            this.fpApply.Location = new System.Drawing.Point(0, 0);
            this.fpApply.Name     = "fpApply";
            this.fpApply.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
                this.fpApply_Sheet1
            });
            this.fpApply.Size                    = new System.Drawing.Size(732, 421);
            this.fpApply.Style                   = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.fpApply.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.fpApply.TextTipAppearance       = tipAppearance1;
            this.fpApply.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            //
            // fpApply_Sheet1
            //
            this.fpApply_Sheet1.Reset();
            this.fpApply_Sheet1.SheetName = "Sheet1";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.fpApply_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.fpApply_Sheet1.ColumnCount    = 15;
            this.fpApply_Sheet1.RowCount       = 0;
            this.fpApply_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.fpApply_Sheet1.ColumnHeader.Cells.Get(0, 0).Value  = "[床号]姓名";
            this.fpApply_Sheet1.ColumnHeader.Cells.Get(0, 1).Value  = "选中";
            this.fpApply_Sheet1.ColumnHeader.Cells.Get(0, 2).Value  = "药品[规格]";
            this.fpApply_Sheet1.ColumnHeader.Cells.Get(0, 3).Value  = "零售价";
            this.fpApply_Sheet1.ColumnHeader.Cells.Get(0, 4).Value  = "用量";
            this.fpApply_Sheet1.ColumnHeader.Cells.Get(0, 5).Value  = "单位";
            this.fpApply_Sheet1.ColumnHeader.Cells.Get(0, 6).Value  = "总量";
            this.fpApply_Sheet1.ColumnHeader.Cells.Get(0, 7).Value  = "单位";
            this.fpApply_Sheet1.ColumnHeader.Cells.Get(0, 8).Value  = "频次";
            this.fpApply_Sheet1.ColumnHeader.Cells.Get(0, 9).Value  = "用法";
            this.fpApply_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "用药时间";
            this.fpApply_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "医嘱类型";
            this.fpApply_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "开方医生";
            this.fpApply_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "申请时间";
            this.fpApply_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "批次号";
            this.fpApply_Sheet1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.White;
            this.fpApply_Sheet1.ColumnHeader.DefaultStyle.Locked    = false;
            this.fpApply_Sheet1.ColumnHeader.DefaultStyle.Parent    = "HeaderDefault";
            this.fpApply_Sheet1.Columns.Get(0).Label               = "[床号]姓名";
            this.fpApply_Sheet1.Columns.Get(0).MergePolicy         = FarPoint.Win.Spread.Model.MergePolicy.Always;
            this.fpApply_Sheet1.Columns.Get(0).Width               = 78F;
            this.fpApply_Sheet1.Columns.Get(1).BackColor           = System.Drawing.Color.SeaShell;
            this.fpApply_Sheet1.Columns.Get(1).CellType            = checkBoxCellType1;
            this.fpApply_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpApply_Sheet1.Columns.Get(1).Label               = "选中";
            this.fpApply_Sheet1.Columns.Get(1).Locked              = false;
            this.fpApply_Sheet1.Columns.Get(1).VerticalAlignment   = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpApply_Sheet1.Columns.Get(1).Width               = 38F;
            this.fpApply_Sheet1.Columns.Get(2).Label               = "药品[规格]";
            this.fpApply_Sheet1.Columns.Get(2).Width               = 140F;
            this.fpApply_Sheet1.Columns.Get(3).CellType            = numberCellType1;
            this.fpApply_Sheet1.Columns.Get(3).Label               = "零售价";
            this.fpApply_Sheet1.Columns.Get(4).CellType            = numberCellType2;
            this.fpApply_Sheet1.Columns.Get(4).Label               = "用量";
            this.fpApply_Sheet1.Columns.Get(5).Label               = "单位";
            this.fpApply_Sheet1.Columns.Get(5).Width               = 40F;
            this.fpApply_Sheet1.Columns.Get(6).CellType            = numberCellType3;
            this.fpApply_Sheet1.Columns.Get(6).Label               = "总量";
            this.fpApply_Sheet1.Columns.Get(7).Label               = "单位";
            this.fpApply_Sheet1.Columns.Get(7).Width               = 40F;
            this.fpApply_Sheet1.Columns.Get(8).Label               = "频次";
            this.fpApply_Sheet1.Columns.Get(8).Width               = 46F;
            this.fpApply_Sheet1.Columns.Get(9).Label               = "用法";
            this.fpApply_Sheet1.Columns.Get(9).Width               = 50F;
            dateTimeCellType1.Calendar                              = ((System.Globalization.Calendar)(resources.GetObject("dateTimeCellType1.Calendar")));
            dateTimeCellType1.DateDefault                           = new System.DateTime(2007, 8, 21, 10, 9, 47, 0);
            dateTimeCellType1.DateTimeFormat                        = FarPoint.Win.Spread.CellType.DateTimeFormat.ShortDateWithTime;
            dateTimeCellType1.TimeDefault                           = new System.DateTime(2007, 8, 21, 10, 9, 47, 0);
            this.fpApply_Sheet1.Columns.Get(10).CellType            = dateTimeCellType1;
            this.fpApply_Sheet1.Columns.Get(10).Label               = "用药时间";
            this.fpApply_Sheet1.Columns.Get(10).Width               = 113F;
            this.fpApply_Sheet1.Columns.Get(12).CellType            = textCellType1;
            this.fpApply_Sheet1.Columns.Get(12).Label               = "开方医生";
            this.fpApply_Sheet1.Columns.Get(12).Width               = 70F;
            this.fpApply_Sheet1.Columns.Get(13).Label               = "申请时间";
            this.fpApply_Sheet1.Columns.Get(13).Width               = 104F;
            this.fpApply_Sheet1.Columns.Get(14).CellType            = textCellType2;
            this.fpApply_Sheet1.Columns.Get(14).Label               = "批次号";
            this.fpApply_Sheet1.Columns.Get(14).Width               = 103F;
            this.fpApply_Sheet1.DefaultStyle.Locked                 = true;
            this.fpApply_Sheet1.DefaultStyle.Parent                 = "DataAreaDefault";
            this.fpApply_Sheet1.OperationMode                       = FarPoint.Win.Spread.OperationMode.RowMode;
            this.fpApply_Sheet1.RowHeader.Columns.Default.Resizable = false;
            this.fpApply_Sheet1.RowHeader.Columns.Get(0).Width      = 37F;
            this.fpApply_Sheet1.RowHeader.DefaultStyle.BackColor    = System.Drawing.Color.White;
            this.fpApply_Sheet1.RowHeader.DefaultStyle.Locked       = false;
            this.fpApply_Sheet1.RowHeader.DefaultStyle.Parent       = "HeaderDefault";
            this.fpApply_Sheet1.SheetCornerStyle.BackColor          = System.Drawing.Color.White;
            this.fpApply_Sheet1.SheetCornerStyle.Locked             = false;
            this.fpApply_Sheet1.SheetCornerStyle.Parent             = "HeaderDefault";
            this.fpApply_Sheet1.ReferenceStyle                      = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
            this.fpApply.SetActiveViewport(1, 0);
            //
            // ucCompoundManager
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.splitContainer1);
            this.Name = "ucCompoundManager";
            this.Size = new System.Drawing.Size(732, 474);
            this.splitContainer1.Panel2.ResumeLayout(false);
            this.splitContainer1.ResumeLayout(false);
            this.splitContainer2.Panel1.ResumeLayout(false);
            this.splitContainer2.Panel2.ResumeLayout(false);
            this.splitContainer2.ResumeLayout(false);
            this.neuGroupBox1.ResumeLayout(false);
            this.neuGroupBox1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.fpApply)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpApply_Sheet1)).EndInit();
            this.ResumeLayout(false);
        }
Ejemplo n.º 22
0
 /// <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.TextCellType   textCellType4   = new FarPoint.Win.Spread.CellType.TextCellType();
     FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
     this.panel1     = new System.Windows.Forms.Panel();
     this.label6     = new System.Windows.Forms.Label();
     this.label5     = new System.Windows.Forms.Label();
     this.label4     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.label3     = new System.Windows.Forms.Label();
     this.label1     = new System.Windows.Forms.Label();
     this.lbl0       = new System.Windows.Forms.Label();
     this.lb11       = new System.Windows.Forms.Label();
     this.lb36       = new System.Windows.Forms.Label();
     this.lb12       = new System.Windows.Forms.Label();
     this.fpSpread1  = new FarPoint.Win.Spread.FpSpread();
     this.sheetView1 = new FarPoint.Win.Spread.SheetView();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.sheetView1)).BeginInit();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.lbl0);
     this.panel1.Controls.Add(this.lb11);
     this.panel1.Controls.Add(this.lb36);
     this.panel1.Controls.Add(this.lb12);
     this.panel1.Controls.Add(this.fpSpread1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(879, 416);
     this.panel1.TabIndex = 0;
     //
     // label6
     //
     this.label6.Font     = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label6.Location = new System.Drawing.Point(508, 45);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(169, 23);
     this.label6.TabIndex = 60;
     this.label6.Text     = "负责人";
     //
     // label5
     //
     this.label5.Font     = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label5.Location = new System.Drawing.Point(207, 45);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(140, 23);
     this.label5.TabIndex = 59;
     this.label5.Text     = "院长";
     //
     // label4
     //
     this.label4.Font     = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label4.Location = new System.Drawing.Point(359, 45);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(169, 23);
     this.label4.TabIndex = 58;
     this.label4.Text     = "采购员";
     //
     // label2
     //
     this.label2.Font     = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label2.Location = new System.Drawing.Point(508, 72);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(190, 14);
     this.label2.TabIndex = 57;
     this.label2.Text     = "采购日期";
     //
     // label3
     //
     this.label3.Font     = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label3.Location = new System.Drawing.Point(4, 72);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(109, 14);
     this.label3.TabIndex = 56;
     this.label3.Text     = "科室";
     //
     // label1
     //
     this.label1.Font     = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label1.Location = new System.Drawing.Point(3, 45);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(211, 23);
     this.label1.TabIndex = 55;
     this.label1.Text     = "单据号";
     //
     // lbl0
     //
     this.lbl0.Font     = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lbl0.Location = new System.Drawing.Point(280, 9);
     this.lbl0.Name     = "lbl0";
     this.lbl0.Size     = new System.Drawing.Size(240, 23);
     this.lbl0.TabIndex = 54;
     this.lbl0.Text     = "药品采购计划单";
     //
     // lb11
     //
     this.lb11.Font     = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lb11.Location = new System.Drawing.Point(691, 72);
     this.lb11.Name     = "lb11";
     this.lb11.Size     = new System.Drawing.Size(141, 14);
     this.lb11.TabIndex = 0;
     this.lb11.Text     = "计划人";
     this.lb11.Visible  = false;
     this.lb11.Click   += new System.EventHandler(this.lb11_Click);
     //
     // lb36
     //
     this.lb36.Font     = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lb36.Location = new System.Drawing.Point(677, 45);
     this.lb36.Name     = "lb36";
     this.lb36.Size     = new System.Drawing.Size(112, 13);
     this.lb36.TabIndex = 53;
     this.lb36.Text     = "页数";
     //
     // lb12
     //
     this.lb12.Font     = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lb12.Location = new System.Drawing.Point(207, 72);
     this.lb12.Name     = "lb12";
     this.lb12.Size     = new System.Drawing.Size(190, 14);
     this.lb12.TabIndex = 1;
     this.lb12.Text     = "计划日期";
     //
     // fpSpread1
     //
     this.fpSpread1.About = "3.0.2004.2005";
     this.fpSpread1.AccessibleDescription = "fpSpread1, Sheet1, Row 0, Column 0, ";
     this.fpSpread1.BackColor             = System.Drawing.Color.Transparent;
     this.fpSpread1.BorderStyle           = System.Windows.Forms.BorderStyle.FixedSingle;
     this.fpSpread1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.fpSpread1.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.Never;
     this.fpSpread1.Location    = new System.Drawing.Point(4, 91);
     this.fpSpread1.Name        = "fpSpread1";
     this.fpSpread1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
         this.sheetView1
     });
     this.fpSpread1.Size                    = new System.Drawing.Size(799, 191);
     this.fpSpread1.TabIndex                = 49;
     this.fpSpread1.TabStripPolicy          = FarPoint.Win.Spread.TabStripPolicy.Never;
     this.fpSpread1.TabStripRatio           = 0.001;//{1EC17564-2FAD-4a77-97AC-4C57076888B2}
     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.Never;
     //
     // sheetView1
     //
     this.sheetView1.Reset();
     this.sheetView1.SheetName = "Sheet1";
     // Formulas and custom names must be loaded with R1C1 reference style
     this.sheetView1.ReferenceStyle        = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
     this.sheetView1.ColumnCount           = 11;
     this.sheetView1.RowCount              = 0;
     this.sheetView1.RowHeader.ColumnCount = 0;
     this.sheetView1.ActiveSkin            = new FarPoint.Win.Spread.SheetSkin("CustomSkin1", System.Drawing.Color.White, System.Drawing.Color.Empty, System.Drawing.Color.Empty, System.Drawing.SystemColors.WindowText, 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, true, false, true, true, true);
     this.sheetView1.ColumnHeader.Cells.Get(0, 0).Value = "药品码";
     this.sheetView1.ColumnHeader.Cells.Get(0, 1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.sheetView1.ColumnHeader.Cells.Get(0, 1).Value = "药品名称";
     this.sheetView1.ColumnHeader.Cells.Get(0, 2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.sheetView1.ColumnHeader.Cells.Get(0, 2).Value = "规格";
     this.sheetView1.ColumnHeader.Cells.Get(0, 3).Value = "单位";
     this.sheetView1.ColumnHeader.Cells.Get(0, 4).Value = "剂型";
     this.sheetView1.ColumnHeader.Cells.Get(0, 5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.sheetView1.ColumnHeader.Cells.Get(0, 5).Value = "购进数量";
     this.sheetView1.ColumnHeader.Cells.Get(0, 6).Value = "购入单价";
     this.sheetView1.ColumnHeader.Cells.Get(0, 7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.sheetView1.ColumnHeader.Cells.Get(0, 7).Value = "零售价";
     this.sheetView1.ColumnHeader.Cells.Get(0, 8).Value = "购进金额";
     this.sheetView1.ColumnHeader.Cells.Get(0, 9).Value = "零售金额";
     this.sheetView1.ColumnHeader.Cells.Get(0, 10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.sheetView1.ColumnHeader.Cells.Get(0, 10).Value = "供货公司";
     this.sheetView1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.White;
     this.sheetView1.ColumnHeader.DefaultStyle.Font      = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold);
     this.sheetView1.ColumnHeader.DefaultStyle.Locked    = false;
     this.sheetView1.ColumnHeader.DefaultStyle.Parent    = "HeaderDefault";
     this.sheetView1.ColumnHeader.Rows.Get(0).Height     = 26F;
     this.sheetView1.Columns.Get(0).CellType             = textCellType1;
     this.sheetView1.Columns.Get(0).HorizontalAlignment  = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
     this.sheetView1.Columns.Get(0).Label                = "药品码";
     this.sheetView1.Columns.Get(0).Width                = 45F;
     this.sheetView1.Columns.Get(1).BackColor            = System.Drawing.Color.White;
     this.sheetView1.Columns.Get(1).CellType             = textCellType2;
     this.sheetView1.Columns.Get(1).ForeColor            = System.Drawing.Color.Black;
     this.sheetView1.Columns.Get(1).HorizontalAlignment  = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
     this.sheetView1.Columns.Get(1).Label                = "药品名称";
     this.sheetView1.Columns.Get(1).VerticalAlignment    = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.sheetView1.Columns.Get(1).Width                = 160F;
     this.sheetView1.Columns.Get(2).CellType             = textCellType3;
     this.sheetView1.Columns.Get(2).ForeColor            = System.Drawing.Color.Black;
     this.sheetView1.Columns.Get(2).HorizontalAlignment  = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
     this.sheetView1.Columns.Get(2).Label                = "规格";
     this.sheetView1.Columns.Get(2).VerticalAlignment    = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.sheetView1.Columns.Get(2).Width                = 68F;
     this.sheetView1.Columns.Get(5).CellType             = textCellType4;
     this.sheetView1.Columns.Get(5).ForeColor            = System.Drawing.Color.Black;
     this.sheetView1.Columns.Get(5).HorizontalAlignment  = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
     this.sheetView1.Columns.Get(5).Label                = "购进数量";
     this.sheetView1.Columns.Get(5).Width                = 63F;
     this.sheetView1.Columns.Get(7).CellType             = numberCellType1;
     this.sheetView1.Columns.Get(7).ForeColor            = System.Drawing.Color.Black;
     this.sheetView1.Columns.Get(7).HorizontalAlignment  = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
     this.sheetView1.Columns.Get(7).Label                = "零售价";
     this.sheetView1.Columns.Get(7).VerticalAlignment    = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.sheetView1.Columns.Get(7).Width                = 59F;
     this.sheetView1.Columns.Get(8).Label                = "购进金额";
     this.sheetView1.Columns.Get(8).Width                = 62F;
     this.sheetView1.Columns.Get(10).ForeColor           = System.Drawing.Color.Black;
     this.sheetView1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
     this.sheetView1.Columns.Get(10).Label               = "供货公司";
     this.sheetView1.Columns.Get(10).Width               = 110F;
     this.sheetView1.RowHeader.Columns.Default.Resizable = false;
     this.sheetView1.RowHeader.DefaultStyle.BackColor    = System.Drawing.Color.White;
     this.sheetView1.RowHeader.DefaultStyle.Font         = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold);
     this.sheetView1.RowHeader.DefaultStyle.Locked       = false;
     this.sheetView1.RowHeader.DefaultStyle.Parent       = "HeaderDefault";
     this.sheetView1.SheetCornerStyle.BackColor          = System.Drawing.Color.White;
     this.sheetView1.SheetCornerStyle.Locked             = false;
     this.sheetView1.SheetCornerStyle.Parent             = "HeaderDefault";
     this.sheetView1.VisualStyles   = FarPoint.Win.VisualStyles.Off;
     this.sheetView1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
     this.fpSpread1.SetActiveViewport(0, 1, 0);
     //
     // ucPhaStockplanBill
     //
     this.BackColor = System.Drawing.Color.White;
     this.Controls.Add(this.panel1);
     this.Name = "ucPhaStockplanBill";
     this.Size = new System.Drawing.Size(879, 416);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.sheetView1)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 23
0
        public static void ExportExcel(GridControl gridControl)
        {
            //try
            //{
            SaveFileDialog saveFileDialog1 = new SaveFileDialog();
            string         fname           = "";

            saveFileDialog1.Filter = "Microsoft Excel (*.xls)|*.xls";
            if (saveFileDialog1.ShowDialog() == DialogResult.OK)
            {
                fname = saveFileDialog1.FileName;

                //File.SetAttributes(fname, File.GetAttributes(fname) | FileAttributes.ReadOnly);

                ////Create   the   file.
                //using (FileStream fs = new FileStream(fname, FileMode.OpenOrCreate, FileAccess.Read))
                //{
                //    if (!fs.CanWrite)
                //    {
                //        MsgBox.Show("文件不能被创建,请检查文件是否被打开");
                //        return;
                //    }
                //}
                //  try
                //{
                //      File.Move(fname,fname+"1");
                //}
                //catch
                //{
                //    MsgBox.Show("无法保存"+fname+"。请用其他文件名保存文件,或将文件存至其他位置。");
                //    return;
                //}
                //finally
                //{
                //    File.Move(fname + "1",fname);
                //}



                try
                {
                    gridControl.ExportToExcelOld(fname);

                    FarPoint.Win.Spread.FpSpread fps = new FarPoint.Win.Spread.FpSpread();
                    fps.OpenExcel(fname);
                    SheetView sv = fps.Sheets[0];
                    for (int j = 0; j < sv.NonEmptyRowCount; j++)
                    {
                        for (int k = 0; k < sv.NonEmptyColumnCount; k++)
                        {
                            FarPoint.Win.Spread.CellType.NumberCellType temptype = new FarPoint.Win.Spread.CellType.NumberCellType();
                            sv.Cells[j, k].CellType = temptype;
                        }
                    }
                    fps.SaveExcel(fname);
                    // 定义要使用的Excel 组件接口
                    // 定义Application 对象,此对象表示整个Excel 程序
                    Microsoft.Office.Interop.Excel.Application excelApp = null;
                    // 定义Workbook对象,此对象代表工作薄
                    Microsoft.Office.Interop.Excel.Workbook workBook;
                    // 定义Worksheet 对象,此对象表示Execel 中的一张工作表
                    Microsoft.Office.Interop.Excel.Worksheet ws    = null;
                    Microsoft.Office.Interop.Excel.Range     range = null;
                    excelApp = new Microsoft.Office.Interop.Excel.Application();

                    workBook = excelApp.Workbooks.Open(fname, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value);
                    for (int i = 1; i <= workBook.Worksheets.Count; i++)
                    {
                        ws = (Microsoft.Office.Interop.Excel.Worksheet)workBook.Worksheets[i];
                        //取消保护工作表
                        ws.Unprotect(Missing.Value);
                        //有数据的行数
                        int row = ws.UsedRange.Rows.Count;
                        //有数据的列数
                        int col = ws.UsedRange.Columns.Count;
                        //创建一个区域
                        range = ws.get_Range(ws.Cells[1, 1], ws.Cells[row, col]);
                        //设区域内的单元格自动换行
                        range.Select();
                        range.NumberFormatLocal = "G/通用格式";

                        //保护工作表
                        ws.Protect(Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value);
                    }
                    //保存工作簿
                    workBook.Save();
                    //关闭工作簿
                    excelApp.Workbooks.Close();



                    if (MsgBox.ShowYesNo("导出成功,是否打开该文档?") != DialogResult.Yes)
                    {
                        return;
                    }

                    System.Diagnostics.Process.Start(fname);
                }
                catch
                {
                    MsgBox.Show("无法保存" + fname + "。请用其他文件名保存文件,或将文件存至其他位置。");
                    return;
                }
            }


            //return true;
            //}
            //catch { }
        }
Ejemplo n.º 24
0
        private void fpSpread1_ChildViewCreated(object sender, FarPoint.Win.Spread.ChildViewCreatedEventArgs e)
        {
            e.SheetView.DataAutoCellTypes          = false;
            e.SheetView.SheetCornerStyle.BackColor = System.Drawing.Color.White;
            e.SheetView.DefaultStyle.BackColor     = System.Drawing.Color.White;
            e.SheetView.OperationMode       = FarPoint.Win.Spread.OperationMode.SingleSelect;
            e.SheetView.DataAutoSizeColumns = false;

            if (e.SheetView.Columns.Count > 7)
            {
                FarPoint.Win.Spread.CellType.NumberCellType numCell = new FarPoint.Win.Spread.CellType.NumberCellType();
                numCell.DecimalPlaces           = 4;
                e.SheetView.Columns[7].CellType = numCell;
            }

            if (this.cmbQueryType.SelectedValue != null && this.cmbQueryType.SelectedValue.ToString() == "D")
            {
                e.SheetView.Columns[0].Visible = false;
                e.SheetView.Columns[0].Width   = 50F;   //药品编码
                e.SheetView.Columns[1].Visible = true;
                e.SheetView.Columns[1].Width   = 60F;   //姓名
                e.SheetView.Columns[2].Width   = 35F;   //性别
                e.SheetView.Columns[3].Width   = 35F;   //年龄
                e.SheetView.Columns[4].Width   = 70F;   //病历号
                e.SheetView.Columns[5].Width   = 80F;   //发票号
                e.SheetView.Columns[6].Width   = 60F;   //配药数量
                e.SheetView.Columns[7].Width   = 50F;   //配药人
                e.SheetView.Columns[8].Width   = 120F;  //配药时间
                e.SheetView.Columns[9].Width   = 60F;   //发药数量
                e.SheetView.Columns[10].Width  = 50F;   //发药人
                e.SheetView.Columns[11].Width  = 120F;  //发药时间
                e.SheetView.Columns[12].Width  = 60F;   //开方医生

                e.SheetView.Columns[13].Visible = false;

                for (int i = 0; i < e.SheetView.Rows.Count; i++)
                {
                    if (e.SheetView.Cells[i, 13].Text == "0")
                    {
                        e.SheetView.Rows[i].ForeColor = System.Drawing.Color.Red;
                    }
                }
            }
            else
            {
                #region 普通格式化
                e.SheetView.Columns[0].Visible = false;                 //处方号
                e.SheetView.Columns[1].Visible = false;                 //有效性代码
                e.SheetView.Columns[2].Width   = 184F;                  //名称[规格]
                e.SheetView.Columns[3].Width   = 80F;                   //每次量 单位
                e.SheetView.Columns[4].Width   = 60F;                   //用法
                e.SheetView.Columns[5].Width   = 60F;                   //频次
                e.SheetView.Columns[6].Width   = 80F;                   //总量 单位
                e.SheetView.Columns[7].Width   = 70F;                   //零售价
                e.SheetView.Columns[8].Width   = 100F;                  //有效性

                for (int i = 0; i < e.SheetView.Rows.Count; i++)
                {
                    if (e.SheetView.Cells[i, 1].Text == "0")
                    {
                        e.SheetView.Rows[i].ForeColor = System.Drawing.Color.Red;
                    }
                }

                #region 增加合计
                try
                {
                    int iIndex = e.SheetView.Rows.Count;
                    e.SheetView.Rows.Add(iIndex, 1);
                    e.SheetView.Cells[iIndex, 0].Text    = e.SheetView.Cells[0, 0].Text;
                    e.SheetView.Cells[iIndex, 2].Text    = "合计";
                    e.SheetView.Cells[iIndex, 8].Formula = "SUM(I1:I" + iIndex.ToString() + ")";
                }
                catch { }
                #endregion

                #endregion
            }
        }
Ejemplo n.º 25
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     FarPoint.Win.LineBorder lineBorder121 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.Spread.CellType.NumberCellType numberCellType15 = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.LineBorder lineBorder122 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder123 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder124 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder125 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder126 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder127 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder128 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
     FarPoint.Win.LineBorder lineBorder129 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.Spread.CellType.NumberCellType numberCellType16 = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.LineBorder lineBorder130 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder131 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder132 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder133 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder134 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder135 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder136 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType();
     FarPoint.Win.LineBorder lineBorder137 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.Spread.CellType.NumberCellType numberCellType17 = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.LineBorder lineBorder138 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder139 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder140 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder141 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder142 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder143 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder144 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.Spread.CellType.ButtonCellType    buttonCellType5 = new FarPoint.Win.Spread.CellType.ButtonCellType();
     System.ComponentModel.ComponentResourceManager resources       = new System.ComponentModel.ComponentResourceManager(typeof(ucDiagnose));
     FarPoint.Win.LineBorder lineBorder145 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.Spread.CellType.NumberCellType numberCellType18 = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.LineBorder lineBorder146 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder147 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder148 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder149 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder150 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder151 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder152 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder153 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.Spread.CellType.NumberCellType numberCellType19 = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.LineBorder lineBorder154 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder155 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder156 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder157 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder158 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder159 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder160 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder161 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.Spread.CellType.NumberCellType numberCellType20 = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.LineBorder lineBorder162 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder163 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder164 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder165 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder166 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder167 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder168 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder169 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.Spread.CellType.NumberCellType numberCellType21 = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.LineBorder lineBorder170 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder171 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder172 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder173 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder174 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder175 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder176 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder177 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.Spread.CellType.NumberCellType numberCellType22 = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.LineBorder lineBorder178 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder179 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder180 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder181 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder182 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder183 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder184 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder185 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.Spread.CellType.NumberCellType numberCellType23 = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.LineBorder lineBorder186 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder187 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder188 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder189 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder190 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder191 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder192 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder193 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.Spread.CellType.NumberCellType numberCellType24 = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.LineBorder lineBorder194 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder195 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder196 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder197 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder198 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder199 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder200 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder201 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.Spread.CellType.NumberCellType numberCellType25 = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.LineBorder lineBorder202 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder203 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder204 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder205 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder206 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder207 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder208 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder209 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.Spread.CellType.NumberCellType numberCellType26 = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.LineBorder lineBorder210 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder211 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder212 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder213 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder214 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder215 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder216 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.Spread.CellType.ButtonCellType buttonCellType6 = new FarPoint.Win.Spread.CellType.ButtonCellType();
     FarPoint.Win.LineBorder lineBorder217 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.Spread.CellType.NumberCellType numberCellType27 = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.LineBorder lineBorder218 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder219 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder220 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder221 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder222 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder223 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder224 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.Spread.CellType.ButtonCellType buttonCellType7 = new FarPoint.Win.Spread.CellType.ButtonCellType();
     FarPoint.Win.LineBorder lineBorder225 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.Spread.CellType.NumberCellType numberCellType28 = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.LineBorder lineBorder226 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder227 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder228 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder229 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.LineBorder lineBorder230 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType();
     FarPoint.Win.LineBorder lineBorder231 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType();
     FarPoint.Win.LineBorder lineBorder232 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.Spread.CellType.ButtonCellType buttonCellType8 = new FarPoint.Win.Spread.CellType.ButtonCellType();
     FarPoint.Win.LineBorder lineBorder233 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, false, false);
     FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType();
     FarPoint.Win.LineBorder lineBorder234 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, true, true, false);
     FarPoint.Win.LineBorder lineBorder235 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, true, true, false);
     FarPoint.Win.LineBorder lineBorder236 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, true, true, false);
     FarPoint.Win.LineBorder lineBorder237 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, true, true, false);
     FarPoint.Win.LineBorder lineBorder238 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, true, true, false);
     FarPoint.Win.LineBorder lineBorder239 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, true, true, false);
     FarPoint.Win.LineBorder lineBorder240 = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, true, true, false);
     FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType();
     this.neuSpreadDiagnose        = new NineVigor.FrameWork.WinForms.Controls.NineSpread();
     this.neuSpreadDiagnose_Sheet1 = new FarPoint.Win.Spread.SheetView();
     ((System.ComponentModel.ISupportInitialize)(this.neuSpreadDiagnose)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.neuSpreadDiagnose_Sheet1)).BeginInit();
     this.SuspendLayout();
     //
     // neuSpreadDiagnose
     //
     this.neuSpreadDiagnose.AccessibleDescription = "neuSpreadDiagnose, Sheet1, Row 0, Column 0, ";
     this.neuSpreadDiagnose.BackColor             = System.Drawing.Color.White;
     this.neuSpreadDiagnose.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.neuSpreadDiagnose.FileName = "";
     this.neuSpreadDiagnose.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
     this.neuSpreadDiagnose.IsAutoSaveGridStatus      = false;
     this.neuSpreadDiagnose.IsCanCustomConfigColumn   = false;
     this.neuSpreadDiagnose.IsShowExport    = true;
     this.neuSpreadDiagnose.IsShowMenuStrip = true;
     this.neuSpreadDiagnose.Location        = new System.Drawing.Point(0, 0);
     this.neuSpreadDiagnose.Name            = "neuSpreadDiagnose";
     this.neuSpreadDiagnose.RightToLeft     = System.Windows.Forms.RightToLeft.No;
     this.neuSpreadDiagnose.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
         this.neuSpreadDiagnose_Sheet1
     });
     this.neuSpreadDiagnose.Size     = new System.Drawing.Size(983, 456);
     this.neuSpreadDiagnose.Style    = NineVigor.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.neuSpreadDiagnose.TabIndex = 0;
     this.neuSpreadDiagnose.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
     this.neuSpreadDiagnose.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.neuSpreadDiagnose_KeyDown);
     this.neuSpreadDiagnose.TextChanged += new System.EventHandler(this.neuSpreadDiagnose_TextChanged);
     this.neuSpreadDiagnose.LeaveCell   += new FarPoint.Win.Spread.LeaveCellEventHandler(this.neuSpreadDiagnose_LeaveCell);
     this.neuSpreadDiagnose.EditModeOff += new System.EventHandler(this.neuSpreadDiagnose_EditModeOff);
     this.neuSpreadDiagnose.EditModeOn  += new System.EventHandler(this.neuSpreadDiagnose_EditModeOn);
     this.neuSpreadDiagnose.EnterCell   += new FarPoint.Win.Spread.EnterCellEventHandler(this.neuSpreadDiagnose_EnterCell);
     //
     // neuSpreadDiagnose_Sheet1
     //
     this.neuSpreadDiagnose_Sheet1.Reset();
     neuSpreadDiagnose_Sheet1.SheetName = "Sheet1";
     // Formulas and custom names must be loaded with R1C1 reference style
     this.neuSpreadDiagnose_Sheet1.ReferenceStyle           = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
     neuSpreadDiagnose_Sheet1.ColumnCount                   = 10;
     neuSpreadDiagnose_Sheet1.RowCount                      = 14;
     neuSpreadDiagnose_Sheet1.RowHeader.ColumnCount         = 0;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(0, 1).Border   = lineBorder121;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(0, 1).Value    = "门(急)诊诊断";
     this.neuSpreadDiagnose_Sheet1.Cells.Get(0, 2).CellType = numberCellType15;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(0, 3).Border   = lineBorder122;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(0, 4).Border   = lineBorder123;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(0, 5).Border   = lineBorder124;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(0, 6).Border   = lineBorder125;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(0, 7).Border   = lineBorder126;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(0, 8).Border   = lineBorder127;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(0, 9).Border   = lineBorder128;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(0, 9).CellType = textCellType7;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(1, 1).Border   = lineBorder129;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(1, 2).CellType = numberCellType16;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(1, 3).Border   = lineBorder130;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(1, 4).Border   = lineBorder131;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(1, 5).Border   = lineBorder132;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(1, 6).Border   = lineBorder133;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(1, 7).Border   = lineBorder134;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(1, 8).Border   = lineBorder135;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(1, 9).Border   = lineBorder136;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(1, 9).CellType = textCellType8;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(2, 1).Border   = lineBorder137;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(2, 2).CellType = numberCellType17;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(2, 3).Border   = lineBorder138;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(2, 4).Border   = lineBorder139;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(2, 5).Border   = lineBorder140;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(2, 6).Border   = lineBorder141;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(2, 7).Border   = lineBorder142;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(2, 8).Border   = lineBorder143;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(2, 9).Border   = lineBorder144;
     buttonCellType5.ButtonColor2 = System.Drawing.SystemColors.ButtonFace;
     buttonCellType5.Picture      = ((System.Drawing.Image)(resources.GetObject("buttonCellType5.Picture")));
     this.neuSpreadDiagnose_Sheet1.Cells.Get(2, 9).CellType  = buttonCellType5;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(3, 1).Border    = lineBorder145;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(3, 1).Value     = "主要诊断";
     this.neuSpreadDiagnose_Sheet1.Cells.Get(3, 2).CellType  = numberCellType18;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(3, 3).Border    = lineBorder146;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(3, 4).Border    = lineBorder147;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(3, 5).Border    = lineBorder148;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(3, 6).Border    = lineBorder149;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(3, 7).Border    = lineBorder150;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(3, 8).Border    = lineBorder151;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(3, 9).Border    = lineBorder152;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(4, 1).Border    = lineBorder153;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(4, 1).Value     = "其他诊断";
     this.neuSpreadDiagnose_Sheet1.Cells.Get(4, 2).CellType  = numberCellType19;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(4, 3).Border    = lineBorder154;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(4, 4).Border    = lineBorder155;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(4, 5).Border    = lineBorder156;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(4, 6).Border    = lineBorder157;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(4, 7).Border    = lineBorder158;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(4, 8).Border    = lineBorder159;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(4, 9).Border    = lineBorder160;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(5, 1).Border    = lineBorder161;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(5, 2).CellType  = numberCellType20;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(5, 3).Border    = lineBorder162;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(5, 4).Border    = lineBorder163;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(5, 5).Border    = lineBorder164;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(5, 6).Border    = lineBorder165;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(5, 7).Border    = lineBorder166;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(5, 8).Border    = lineBorder167;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(5, 9).Border    = lineBorder168;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(6, 1).Border    = lineBorder169;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(6, 2).CellType  = numberCellType21;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(6, 3).Border    = lineBorder170;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(6, 4).Border    = lineBorder171;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(6, 5).Border    = lineBorder172;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(6, 6).Border    = lineBorder173;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(6, 7).Border    = lineBorder174;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(6, 8).Border    = lineBorder175;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(6, 9).Border    = lineBorder176;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(7, 1).Border    = lineBorder177;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(7, 2).CellType  = numberCellType22;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(7, 3).Border    = lineBorder178;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(7, 4).Border    = lineBorder179;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(7, 5).Border    = lineBorder180;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(7, 6).Border    = lineBorder181;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(7, 7).Border    = lineBorder182;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(7, 8).Border    = lineBorder183;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(7, 9).Border    = lineBorder184;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(8, 1).Border    = lineBorder185;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(8, 2).CellType  = numberCellType23;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(8, 3).Border    = lineBorder186;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(8, 4).Border    = lineBorder187;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(8, 5).Border    = lineBorder188;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(8, 6).Border    = lineBorder189;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(8, 7).Border    = lineBorder190;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(8, 8).Border    = lineBorder191;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(8, 9).Border    = lineBorder192;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(9, 1).Border    = lineBorder193;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(9, 2).CellType  = numberCellType24;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(9, 3).Border    = lineBorder194;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(9, 4).Border    = lineBorder195;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(9, 5).Border    = lineBorder196;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(9, 6).Border    = lineBorder197;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(9, 7).Border    = lineBorder198;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(9, 8).Border    = lineBorder199;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(9, 9).Border    = lineBorder200;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(10, 1).Border   = lineBorder201;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(10, 2).CellType = numberCellType25;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(10, 3).Border   = lineBorder202;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(10, 4).Border   = lineBorder203;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(10, 5).Border   = lineBorder204;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(10, 6).Border   = lineBorder205;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(10, 7).Border   = lineBorder206;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(10, 8).Border   = lineBorder207;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(10, 9).Border   = lineBorder208;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(11, 1).Border   = lineBorder209;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(11, 2).CellType = numberCellType26;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(11, 3).Border   = lineBorder210;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(11, 4).Border   = lineBorder211;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(11, 5).Border   = lineBorder212;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(11, 6).Border   = lineBorder213;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(11, 7).Border   = lineBorder214;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(11, 8).Border   = lineBorder215;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(11, 9).Border   = lineBorder216;
     buttonCellType6.ButtonColor2 = System.Drawing.SystemColors.ButtonFace;
     buttonCellType6.Picture      = ((System.Drawing.Image)(resources.GetObject("buttonCellType6.Picture")));
     this.neuSpreadDiagnose_Sheet1.Cells.Get(11, 9).CellType = buttonCellType6;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(12, 1).Border   = lineBorder217;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(12, 1).Value    = "损伤中毒原因";
     this.neuSpreadDiagnose_Sheet1.Cells.Get(12, 2).CellType = numberCellType27;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(12, 3).Border   = lineBorder218;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(12, 4).Border   = lineBorder219;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(12, 5).Border   = lineBorder220;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(12, 6).Border   = lineBorder221;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(12, 7).Border   = lineBorder222;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(12, 8).Border   = lineBorder223;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(12, 9).Border   = lineBorder224;
     buttonCellType7.ButtonColor2 = System.Drawing.SystemColors.ButtonFace;
     buttonCellType7.Picture      = ((System.Drawing.Image)(resources.GetObject("buttonCellType7.Picture")));
     this.neuSpreadDiagnose_Sheet1.Cells.Get(12, 9).CellType = buttonCellType7;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(13, 1).Border   = lineBorder225;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(13, 1).Value    = "病理诊断";
     this.neuSpreadDiagnose_Sheet1.Cells.Get(13, 2).CellType = numberCellType28;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(13, 3).Border   = lineBorder226;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(13, 4).Border   = lineBorder227;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(13, 5).Border   = lineBorder228;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(13, 6).Border   = lineBorder229;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(13, 7).Border   = lineBorder230;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(13, 7).CellType = textCellType9;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(13, 8).Border   = lineBorder231;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(13, 8).CellType = textCellType10;
     this.neuSpreadDiagnose_Sheet1.Cells.Get(13, 9).Border   = lineBorder232;
     buttonCellType8.ButtonColor2 = System.Drawing.SystemColors.ButtonFace;
     buttonCellType8.Picture      = ((System.Drawing.Image)(resources.GetObject("buttonCellType8.Picture")));
     this.neuSpreadDiagnose_Sheet1.Cells.Get(13, 9).CellType         = buttonCellType8;
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 1).Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 1).Value             = "诊断类型";
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 2).Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold);
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 2).Value             = "序号";
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 3).Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold);
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 3).Value             = "出院诊断";
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 4).Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold);
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 4).Value             = "入院病情";
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 5).Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold);
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 5).Value             = "治疗效果";
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 6).Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold);
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 6).Value             = "诊断编码";
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 7).Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold);
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 7).Value             = "临床诊断";
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 8).Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold);
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 8).Value             = "临床诊断编码";
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 9).Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold);
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 9).Value             = "操作";
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Cells.Get(0, 9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.neuSpreadDiagnose_Sheet1.ColumnHeader.Rows.Get(0).Height     = 30F;
     this.neuSpreadDiagnose_Sheet1.Columns.Get(0).Visible              = false;
     this.neuSpreadDiagnose_Sheet1.Columns.Get(1).Border               = lineBorder233;
     this.neuSpreadDiagnose_Sheet1.Columns.Get(1).CellType             = textCellType11;
     this.neuSpreadDiagnose_Sheet1.Columns.Get(1).Label                = "诊断类型";
     this.neuSpreadDiagnose_Sheet1.Columns.Get(1).Locked               = true;
     this.neuSpreadDiagnose_Sheet1.Columns.Get(1).Width                = 91F;
     this.neuSpreadDiagnose_Sheet1.Columns.Get(2).Label                = "序号";
     this.neuSpreadDiagnose_Sheet1.Columns.Get(2).Width                = 51F;
     this.neuSpreadDiagnose_Sheet1.Columns.Get(3).Border               = lineBorder234;
     this.neuSpreadDiagnose_Sheet1.Columns.Get(3).Label                = "出院诊断";
     this.neuSpreadDiagnose_Sheet1.Columns.Get(3).Width                = 220F;
     this.neuSpreadDiagnose_Sheet1.Columns.Get(4).Border               = lineBorder235;
     this.neuSpreadDiagnose_Sheet1.Columns.Get(4).Label                = "入院病情";
     this.neuSpreadDiagnose_Sheet1.Columns.Get(4).Width                = 72F;
     this.neuSpreadDiagnose_Sheet1.Columns.Get(5).Border               = lineBorder236;
     this.neuSpreadDiagnose_Sheet1.Columns.Get(5).Label                = "治疗效果";
     this.neuSpreadDiagnose_Sheet1.Columns.Get(5).Width                = 68F;
     this.neuSpreadDiagnose_Sheet1.Columns.Get(6).Border               = lineBorder237;
     this.neuSpreadDiagnose_Sheet1.Columns.Get(6).Label                = "诊断编码";
     this.neuSpreadDiagnose_Sheet1.Columns.Get(6).Locked               = true;
     this.neuSpreadDiagnose_Sheet1.Columns.Get(6).Width                = 70F;
     this.neuSpreadDiagnose_Sheet1.Columns.Get(7).Border               = lineBorder238;
     this.neuSpreadDiagnose_Sheet1.Columns.Get(7).Label                = "临床诊断";
     this.neuSpreadDiagnose_Sheet1.Columns.Get(7).Locked               = true;
     this.neuSpreadDiagnose_Sheet1.Columns.Get(7).Width                = 243F;
     this.neuSpreadDiagnose_Sheet1.Columns.Get(8).Border               = lineBorder239;
     this.neuSpreadDiagnose_Sheet1.Columns.Get(8).Label                = "临床诊断编码";
     this.neuSpreadDiagnose_Sheet1.Columns.Get(8).Locked               = true;
     this.neuSpreadDiagnose_Sheet1.Columns.Get(8).Width                = 101F;
     this.neuSpreadDiagnose_Sheet1.Columns.Get(9).Border               = lineBorder240;
     this.neuSpreadDiagnose_Sheet1.Columns.Get(9).CellType             = textCellType12;
     this.neuSpreadDiagnose_Sheet1.Columns.Get(9).Label                = "操作";
     this.neuSpreadDiagnose_Sheet1.RowHeader.Columns.Default.Resizable = false;
     this.neuSpreadDiagnose_Sheet1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
     this.neuSpreadDiagnose_Sheet1.SelectionPolicy    = FarPoint.Win.Spread.Model.SelectionPolicy.Single;
     this.neuSpreadDiagnose_Sheet1.ReferenceStyle     = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
     //
     // ucDiagnose
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.neuSpreadDiagnose);
     this.Name  = "ucDiagnose";
     this.Size  = new System.Drawing.Size(983, 456);
     this.Load += new System.EventHandler(this.ucDiagnose2013_Load);
     ((System.ComponentModel.ISupportInitialize)(this.neuSpreadDiagnose)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.neuSpreadDiagnose_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.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
            this.splitContainer1   = new System.Windows.Forms.SplitContainer();
            this.tvDeptList        = new Neusoft.HISFC.Components.Common.Controls.baseTreeView();
            this.neuSpread1        = new Neusoft.FrameWork.WinForms.Controls.NeuSpread();
            this.neuSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
            this.neuGroupBox2      = new Neusoft.FrameWork.WinForms.Controls.NeuGroupBox();
            this.dtEnd             = new Neusoft.FrameWork.WinForms.Controls.NeuDateTimePicker();
            this.dtBegin           = new Neusoft.FrameWork.WinForms.Controls.NeuDateTimePicker();
            this.neuLabel3         = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.neuLabel2         = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.neuGroupBox1      = new Neusoft.FrameWork.WinForms.Controls.NeuGroupBox();
            this.cmbStatList       = new Neusoft.FrameWork.WinForms.Controls.NeuComboBox(this.components);
            this.neuLabel1         = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.splitContainer1.Panel1.SuspendLayout();
            this.splitContainer1.Panel2.SuspendLayout();
            this.splitContainer1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1_Sheet1)).BeginInit();
            this.neuGroupBox2.SuspendLayout();
            this.neuGroupBox1.SuspendLayout();
            this.SuspendLayout();
            //
            // splitContainer1
            //
            this.splitContainer1.Dock       = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
            this.splitContainer1.Location   = new System.Drawing.Point(0, 39);
            this.splitContainer1.Name       = "splitContainer1";
            //
            // splitContainer1.Panel1
            //
            this.splitContainer1.Panel1.Controls.Add(this.tvDeptList);
            //
            // splitContainer1.Panel2
            //
            this.splitContainer1.Panel2.Controls.Add(this.neuSpread1);
            this.splitContainer1.Panel2.Controls.Add(this.neuGroupBox2);
            this.splitContainer1.Size             = new System.Drawing.Size(739, 400);
            this.splitContainer1.SplitterDistance = 181;
            this.splitContainer1.TabIndex         = 0;
            //
            // tvDeptList
            //
            this.tvDeptList.Dock          = System.Windows.Forms.DockStyle.Fill;
            this.tvDeptList.HideSelection = false;
            this.tvDeptList.Location      = new System.Drawing.Point(0, 0);
            this.tvDeptList.Name          = "tvDeptList";
            this.tvDeptList.Size          = new System.Drawing.Size(181, 400);
            this.tvDeptList.Style         = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.tvDeptList.TabIndex      = 0;
            this.tvDeptList.AfterSelect  += new System.Windows.Forms.TreeViewEventHandler(this.tvDeptList_AfterSelect);
            this.tvDeptList.BeforeSelect += new System.Windows.Forms.TreeViewCancelEventHandler(this.tvDeptList_BeforeSelect);
            //
            // neuSpread1
            //
            this.neuSpread1.About = "2.5.2007.2005";
            this.neuSpread1.AccessibleDescription = "neuSpread1, Sheet1";
            this.neuSpread1.BackColor             = System.Drawing.Color.White;
            this.neuSpread1.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.neuSpread1.FileName = "";
            this.neuSpread1.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.neuSpread1.IsAutoSaveGridStatus      = false;
            this.neuSpread1.IsCanCustomConfigColumn   = false;
            this.neuSpread1.Location = new System.Drawing.Point(0, 41);
            this.neuSpread1.Name     = "neuSpread1";
            this.neuSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
                this.neuSpread1_Sheet1
            });
            this.neuSpread1.Size                    = new System.Drawing.Size(554, 359);
            this.neuSpread1.Style                   = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuSpread1.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.neuSpread1.TextTipAppearance       = tipAppearance1;
            this.neuSpread1.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.neuSpread1.CellDoubleClick        += new FarPoint.Win.Spread.CellClickEventHandler(this.neuSpread1_CellDoubleClick);
            this.neuSpread1.EditModeOff            += new System.EventHandler(this.neuSpread1_EditModeOff);
            //
            // neuSpread1_Sheet1
            //
            this.neuSpread1_Sheet1.Reset();
            this.neuSpread1_Sheet1.SheetName = "Sheet1";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.neuSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.neuSpread1_Sheet1.ColumnCount    = 9;
            this.neuSpread1_Sheet1.RowCount       = 0;
            this.neuSpread1_Sheet1.ActiveSkin     = new FarPoint.Win.Spread.SheetSkin("CustomSkin3", 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.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value  = "药品名称";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value  = "规格";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value  = "单位";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value  = "基数量";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value  = "盈余量";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value  = "消耗量";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value  = "补充量";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value  = "备注";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value  = "药品编码";
            this.neuSpread1_Sheet1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.White;
            this.neuSpread1_Sheet1.ColumnHeader.DefaultStyle.Locked    = false;
            this.neuSpread1_Sheet1.ColumnHeader.DefaultStyle.Parent    = "HeaderDefault";
            this.neuSpread1_Sheet1.Columns.Get(0).Label     = "药品名称";
            this.neuSpread1_Sheet1.Columns.Get(0).Locked    = true;
            this.neuSpread1_Sheet1.Columns.Get(0).Width     = 120F;
            this.neuSpread1_Sheet1.Columns.Get(1).Label     = "规格";
            this.neuSpread1_Sheet1.Columns.Get(1).Locked    = true;
            this.neuSpread1_Sheet1.Columns.Get(1).Width     = 80F;
            this.neuSpread1_Sheet1.Columns.Get(2).Label     = "单位";
            this.neuSpread1_Sheet1.Columns.Get(2).Locked    = true;
            this.neuSpread1_Sheet1.Columns.Get(3).BackColor = System.Drawing.Color.SeaShell;
            numberCellType1.DecimalPlaces = 2;
            this.neuSpread1_Sheet1.Columns.Get(3).CellType  = numberCellType1;
            this.neuSpread1_Sheet1.Columns.Get(3).Label     = "基数量";
            this.neuSpread1_Sheet1.Columns.Get(3).Width     = 70F;
            this.neuSpread1_Sheet1.Columns.Get(4).BackColor = System.Drawing.Color.SeaShell;
            numberCellType2.DecimalPlaces = 2;
            this.neuSpread1_Sheet1.Columns.Get(4).CellType = numberCellType2;
            this.neuSpread1_Sheet1.Columns.Get(4).Label    = "盈余量";
            this.neuSpread1_Sheet1.Columns.Get(4).Width    = 70F;
            numberCellType3.DecimalPlaces = 2;
            this.neuSpread1_Sheet1.Columns.Get(5).CellType  = numberCellType3;
            this.neuSpread1_Sheet1.Columns.Get(5).Label     = "消耗量";
            this.neuSpread1_Sheet1.Columns.Get(5).Locked    = true;
            this.neuSpread1_Sheet1.Columns.Get(5).Width     = 70F;
            this.neuSpread1_Sheet1.Columns.Get(6).BackColor = System.Drawing.Color.SeaShell;
            numberCellType4.DecimalPlaces = 2;
            this.neuSpread1_Sheet1.Columns.Get(6).CellType             = numberCellType4;
            this.neuSpread1_Sheet1.Columns.Get(6).Label                = "补充量";
            this.neuSpread1_Sheet1.Columns.Get(6).Width                = 70F;
            this.neuSpread1_Sheet1.Columns.Get(7).Label                = "备注";
            this.neuSpread1_Sheet1.Columns.Get(7).Width                = 120F;
            this.neuSpread1_Sheet1.Columns.Get(8).Label                = "药品编码";
            this.neuSpread1_Sheet1.Columns.Get(8).Visible              = false;
            this.neuSpread1_Sheet1.OperationMode                       = FarPoint.Win.Spread.OperationMode.RowMode;
            this.neuSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
            this.neuSpread1_Sheet1.RowHeader.Columns.Get(0).Width      = 37F;
            this.neuSpread1_Sheet1.RowHeader.DefaultStyle.BackColor    = System.Drawing.Color.White;
            this.neuSpread1_Sheet1.RowHeader.DefaultStyle.Locked       = false;
            this.neuSpread1_Sheet1.RowHeader.DefaultStyle.Parent       = "HeaderDefault";
            this.neuSpread1_Sheet1.SheetCornerStyle.BackColor          = System.Drawing.Color.White;
            this.neuSpread1_Sheet1.SheetCornerStyle.Locked             = false;
            this.neuSpread1_Sheet1.SheetCornerStyle.Parent             = "HeaderDefault";
            this.neuSpread1_Sheet1.ReferenceStyle                      = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
            this.neuSpread1.SetActiveViewport(1, 0);
            //
            // neuGroupBox2
            //
            this.neuGroupBox2.Controls.Add(this.dtEnd);
            this.neuGroupBox2.Controls.Add(this.dtBegin);
            this.neuGroupBox2.Controls.Add(this.neuLabel3);
            this.neuGroupBox2.Controls.Add(this.neuLabel2);
            this.neuGroupBox2.Dock     = System.Windows.Forms.DockStyle.Top;
            this.neuGroupBox2.Location = new System.Drawing.Point(0, 0);
            this.neuGroupBox2.Name     = "neuGroupBox2";
            this.neuGroupBox2.Size     = new System.Drawing.Size(554, 41);
            this.neuGroupBox2.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuGroupBox2.TabIndex = 1;
            this.neuGroupBox2.TabStop  = false;
            //
            // dtEnd
            //
            this.dtEnd.Format      = System.Windows.Forms.DateTimePickerFormat.Short;
            this.dtEnd.IsEnter2Tab = false;
            this.dtEnd.Location    = new System.Drawing.Point(227, 13);
            this.dtEnd.Name        = "dtEnd";
            this.dtEnd.Size        = new System.Drawing.Size(118, 21);
            this.dtEnd.Style       = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.dtEnd.TabIndex    = 1;
            //
            // dtBegin
            //
            this.dtBegin.Format      = System.Windows.Forms.DateTimePickerFormat.Short;
            this.dtBegin.IsEnter2Tab = false;
            this.dtBegin.Location    = new System.Drawing.Point(77, 13);
            this.dtBegin.Name        = "dtBegin";
            this.dtBegin.Size        = new System.Drawing.Size(118, 21);
            this.dtBegin.Style       = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.dtBegin.TabIndex    = 1;
            //
            // neuLabel3
            //
            this.neuLabel3.AutoSize  = true;
            this.neuLabel3.ForeColor = System.Drawing.Color.Blue;
            this.neuLabel3.Location  = new System.Drawing.Point(204, 17);
            this.neuLabel3.Name      = "neuLabel3";
            this.neuLabel3.Size      = new System.Drawing.Size(17, 12);
            this.neuLabel3.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuLabel3.TabIndex  = 0;
            this.neuLabel3.Text      = "至";
            //
            // neuLabel2
            //
            this.neuLabel2.AutoSize  = true;
            this.neuLabel2.ForeColor = System.Drawing.Color.Blue;
            this.neuLabel2.Location  = new System.Drawing.Point(6, 17);
            this.neuLabel2.Name      = "neuLabel2";
            this.neuLabel2.Size      = new System.Drawing.Size(65, 12);
            this.neuLabel2.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuLabel2.TabIndex  = 0;
            this.neuLabel2.Text      = "记录区间:";
            //
            // neuGroupBox1
            //
            this.neuGroupBox1.Controls.Add(this.cmbStatList);
            this.neuGroupBox1.Controls.Add(this.neuLabel1);
            this.neuGroupBox1.Dock     = System.Windows.Forms.DockStyle.Top;
            this.neuGroupBox1.Location = new System.Drawing.Point(0, 0);
            this.neuGroupBox1.Name     = "neuGroupBox1";
            this.neuGroupBox1.Size     = new System.Drawing.Size(739, 39);
            this.neuGroupBox1.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuGroupBox1.TabIndex = 1;
            this.neuGroupBox1.TabStop  = false;
            //
            // cmbStatList
            //
            this.cmbStatList.FormattingEnabled = true;
            this.cmbStatList.IsEnter2Tab       = false;
            this.cmbStatList.IsFlat            = true;
            this.cmbStatList.IsLike            = true;
            this.cmbStatList.Location          = new System.Drawing.Point(69, 11);
            this.cmbStatList.Name             = "cmbStatList";
            this.cmbStatList.PopForm          = null;
            this.cmbStatList.ShowCustomerList = false;
            this.cmbStatList.ShowID           = false;
            this.cmbStatList.Size             = new System.Drawing.Size(241, 20);
            this.cmbStatList.Style            = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.cmbStatList.TabIndex         = 1;
            this.cmbStatList.Tag                   = "";
            this.cmbStatList.ToolBarUse            = false;
            this.cmbStatList.SelectedIndexChanged += new System.EventHandler(this.cmbStatList_SelectedIndexChanged);
            //
            // neuLabel1
            //
            this.neuLabel1.AutoSize  = true;
            this.neuLabel1.ForeColor = System.Drawing.Color.Blue;
            this.neuLabel1.Location  = new System.Drawing.Point(2, 16);
            this.neuLabel1.Name      = "neuLabel1";
            this.neuLabel1.Size      = new System.Drawing.Size(65, 12);
            this.neuLabel1.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuLabel1.TabIndex  = 0;
            this.neuLabel1.Text      = "记录区间:";
            //
            // ucDeptRadix
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.splitContainer1);
            this.Controls.Add(this.neuGroupBox1);
            this.Name = "ucDeptRadix";
            this.Size = new System.Drawing.Size(739, 439);
            this.splitContainer1.Panel1.ResumeLayout(false);
            this.splitContainer1.Panel2.ResumeLayout(false);
            this.splitContainer1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1_Sheet1)).EndInit();
            this.neuGroupBox2.ResumeLayout(false);
            this.neuGroupBox2.PerformLayout();
            this.neuGroupBox1.ResumeLayout(false);
            this.neuGroupBox1.PerformLayout();
            this.ResumeLayout(false);
        }
        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。

        /// </summary>
        private void InitializeComponent()
        {
            FarPoint.Win.Spread.TipAppearance              tipAppearance3    = new FarPoint.Win.Spread.TipAppearance();
            FarPoint.Win.Spread.TipAppearance              tipAppearance4    = new FarPoint.Win.Spread.TipAppearance();
            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.TextCellType      textCellType14    = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.TextCellType      textCellType15    = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.TextCellType      textCellType16    = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.DateTimeCellType  dateTimeCellType3 = new FarPoint.Win.Spread.CellType.DateTimeCellType();
            System.ComponentModel.ComponentResourceManager resources         = new System.ComponentModel.ComponentResourceManager(typeof(ucSchemaTemplate));
            FarPoint.Win.Spread.CellType.DateTimeCellType  dateTimeCellType4 = new FarPoint.Win.Spread.CellType.DateTimeCellType();
            FarPoint.Win.Spread.CellType.NumberCellType    numberCellType4   = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType    numberCellType5   = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType    numberCellType6   = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.TextCellType      textCellType17    = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.TextCellType      textCellType18    = new FarPoint.Win.Spread.CellType.TextCellType();
            this.fpSpread1         = new FarPoint.Win.Spread.FpSpread();
            this.neuSpread1        = new Neusoft.FrameWork.WinForms.Controls.NeuSpread();
            this.neuSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
            this.neuGroupBox1      = new Neusoft.FrameWork.WinForms.Controls.NeuGroupBox();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1_Sheet1)).BeginInit();
            this.SuspendLayout();
            //
            // fpSpread1
            //
            this.fpSpread1.About = "2.5.2007.2005";
            this.fpSpread1.AccessibleDescription = "";
            this.fpSpread1.Location          = new System.Drawing.Point(0, 0);
            this.fpSpread1.Name              = "fpSpread1";
            this.fpSpread1.Size              = new System.Drawing.Size(200, 100);
            this.fpSpread1.TabIndex          = 0;
            tipAppearance3.BackColor         = System.Drawing.SystemColors.Info;
            tipAppearance3.Font              = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            tipAppearance3.ForeColor         = System.Drawing.SystemColors.InfoText;
            this.fpSpread1.TextTipAppearance = tipAppearance3;
            this.fpSpread1.ActiveSheetIndex  = -1;
            //
            // neuSpread1
            //
            this.neuSpread1.About = "2.5.2007.2005";
            this.neuSpread1.AccessibleDescription = "neuSpread1, Sheet1";

            this.neuSpread1.BackColor = System.Drawing.SystemColors.Window;
            // this.neuSpread1.CanCustomConfigColumn = false;
            this.neuSpread1.EditModePermanent         = true;
            this.neuSpread1.EditModeReplace           = true;
            this.neuSpread1.FileName                  = "";
            this.neuSpread1.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.neuSpread1.Location                  = new System.Drawing.Point(3, 0);
            this.neuSpread1.Name = "neuSpread1";
            this.neuSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
                this.neuSpread1_Sheet1
            });
            this.neuSpread1.Size = new System.Drawing.Size(526, 448);

            this.neuSpread1.TabIndex                = 0;
            tipAppearance4.BackColor                = System.Drawing.SystemColors.Info;
            tipAppearance4.Font                     = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            tipAppearance4.ForeColor                = System.Drawing.SystemColors.InfoText;
            this.neuSpread1.TextTipAppearance       = tipAppearance4;
            this.neuSpread1.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.neuSpread1.CellClick              += new FarPoint.Win.Spread.CellClickEventHandler(this.neuSpread1_CellClick);
            //
            // neuSpread1_Sheet1
            //
            this.neuSpread1_Sheet1.Reset();
            this.neuSpread1_Sheet1.SheetName = "Sheet1";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.neuSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.neuSpread1_Sheet1.ColumnCount    = 15;
            this.neuSpread1_Sheet1.RowCount       = 0;
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value  = "ID";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value  = "DeptID";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value  = "出诊科室";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value  = "DoctID";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value  = "出诊医生";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value  = "医生类别";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value  = "午别";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value  = "开始时间";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value  = "结束时间";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value  = "挂号限额";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "预约限额";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "特诊限额";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "是否加号";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "是否有效";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "备注";
            this.neuSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height     = 32F;
            this.neuSpread1_Sheet1.Columns.Get(0).CellType             = textCellType10;
            this.neuSpread1_Sheet1.Columns.Get(0).Label         = "ID";
            this.neuSpread1_Sheet1.Columns.Get(0).Width         = 52F;
            this.neuSpread1_Sheet1.Columns.Get(1).CellType      = textCellType11;
            this.neuSpread1_Sheet1.Columns.Get(1).Label         = "DeptID";
            this.neuSpread1_Sheet1.Columns.Get(2).AllowAutoSort = true;
            textCellType12.StringTrim = System.Drawing.StringTrimming.EllipsisCharacter;
            this.neuSpread1_Sheet1.Columns.Get(2).CellType      = textCellType12;
            this.neuSpread1_Sheet1.Columns.Get(2).Label         = "出诊科室";
            this.neuSpread1_Sheet1.Columns.Get(2).Width         = 103F;
            this.neuSpread1_Sheet1.Columns.Get(3).CellType      = textCellType13;
            this.neuSpread1_Sheet1.Columns.Get(3).Label         = "DoctID";
            this.neuSpread1_Sheet1.Columns.Get(4).AllowAutoSort = true;
            this.neuSpread1_Sheet1.Columns.Get(4).CellType      = textCellType14;
            this.neuSpread1_Sheet1.Columns.Get(4).Label         = "出诊医生";
            this.neuSpread1_Sheet1.Columns.Get(5).CellType      = textCellType15;
            this.neuSpread1_Sheet1.Columns.Get(5).Label         = "医生类别";
            this.neuSpread1_Sheet1.Columns.Get(6).AllowAutoSort = true;
            textCellType16.StringTrim = System.Drawing.StringTrimming.EllipsisCharacter;
            this.neuSpread1_Sheet1.Columns.Get(6).CellType = textCellType16;
            this.neuSpread1_Sheet1.Columns.Get(6).Label    = "午别";
            this.neuSpread1_Sheet1.Columns.Get(6).Width    = 66F;
            dateTimeCellType3.Calendar                      = ((System.Globalization.Calendar)(resources.GetObject("dateTimeCellType3.Calendar")));
            dateTimeCellType3.DateDefault                   = new System.DateTime(2006, 12, 31, 10, 40, 44, 0);
            dateTimeCellType3.DateTimeFormat                = FarPoint.Win.Spread.CellType.DateTimeFormat.UserDefined;
            dateTimeCellType3.TimeDefault                   = new System.DateTime(2006, 12, 31, 10, 40, 44, 0);
            dateTimeCellType3.UserDefinedFormat             = "HH:mm";
            this.neuSpread1_Sheet1.Columns.Get(7).CellType  = dateTimeCellType3;
            this.neuSpread1_Sheet1.Columns.Get(7).Label     = "开始时间";
            dateTimeCellType4.Calendar                      = ((System.Globalization.Calendar)(resources.GetObject("dateTimeCellType4.Calendar")));
            dateTimeCellType4.DateDefault                   = new System.DateTime(2006, 12, 31, 10, 40, 44, 0);
            dateTimeCellType4.DateTimeFormat                = FarPoint.Win.Spread.CellType.DateTimeFormat.UserDefined;
            dateTimeCellType4.TimeDefault                   = new System.DateTime(2006, 12, 31, 10, 40, 44, 0);
            dateTimeCellType4.UserDefinedFormat             = "HH:mm";
            this.neuSpread1_Sheet1.Columns.Get(8).CellType  = dateTimeCellType4;
            this.neuSpread1_Sheet1.Columns.Get(8).Label     = "结束时间";
            numberCellType4.DecimalPlaces                   = 0;
            numberCellType4.MaximumValue                    = 9999;
            numberCellType4.MinimumValue                    = 0;
            this.neuSpread1_Sheet1.Columns.Get(9).CellType  = numberCellType4;
            this.neuSpread1_Sheet1.Columns.Get(9).Label     = "挂号限额";
            this.neuSpread1_Sheet1.Columns.Get(9).Width     = 64F;
            numberCellType5.DecimalPlaces                   = 0;
            numberCellType5.MaximumValue                    = 9999;
            numberCellType5.MinimumValue                    = 0;
            this.neuSpread1_Sheet1.Columns.Get(10).CellType = numberCellType5;
            this.neuSpread1_Sheet1.Columns.Get(10).Label    = "预约限额";
            numberCellType6.DecimalPlaces                   = 0;
            numberCellType6.MaximumValue                    = 9999;
            numberCellType6.MinimumValue                    = 0;
            this.neuSpread1_Sheet1.Columns.Get(11).CellType = numberCellType6;
            this.neuSpread1_Sheet1.Columns.Get(11).Label    = "特诊限额";
            this.neuSpread1_Sheet1.Columns.Get(12).Label    = "是否加号";
            this.neuSpread1_Sheet1.Columns.Get(12).Width    = 37F;
            this.neuSpread1_Sheet1.Columns.Get(13).CellType = textCellType17;
            this.neuSpread1_Sheet1.Columns.Get(13).Label    = "是否有效";
            this.neuSpread1_Sheet1.Columns.Get(13).Width    = 34F;
            textCellType18.StringTrim = System.Drawing.StringTrimming.EllipsisCharacter;
            this.neuSpread1_Sheet1.Columns.Get(14).CellType            = textCellType18;
            this.neuSpread1_Sheet1.Columns.Get(14).Label               = "备注";
            this.neuSpread1_Sheet1.Columns.Get(14).Width               = 176F;
            this.neuSpread1_Sheet1.GrayAreaBackColor                   = System.Drawing.SystemColors.Window;
            this.neuSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
            this.neuSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
            this.neuSpread1.SetActiveViewport(1, 0);
            //
            // neuGroupBox1
            //
            this.neuGroupBox1.Location = new System.Drawing.Point(110, 143);
            this.neuGroupBox1.Name     = "neuGroupBox1";
            this.neuGroupBox1.Size     = new System.Drawing.Size(200, 161);
            this.neuGroupBox1.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.VS2003;
            this.neuGroupBox1.TabIndex = 1;
            this.neuGroupBox1.TabStop  = false;
            this.neuGroupBox1.Text     = "neuGroupBox1";
            //
            // ucSchemaTemplate
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.neuGroupBox1);
            this.Controls.Add(this.neuSpread1);
            this.Name = "ucSchemaTemplate";
            this.Size = new System.Drawing.Size(529, 451);
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1_Sheet1)).EndInit();
            this.ResumeLayout(false);
        }
        /// <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.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.TextCellType   textCellType2   = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.TextCellType   textCellType3   = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType();
            this.fpDetail        = new Neusoft.FrameWork.WinForms.Controls.NeuSpread();
            this.fpDetail_Sheet  = new FarPoint.Win.Spread.SheetView();
            this.splitContainer1 = new System.Windows.Forms.SplitContainer();
            this.pnItemTree      = new System.Windows.Forms.Panel();
            ((System.ComponentModel.ISupportInitialize)(this.fpDetail)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpDetail_Sheet)).BeginInit();
            this.splitContainer1.Panel1.SuspendLayout();
            this.splitContainer1.Panel2.SuspendLayout();
            this.splitContainer1.SuspendLayout();
            this.SuspendLayout();
            //
            // fpDetail
            //
            this.fpDetail.About = "3.0.2004.2005";
            this.fpDetail.AccessibleDescription = "fpDetail, Sheet, Row 0, Column 0, ";
            this.fpDetail.BackColor             = System.Drawing.SystemColors.Control;
            this.fpDetail.Dock = System.Windows.Forms.DockStyle.Fill;
            this.fpDetail.EditModePermanent         = true;
            this.fpDetail.EditModeReplace           = true;
            this.fpDetail.FileName                  = "";
            this.fpDetail.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.fpDetail.IsAutoSaveGridStatus      = false;
            this.fpDetail.IsCanCustomConfigColumn   = false;
            this.fpDetail.Location                  = new System.Drawing.Point(0, 0);
            this.fpDetail.Name        = "fpDetail";
            this.fpDetail.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.fpDetail.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
                this.fpDetail_Sheet
            });
            this.fpDetail.Size                    = new System.Drawing.Size(674, 595);
            this.fpDetail.Style                   = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.fpDetail.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.fpDetail.TextTipAppearance       = tipAppearance1;
            this.fpDetail.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.fpDetail.EditModeOn             += new System.EventHandler(this.fpDetail_EditModeOn);
            this.fpDetail.EditChange             += new FarPoint.Win.Spread.EditorNotifyEventHandler(this.fpDetail_EditChange);
            this.fpDetail.CellDoubleClick        += new FarPoint.Win.Spread.CellClickEventHandler(this.fpDetail_CellDoubleClick);
            this.fpDetail.DragDrop               += new System.Windows.Forms.DragEventHandler(this.fpDetail_DragDrop);
            this.fpDetail.ComboSelChange         += new FarPoint.Win.Spread.EditorNotifyEventHandler(this.fpDetail_ComboSelChange);
            this.fpDetail.Change                 += new FarPoint.Win.Spread.ChangeEventHandler(this.fpDetail_Change);
            //
            // fpDetail_Sheet
            //
            this.fpDetail_Sheet.Reset();
            this.fpDetail_Sheet.SheetName = "Sheet";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.fpDetail_Sheet.ReferenceStyle        = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.fpDetail_Sheet.ColumnCount           = 12;
            this.fpDetail_Sheet.RowCount              = 2;
            this.fpDetail_Sheet.Cells.Get(1, 4).Value = "合计:";
            this.fpDetail_Sheet.Cells.Get(1, 5).Value = 0;
            this.fpDetail_Sheet.ColumnHeader.Cells.Get(0, 0).Value  = "项目名称";
            this.fpDetail_Sheet.ColumnHeader.Cells.Get(0, 1).Value  = "价格";
            this.fpDetail_Sheet.ColumnHeader.Cells.Get(0, 2).Value  = "数量";
            this.fpDetail_Sheet.ColumnHeader.Cells.Get(0, 3).Value  = "付数";
            this.fpDetail_Sheet.ColumnHeader.Cells.Get(0, 4).Value  = "单位";
            this.fpDetail_Sheet.ColumnHeader.Cells.Get(0, 5).Value  = "合计金额";
            this.fpDetail_Sheet.ColumnHeader.Cells.Get(0, 6).Value  = "执行科室";
            this.fpDetail_Sheet.ColumnHeader.Cells.Get(0, 7).Value  = "ItemObject";
            this.fpDetail_Sheet.ColumnHeader.Cells.Get(0, 8).Value  = "IsNew";
            this.fpDetail_Sheet.ColumnHeader.Cells.Get(0, 9).Value  = "IsDeptChange";
            this.fpDetail_Sheet.ColumnHeader.Cells.Get(0, 10).Value = "IsDrug";
            this.fpDetail_Sheet.ColumnHeader.Cells.Get(0, 11).Value = "收费比例";
            this.fpDetail_Sheet.Columns.Get(0).CellType             = textCellType1;
            this.fpDetail_Sheet.Columns.Get(0).Font     = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpDetail_Sheet.Columns.Get(0).Label    = "项目名称";
            this.fpDetail_Sheet.Columns.Get(0).Width    = 280F;
            numberCellType1.DecimalPlaces               = 4;
            this.fpDetail_Sheet.Columns.Get(1).CellType = numberCellType1;
            this.fpDetail_Sheet.Columns.Get(1).Font     = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpDetail_Sheet.Columns.Get(1).Label    = "价格";
            this.fpDetail_Sheet.Columns.Get(1).Width    = 77F;
            numberCellType2.MaximumValue = 99999.99;
            numberCellType2.MinimumValue = -9999.99;
            this.fpDetail_Sheet.Columns.Get(2).CellType = numberCellType2;
            this.fpDetail_Sheet.Columns.Get(2).Font     = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpDetail_Sheet.Columns.Get(2).Label    = "数量";
            this.fpDetail_Sheet.Columns.Get(2).Width    = 63F;
            this.fpDetail_Sheet.Columns.Get(3).CellType = numberCellType3;
            this.fpDetail_Sheet.Columns.Get(3).Label    = "付数";
            this.fpDetail_Sheet.Columns.Get(3).Width    = 33F;
            this.fpDetail_Sheet.Columns.Get(4).CellType = textCellType2;
            this.fpDetail_Sheet.Columns.Get(4).Font     = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpDetail_Sheet.Columns.Get(4).Label    = "单位";
            this.fpDetail_Sheet.Columns.Get(4).Width    = 50F;
            numberCellType4.ReadOnly = true;
            this.fpDetail_Sheet.Columns.Get(5).CellType = numberCellType4;
            this.fpDetail_Sheet.Columns.Get(5).Font     = new System.Drawing.Font("宋体", 12F);
            this.fpDetail_Sheet.Columns.Get(5).Label    = "合计金额";
            this.fpDetail_Sheet.Columns.Get(5).Locked   = true;
            this.fpDetail_Sheet.Columns.Get(5).Width    = 83F;
            this.fpDetail_Sheet.Columns.Get(6).CellType = textCellType3;
            this.fpDetail_Sheet.Columns.Get(6).Label    = "执行科室";
            this.fpDetail_Sheet.Columns.Get(6).Width    = 110F;
            this.fpDetail_Sheet.Columns.Get(7).Label    = "ItemObject";
            this.fpDetail_Sheet.Columns.Get(7).Width    = 87F;
            this.fpDetail_Sheet.Columns.Get(9).Label    = "IsDeptChange";
            this.fpDetail_Sheet.Columns.Get(9).Width    = 85F;
            numberCellType5.MaximumValue = 1;
            numberCellType5.MinimumValue = 0;
            this.fpDetail_Sheet.Columns.Get(11).CellType            = numberCellType5;
            this.fpDetail_Sheet.Columns.Get(11).Label               = "收费比例";
            this.fpDetail_Sheet.OperationMode                       = FarPoint.Win.Spread.OperationMode.RowMode;
            this.fpDetail_Sheet.RowHeader.Columns.Default.Resizable = false;
            this.fpDetail_Sheet.Rows.Get(0).Height                  = 23F;
            this.fpDetail_Sheet.Rows.Get(1).Height                  = 23F;
            this.fpDetail_Sheet.Rows.Get(1).Locked                  = true;
            this.fpDetail_Sheet.ReferenceStyle                      = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
            //
            // splitContainer1
            //
            this.splitContainer1.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer1.Location = new System.Drawing.Point(0, 0);
            this.splitContainer1.Name     = "splitContainer1";
            //
            // splitContainer1.Panel1
            //
            this.splitContainer1.Panel1.Controls.Add(this.pnItemTree);
            //
            // splitContainer1.Panel2
            //
            this.splitContainer1.Panel2.Controls.Add(this.fpDetail);
            this.splitContainer1.Size             = new System.Drawing.Size(913, 595);
            this.splitContainer1.SplitterDistance = 235;
            this.splitContainer1.TabIndex         = 1;
            //
            // pnItemTree
            //
            this.pnItemTree.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.pnItemTree.Location = new System.Drawing.Point(0, 0);
            this.pnItemTree.Name     = "pnItemTree";
            this.pnItemTree.Size     = new System.Drawing.Size(235, 595);
            this.pnItemTree.TabIndex = 0;
            //
            // ucInpatientCharge
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.splitContainer1);
            this.Name  = "ucInpatientCharge";
            this.Size  = new System.Drawing.Size(913, 595);
            this.Load += new System.EventHandler(this.ucInpatientCharge_Load);
            ((System.ComponentModel.ISupportInitialize)(this.fpDetail)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpDetail_Sheet)).EndInit();
            this.splitContainer1.Panel1.ResumeLayout(false);
            this.splitContainer1.Panel2.ResumeLayout(false);
            this.splitContainer1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。

        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            FarPoint.Win.Spread.NamedStyle namedStyle1 = new FarPoint.Win.Spread.NamedStyle("Excel-0-15", "DataAreaDefault");
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType1 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle2 = new FarPoint.Win.Spread.NamedStyle("Excel-0-16");
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType2 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle3 = new FarPoint.Win.Spread.NamedStyle("Excel-0-17");
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType3 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle4 = new FarPoint.Win.Spread.NamedStyle("Excel-0-18");
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType4 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle5 = new FarPoint.Win.Spread.NamedStyle("Excel-0-19");
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType5 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle6 = new FarPoint.Win.Spread.NamedStyle("Excel-0-20");
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType6 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle7 = new FarPoint.Win.Spread.NamedStyle("Excel-0-21");
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType7 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle8 = new FarPoint.Win.Spread.NamedStyle("Excel-0-22");
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType8 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle9 = new FarPoint.Win.Spread.NamedStyle("Excel-0-23");
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType9 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle10 = new FarPoint.Win.Spread.NamedStyle("Excel-0-24");
            FarPoint.Win.ComplexBorder complexBorder1 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType10 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle11 = new FarPoint.Win.Spread.NamedStyle("Excel-0-25");
            FarPoint.Win.ComplexBorder complexBorder2 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType11 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle12 = new FarPoint.Win.Spread.NamedStyle("Excel-0-26");
            FarPoint.Win.ComplexBorder complexBorder3 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType12 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle13 = new FarPoint.Win.Spread.NamedStyle("Excel-0-27");
            FarPoint.Win.ComplexBorder complexBorder4 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType13 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle14 = new FarPoint.Win.Spread.NamedStyle("Excel-0-28");
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType14 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle15 = new FarPoint.Win.Spread.NamedStyle("Excel-0-29");
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType15 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle16 = new FarPoint.Win.Spread.NamedStyle("Excel-0-30");
            FarPoint.Win.ComplexBorder complexBorder5 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType16 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle17 = new FarPoint.Win.Spread.NamedStyle("Excel-0-31");
            FarPoint.Win.ComplexBorder complexBorder6 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType17 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle18 = new FarPoint.Win.Spread.NamedStyle("Excel-0-32");
            FarPoint.Win.ComplexBorder complexBorder7 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType18 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle19 = new FarPoint.Win.Spread.NamedStyle("Excel-0-33");
            FarPoint.Win.ComplexBorder complexBorder8 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType19 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle20 = new FarPoint.Win.Spread.NamedStyle("Excel-0-34");
            FarPoint.Win.ComplexBorder complexBorder9 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType20 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle21 = new FarPoint.Win.Spread.NamedStyle("Excel-0-35");
            FarPoint.Win.ComplexBorder complexBorder10 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType21 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle22 = new FarPoint.Win.Spread.NamedStyle("Excel-0-36");
            FarPoint.Win.ComplexBorder complexBorder11 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType22 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle23 = new FarPoint.Win.Spread.NamedStyle("Excel-0-37");
            FarPoint.Win.ComplexBorder complexBorder12 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType23 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle24 = new FarPoint.Win.Spread.NamedStyle("Excel-0-38");
            FarPoint.Win.ComplexBorder complexBorder13 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType24 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle25 = new FarPoint.Win.Spread.NamedStyle("Excel-0-39");
            FarPoint.Win.ComplexBorder complexBorder14 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType25 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle26 = new FarPoint.Win.Spread.NamedStyle("Excel-0-40");
            FarPoint.Win.ComplexBorder complexBorder15 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType26 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle27 = new FarPoint.Win.Spread.NamedStyle("Excel-0-41");
            FarPoint.Win.ComplexBorder complexBorder16 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType27 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle28 = new FarPoint.Win.Spread.NamedStyle("Excel-0-42");
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType28 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle29 = new FarPoint.Win.Spread.NamedStyle("Excel-0-15-基本数据");
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType29 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle30 = new FarPoint.Win.Spread.NamedStyle("Excel-0-15-筹措表");
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType30 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle31 = new FarPoint.Win.Spread.NamedStyle("Excel-0-15-还本付息表");
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType31 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle32 = new FarPoint.Win.Spread.NamedStyle("Excel-0-15-成本费用表");
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType32 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle33 = new FarPoint.Win.Spread.NamedStyle("Excel-0-15-全投资");
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType33 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle34 = new FarPoint.Win.Spread.NamedStyle("Excel-0-15-资本金");
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType34 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle35 = new FarPoint.Win.Spread.NamedStyle("Excel-0-15-损益表");
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType35 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle36 = new FarPoint.Win.Spread.NamedStyle("Excel-0-15-一览表");
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType36 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle37 = new FarPoint.Win.Spread.NamedStyle("Excel-0-15-参数");
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType37 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.NamedStyle namedStyle38 = new FarPoint.Win.Spread.NamedStyle("Excel-0-15-投资资金");
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType38 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.TipAppearance tipAppearance1 = new FarPoint.Win.Spread.TipAppearance();
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType39 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder17 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.ComplexBorder complexBorder18 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType1 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder19 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType2 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder20 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType3 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder21 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType4 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder22 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType5 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder23 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType6 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder24 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType7 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder25 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType8 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder26 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType40 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder27 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType41 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder28 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType42 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder29 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType43 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType44 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder30 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType45 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder31 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType46 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder32 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType47 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder33 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType48 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder34 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType49 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder35 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType50 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder36 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType51 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder37 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType52 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder38 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType53 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder39 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType54 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder40 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType55 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder41 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType56 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder42 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType57 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder43 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType58 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder44 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType59 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder45 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType60 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder46 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType61 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder47 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType62 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder48 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType63 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder49 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType64 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder50 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType65 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder51 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType66 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType67 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType10 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType11 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType9 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType12 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType10 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType13 = new FarPoint.Win.Spread.CellType.NumberCellType();
            System.Globalization.CultureInfo cultureInfo = new System.Globalization.CultureInfo("zh-CN", false);
            FarPoint.Win.ComplexBorder complexBorder52 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType14 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.ComplexBorder complexBorder53 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType15 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.ComplexBorder complexBorder54 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType16 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.ComplexBorder complexBorder55 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType11 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder56 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType17 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.ComplexBorder complexBorder57 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType18 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.ComplexBorder complexBorder58 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType12 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder59 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType19 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.ComplexBorder complexBorder60 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType13 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder61 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType14 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder62 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType15 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder63 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType20 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.ComplexBorder complexBorder64 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine, System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))))));
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType21 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.ComplexBorder complexBorder65 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType68 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder66 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder67 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder68 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder69 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder70 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder71 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType69 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder72 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder73 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder74 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder75 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder76 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder77 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder78 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType22 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.ComplexBorder complexBorder79 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder80 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType16 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder81 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder82 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType17 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder83 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder84 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType18 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder85 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder86 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType19 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder87 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder88 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType20 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder89 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder90 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType21 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder91 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder92 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType22 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder93 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder94 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType23 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder95 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType70 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder96 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType24 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder97 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder98 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType25 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder99 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType71 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder100 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType26 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder101 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder102 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType27 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder103 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.GeneralCellType generalCellType72 = new FarPoint.Win.Spread.CellType.GeneralCellType();
            FarPoint.Win.ComplexBorder complexBorder104 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType28 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder105 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder106 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType29 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder107 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder108 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType23 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.ComplexBorder complexBorder109 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder110 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType30 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder111 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder112 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType24 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.ComplexBorder complexBorder113 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder114 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType31 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder115 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder116 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.ComplexBorder complexBorder117 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder118 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType32 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder119 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder120 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType33 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder121 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder122 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType34 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder123 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder124 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType25 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.ComplexBorder complexBorder125 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder126 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType26 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.ComplexBorder complexBorder127 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder128 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.Spread.CellType.PercentCellType percentCellType35 = new FarPoint.Win.Spread.CellType.PercentCellType();
            FarPoint.Win.ComplexBorder complexBorder129 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder130 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder131 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder132 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder133 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder134 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder135 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder136 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder137 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder138 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder139 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder140 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder141 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder142 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder143 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder144 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder145 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder146 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder147 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder148 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder149 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder150 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder151 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            FarPoint.Win.ComplexBorder complexBorder152 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine));
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmEconomyAnalysis));
            this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
            this.treeList1 = new DevExpress.XtraTreeList.TreeList();
            this.treeListColumn1 = new DevExpress.XtraTreeList.Columns.TreeListColumn();
            this.ChapterNameTextEdit = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
            this.treeListColumn2 = new DevExpress.XtraTreeList.Columns.TreeListColumn();
            this.RemarkMemoExEdit = new DevExpress.XtraEditors.Repository.RepositoryItemMemoExEdit();
            this.treeListColumn3 = new DevExpress.XtraTreeList.Columns.TreeListColumn();
            this.treeListColumn4 = new DevExpress.XtraTreeList.Columns.TreeListColumn();
            this.treeListColumn5 = new DevExpress.XtraTreeList.Columns.TreeListColumn();
            this.textBox1 = new System.Windows.Forms.TextBox();
            this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
            this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
            this.fpSpread1_Sheet2 = new FarPoint.Win.Spread.SheetView();
            this.fpSpread1_Sheet3 = new FarPoint.Win.Spread.SheetView();
            this.fpSpread1_Sheet4 = new FarPoint.Win.Spread.SheetView();
            this.fpSpread1_Sheet5 = new FarPoint.Win.Spread.SheetView();
            this.fpSpread1_Sheet6 = new FarPoint.Win.Spread.SheetView();
            this.fpSpread1_Sheet7 = new FarPoint.Win.Spread.SheetView();
            this.fpSpread1_Sheet8 = new FarPoint.Win.Spread.SheetView();
            this.fpSpread1_Sheet9 = new FarPoint.Win.Spread.SheetView();
            this.barManager1 = new DevExpress.XtraBars.BarManager();
            this.bar1 = new DevExpress.XtraBars.Bar();
            this.barList = new DevExpress.XtraBars.BarSubItem();
            this.barAdditem = new DevExpress.XtraBars.BarButtonItem();
            this.barAdd1item = new DevExpress.XtraBars.BarButtonItem();
            this.barEdititem = new DevExpress.XtraBars.BarButtonItem();
            this.barDelitem = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem();
            this.barCS = new DevExpress.XtraBars.BarButtonItem();
            this.barSave = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem();
            this.barPrint = new DevExpress.XtraBars.BarButtonItem();
            this.barClose = new DevExpress.XtraBars.BarButtonItem();
            this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
            this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
            this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
            this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
            this.imageList1 = new System.Windows.Forms.ImageList(this.components);
            this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem();
            this.repositoryItemComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
            this.splitContainerControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.treeList1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ChapterNameTextEdit)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.RemarkMemoExEdit)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet6)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet7)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet8)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet9)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).BeginInit();
            this.SuspendLayout();
            // 
            // splitContainerControl1
            // 
            this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainerControl1.Location = new System.Drawing.Point(0, 34);
            this.splitContainerControl1.Name = "splitContainerControl1";
            this.splitContainerControl1.Panel1.Controls.Add(this.treeList1);
            this.splitContainerControl1.Panel1.Text = "splitContainerControl1_Panel1";
            this.splitContainerControl1.Panel2.Controls.Add(this.textBox1);
            this.splitContainerControl1.Panel2.Controls.Add(this.fpSpread1);
            this.splitContainerControl1.Panel2.Text = "splitContainerControl1_Panel2";
            this.splitContainerControl1.Size = new System.Drawing.Size(822, 453);
            this.splitContainerControl1.SplitterPosition = 199;
            this.splitContainerControl1.TabIndex = 0;
            this.splitContainerControl1.Text = "splitContainerControl1";
            // 
            // treeList1
            // 
            this.treeList1.Appearance.HeaderPanel.Options.UseTextOptions = true;
            this.treeList1.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] {
            this.treeListColumn1,
            this.treeListColumn2,
            this.treeListColumn3,
            this.treeListColumn4,
            this.treeListColumn5});
            this.treeList1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.treeList1.KeyFieldName = "UID";
            this.treeList1.Location = new System.Drawing.Point(0, 0);
            this.treeList1.Name = "treeList1";
            this.treeList1.OptionsBehavior.AutoFocusNewNode = true;
            this.treeList1.OptionsSelection.InvertSelection = true;
            this.treeList1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.ChapterNameTextEdit,
            this.RemarkMemoExEdit});
            this.treeList1.Size = new System.Drawing.Size(193, 447);
            this.treeList1.TabIndex = 0;
            this.treeList1.FocusedNodeChanged += new DevExpress.XtraTreeList.FocusedNodeChangedEventHandler(this.treeList1_FocusedNodeChanged);
            this.treeList1.DoubleClick += new System.EventHandler(this.treeList1_DoubleClick);
            // 
            // treeListColumn1
            // 
            this.treeListColumn1.Caption = "目录";
            this.treeListColumn1.ColumnEdit = this.ChapterNameTextEdit;
            this.treeListColumn1.FieldName = "Title";
            this.treeListColumn1.Name = "treeListColumn1";
            this.treeListColumn1.OptionsColumn.AllowEdit = false;
            this.treeListColumn1.VisibleIndex = 0;
            // 
            // ChapterNameTextEdit
            // 
            this.ChapterNameTextEdit.AutoHeight = false;
            this.ChapterNameTextEdit.MaxLength = 100;
            this.ChapterNameTextEdit.Name = "ChapterNameTextEdit";
            // 
            // treeListColumn2
            // 
            this.treeListColumn2.Caption = "备注";
            this.treeListColumn2.ColumnEdit = this.RemarkMemoExEdit;
            this.treeListColumn2.FieldName = "Remark";
            this.treeListColumn2.Name = "treeListColumn2";
            // 
            // RemarkMemoExEdit
            // 
            this.RemarkMemoExEdit.AutoHeight = false;
            this.RemarkMemoExEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.RemarkMemoExEdit.MaxLength = 300;
            this.RemarkMemoExEdit.Name = "RemarkMemoExEdit";
            this.RemarkMemoExEdit.ReadOnly = true;
            // 
            // treeListColumn3
            // 
            this.treeListColumn3.Caption = "UID";
            this.treeListColumn3.FieldName = "UID";
            this.treeListColumn3.Name = "treeListColumn3";
            this.treeListColumn3.OptionsColumn.ShowInCustomizationForm = false;
            // 
            // treeListColumn4
            // 
            this.treeListColumn4.Caption = "ParentId";
            this.treeListColumn4.FieldName = "ParentID";
            this.treeListColumn4.Name = "treeListColumn4";
            this.treeListColumn4.OptionsColumn.ShowInCustomizationForm = false;
            // 
            // treeListColumn5
            // 
            this.treeListColumn5.Caption = "创建日期";
            this.treeListColumn5.FieldName = "CreateDate";
            this.treeListColumn5.Name = "treeListColumn5";
            this.treeListColumn5.OptionsColumn.ShowInCustomizationForm = false;
            this.treeListColumn5.SortOrder = System.Windows.Forms.SortOrder.Ascending;
            // 
            // textBox1
            // 
            this.textBox1.Location = new System.Drawing.Point(118, -385);
            this.textBox1.Name = "textBox1";
            this.textBox1.Size = new System.Drawing.Size(100, 21);
            this.textBox1.TabIndex = 1;
            // 
            // fpSpread1
            // 
            this.fpSpread1.AccessibleDescription = "fpSpread1, 还本付息表, Row 0, Column 0, 附表3   借款还本付息计算表";
            this.fpSpread1.AllowCellOverflow = true;
            this.fpSpread1.AllowUserFormulas = true;
            this.fpSpread1.BackColor = System.Drawing.SystemColors.Control;
            this.fpSpread1.BorderCollapse = FarPoint.Win.Spread.BorderCollapse.Collapse;
            this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.fpSpread1.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.fpSpread1.Location = new System.Drawing.Point(0, 0);
            this.fpSpread1.Name = "fpSpread1";
            namedStyle1.CellType = generalCellType1;
            namedStyle1.Font = new System.Drawing.Font("宋体", 9F);
            namedStyle1.Locked = false;
            namedStyle1.Parent = "DataAreaDefault";
            namedStyle1.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle2.CellType = generalCellType2;
            namedStyle2.Locked = false;
            namedStyle2.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Bottom;
            namedStyle3.CellType = generalCellType3;
            namedStyle3.Locked = false;
            namedStyle3.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Bottom;
            namedStyle4.CellType = generalCellType4;
            namedStyle4.Locked = false;
            namedStyle4.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Bottom;
            namedStyle5.CellType = generalCellType5;
            namedStyle5.Locked = false;
            namedStyle5.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Bottom;
            namedStyle6.CellType = generalCellType6;
            namedStyle6.Locked = false;
            namedStyle6.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Bottom;
            namedStyle7.CellType = generalCellType7;
            namedStyle7.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            namedStyle7.Locked = false;
            namedStyle7.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle8.CellType = generalCellType8;
            namedStyle8.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            namedStyle8.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            namedStyle8.Locked = false;
            namedStyle8.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle9.CellType = generalCellType9;
            namedStyle9.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            namedStyle9.Locked = false;
            namedStyle9.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle10.Border = complexBorder1;
            namedStyle10.CellType = generalCellType10;
            namedStyle10.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            namedStyle10.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            namedStyle10.Locked = false;
            namedStyle10.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle11.Border = complexBorder2;
            namedStyle11.CellType = generalCellType11;
            namedStyle11.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            namedStyle11.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            namedStyle11.Locked = false;
            namedStyle11.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle12.Border = complexBorder3;
            namedStyle12.CellType = generalCellType12;
            namedStyle12.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            namedStyle12.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            namedStyle12.Locked = false;
            namedStyle12.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle13.Border = complexBorder4;
            namedStyle13.CellType = generalCellType13;
            namedStyle13.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            namedStyle13.Locked = false;
            namedStyle13.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle14.CellType = generalCellType14;
            namedStyle14.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            namedStyle14.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            namedStyle14.Locked = false;
            namedStyle14.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle15.CellType = generalCellType15;
            namedStyle15.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            namedStyle15.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            namedStyle15.Locked = false;
            namedStyle15.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle16.Border = complexBorder5;
            namedStyle16.CellType = generalCellType16;
            namedStyle16.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            namedStyle16.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            namedStyle16.Locked = false;
            namedStyle16.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle17.Border = complexBorder6;
            namedStyle17.CellType = generalCellType17;
            namedStyle17.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            namedStyle17.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            namedStyle17.Locked = false;
            namedStyle17.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle18.Border = complexBorder7;
            namedStyle18.CellType = generalCellType18;
            namedStyle18.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            namedStyle18.Locked = false;
            namedStyle18.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle19.Border = complexBorder8;
            namedStyle19.CellType = generalCellType19;
            namedStyle19.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            namedStyle19.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            namedStyle19.Locked = false;
            namedStyle19.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle20.Border = complexBorder9;
            namedStyle20.CellType = generalCellType20;
            namedStyle20.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            namedStyle20.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            namedStyle20.Locked = false;
            namedStyle20.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle21.Border = complexBorder10;
            namedStyle21.CellType = generalCellType21;
            namedStyle21.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            namedStyle21.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            namedStyle21.Locked = false;
            namedStyle21.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle22.Border = complexBorder11;
            namedStyle22.CellType = generalCellType22;
            namedStyle22.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            namedStyle22.Locked = false;
            namedStyle22.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle23.Border = complexBorder12;
            namedStyle23.CellType = generalCellType23;
            namedStyle23.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            namedStyle23.Locked = false;
            namedStyle23.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle24.Border = complexBorder13;
            namedStyle24.CellType = generalCellType24;
            namedStyle24.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            namedStyle24.Locked = false;
            namedStyle24.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle25.Border = complexBorder14;
            namedStyle25.CellType = generalCellType25;
            namedStyle25.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            namedStyle25.Locked = false;
            namedStyle25.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle26.Border = complexBorder15;
            namedStyle26.CellType = generalCellType26;
            namedStyle26.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            namedStyle26.Locked = false;
            namedStyle26.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle27.Border = complexBorder16;
            namedStyle27.CellType = generalCellType27;
            namedStyle27.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            namedStyle27.Locked = false;
            namedStyle27.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle28.CellType = generalCellType28;
            namedStyle28.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            namedStyle28.Locked = false;
            namedStyle28.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle29.CellType = generalCellType29;
            namedStyle29.Font = new System.Drawing.Font("宋体", 9F);
            namedStyle29.Locked = false;
            namedStyle29.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle30.CellType = generalCellType30;
            namedStyle30.Font = new System.Drawing.Font("宋体", 9F);
            namedStyle30.Locked = false;
            namedStyle30.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle31.CellType = generalCellType31;
            namedStyle31.Font = new System.Drawing.Font("宋体", 9F);
            namedStyle31.Locked = false;
            namedStyle31.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle32.CellType = generalCellType32;
            namedStyle32.Font = new System.Drawing.Font("宋体", 9F);
            namedStyle32.Locked = false;
            namedStyle32.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle33.CellType = generalCellType33;
            namedStyle33.Font = new System.Drawing.Font("宋体", 9F);
            namedStyle33.Locked = false;
            namedStyle33.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle34.CellType = generalCellType34;
            namedStyle34.Font = new System.Drawing.Font("宋体", 9F);
            namedStyle34.Locked = false;
            namedStyle34.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle35.CellType = generalCellType35;
            namedStyle35.Font = new System.Drawing.Font("宋体", 9F);
            namedStyle35.Locked = false;
            namedStyle35.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle36.CellType = generalCellType36;
            namedStyle36.Font = new System.Drawing.Font("宋体", 9F);
            namedStyle36.Locked = false;
            namedStyle36.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle37.CellType = generalCellType37;
            namedStyle37.Font = new System.Drawing.Font("宋体", 9F);
            namedStyle37.Locked = false;
            namedStyle37.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            namedStyle38.CellType = generalCellType38;
            namedStyle38.Font = new System.Drawing.Font("宋体", 9F);
            namedStyle38.Locked = false;
            namedStyle38.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1.NamedStyles.AddRange(new FarPoint.Win.Spread.NamedStyle[] {
            namedStyle1,
            namedStyle2,
            namedStyle3,
            namedStyle4,
            namedStyle5,
            namedStyle6,
            namedStyle7,
            namedStyle8,
            namedStyle9,
            namedStyle10,
            namedStyle11,
            namedStyle12,
            namedStyle13,
            namedStyle14,
            namedStyle15,
            namedStyle16,
            namedStyle17,
            namedStyle18,
            namedStyle19,
            namedStyle20,
            namedStyle21,
            namedStyle22,
            namedStyle23,
            namedStyle24,
            namedStyle25,
            namedStyle26,
            namedStyle27,
            namedStyle28,
            namedStyle29,
            namedStyle30,
            namedStyle31,
            namedStyle32,
            namedStyle33,
            namedStyle34,
            namedStyle35,
            namedStyle36,
            namedStyle37,
            namedStyle38});
            this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
            this.fpSpread1_Sheet1,
            this.fpSpread1_Sheet2,
            this.fpSpread1_Sheet3,
            this.fpSpread1_Sheet4,
            this.fpSpread1_Sheet5,
            this.fpSpread1_Sheet6,
            this.fpSpread1_Sheet7,
            this.fpSpread1_Sheet8,
            this.fpSpread1_Sheet9});
            this.fpSpread1.Size = new System.Drawing.Size(613, 447);
            this.fpSpread1.TabIndex = 0;
            this.fpSpread1.TabStrip.ActiveSheetTab.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
            this.fpSpread1.TabStrip.ActiveSheetTab.Size = -1;
            this.fpSpread1.TabStrip.DefaultSheetTab.Font = new System.Drawing.Font("Tahoma", 8F);
            this.fpSpread1.TabStrip.DefaultSheetTab.Size = -1;
            this.fpSpread1.TabStripPolicy = FarPoint.Win.Spread.TabStripPolicy.Always;
            this.fpSpread1.TabStripRatio = 0.664188351920694;
            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.CellClick += new FarPoint.Win.Spread.CellClickEventHandler(this.fpSpread1_CellClick);
            this.fpSpread1.Change += new FarPoint.Win.Spread.ChangeEventHandler(this.fpSpread1_Change);
            this.fpSpread1.ActiveSheetIndex = 2;
            // 
            // fpSpread1_Sheet1
            // 
            this.fpSpread1_Sheet1.Reset();
            this.fpSpread1_Sheet1.SheetName = "基本数据";
            // 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 = 2;
            this.fpSpread1_Sheet1.RowCount = 14;
            this.fpSpread1_Sheet1.AutoUpdateNotes = true;
            this.fpSpread1_Sheet1.Cells.Get(0, 0).CellType = generalCellType39;
            this.fpSpread1_Sheet1.Cells.Get(0, 0).ColumnSpan = 2;
            this.fpSpread1_Sheet1.Cells.Get(0, 0).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet1.Cells.Get(0, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpSpread1_Sheet1.Cells.Get(0, 0).Value = "附表1  电网规划经济评价基本数据";
            this.fpSpread1_Sheet1.Cells.Get(0, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet1.Cells.Get(1, 0).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet1.Cells.Get(1, 0).Value = " ";
            this.fpSpread1_Sheet1.Cells.Get(1, 1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet1.Cells.Get(2, 0).StyleName = "Excel-0-24";
            this.fpSpread1_Sheet1.Cells.Get(2, 0).Value = "经营成本";
            this.fpSpread1_Sheet1.Cells.Get(2, 1).StyleName = "Excel-0-25";
            this.fpSpread1_Sheet1.Cells.Get(2, 1).Value = "新增固定资产原值的5%";
            this.fpSpread1_Sheet1.Cells.Get(3, 0).StyleName = "Excel-0-26";
            this.fpSpread1_Sheet1.Cells.Get(3, 0).Value = "还贷期";
            this.fpSpread1_Sheet1.Cells.Get(3, 1).Border = complexBorder17;
            numberCellType1.DecimalPlaces = 0;
            numberCellType1.MaximumValue = 10000000;
            numberCellType1.MinimumValue = -10000000;
            this.fpSpread1_Sheet1.Cells.Get(3, 1).CellType = numberCellType1;
            this.fpSpread1_Sheet1.Cells.Get(3, 1).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet1.Cells.Get(3, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet1.Cells.Get(4, 0).StyleName = "Excel-0-26";
            this.fpSpread1_Sheet1.Cells.Get(4, 0).Value = "实际贷款年利率";
            this.fpSpread1_Sheet1.Cells.Get(4, 1).Border = complexBorder18;
            percentCellType1.FixedPoint = true;
            percentCellType1.PercentSign = "%";
            this.fpSpread1_Sheet1.Cells.Get(4, 1).CellType = percentCellType1;
            this.fpSpread1_Sheet1.Cells.Get(4, 1).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet1.Cells.Get(4, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet1.Cells.Get(5, 0).StyleName = "Excel-0-26";
            this.fpSpread1_Sheet1.Cells.Get(5, 0).Value = "折旧率";
            this.fpSpread1_Sheet1.Cells.Get(5, 1).Border = complexBorder19;
            percentCellType2.FixedPoint = true;
            percentCellType2.PercentSign = "%";
            this.fpSpread1_Sheet1.Cells.Get(5, 1).CellType = percentCellType2;
            this.fpSpread1_Sheet1.Cells.Get(5, 1).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet1.Cells.Get(5, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet1.Cells.Get(6, 0).StyleName = "Excel-0-26";
            this.fpSpread1_Sheet1.Cells.Get(6, 0).Value = "固定资产残值";
            this.fpSpread1_Sheet1.Cells.Get(6, 1).Border = complexBorder20;
            percentCellType3.FixedPoint = true;
            percentCellType3.PercentSign = "%";
            this.fpSpread1_Sheet1.Cells.Get(6, 1).CellType = percentCellType3;
            this.fpSpread1_Sheet1.Cells.Get(6, 1).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet1.Cells.Get(6, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet1.Cells.Get(7, 0).StyleName = "Excel-0-26";
            this.fpSpread1_Sheet1.Cells.Get(7, 0).Value = "城建及教育附加税";
            this.fpSpread1_Sheet1.Cells.Get(7, 1).Border = complexBorder21;
            percentCellType4.FixedPoint = true;
            percentCellType4.PercentSign = "%";
            this.fpSpread1_Sheet1.Cells.Get(7, 1).CellType = percentCellType4;
            this.fpSpread1_Sheet1.Cells.Get(7, 1).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet1.Cells.Get(7, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet1.Cells.Get(8, 0).StyleName = "Excel-0-26";
            this.fpSpread1_Sheet1.Cells.Get(8, 0).Value = "公积金、公益金率";
            this.fpSpread1_Sheet1.Cells.Get(8, 1).Border = complexBorder22;
            percentCellType5.FixedPoint = true;
            percentCellType5.PercentSign = "%";
            this.fpSpread1_Sheet1.Cells.Get(8, 1).CellType = percentCellType5;
            this.fpSpread1_Sheet1.Cells.Get(8, 1).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet1.Cells.Get(8, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet1.Cells.Get(9, 0).StyleName = "Excel-0-26";
            this.fpSpread1_Sheet1.Cells.Get(9, 0).Value = "所得税率";
            this.fpSpread1_Sheet1.Cells.Get(9, 1).Border = complexBorder23;
            percentCellType6.FixedPoint = true;
            percentCellType6.PercentSign = "%";
            this.fpSpread1_Sheet1.Cells.Get(9, 1).CellType = percentCellType6;
            this.fpSpread1_Sheet1.Cells.Get(9, 1).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet1.Cells.Get(9, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet1.Cells.Get(10, 0).StyleName = "Excel-0-26";
            this.fpSpread1_Sheet1.Cells.Get(10, 0).Value = "折旧还贷率";
            this.fpSpread1_Sheet1.Cells.Get(10, 1).Border = complexBorder24;
            percentCellType7.FixedPoint = true;
            percentCellType7.PercentSign = "%";
            this.fpSpread1_Sheet1.Cells.Get(10, 1).CellType = percentCellType7;
            this.fpSpread1_Sheet1.Cells.Get(10, 1).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet1.Cells.Get(10, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet1.Cells.Get(11, 0).StyleName = "Excel-0-26";
            this.fpSpread1_Sheet1.Cells.Get(11, 0).Value = "股本金分利";
            this.fpSpread1_Sheet1.Cells.Get(11, 1).Border = complexBorder25;
            percentCellType8.FixedPoint = true;
            percentCellType8.PercentSign = "%";
            this.fpSpread1_Sheet1.Cells.Get(11, 1).CellType = percentCellType8;
            this.fpSpread1_Sheet1.Cells.Get(11, 1).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet1.Cells.Get(11, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet1.Cells.Get(12, 0).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet1.Cells.Get(13, 0).StyleName = "Excel-0-28";
            this.fpSpread1_Sheet1.Cells.Get(13, 0).Value = "注:城市维护建设税税率:";
            this.fpSpread1_Sheet1.Cells.Get(13, 1).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet1.Cells.Get(13, 1).Value = "市区7%,县镇5%,其它地区1%;教育费附加3%";
            this.fpSpread1_Sheet1.ColumnHeader.AutoText = FarPoint.Win.Spread.HeaderAutoText.Numbers;
            this.fpSpread1_Sheet1.Columns.Default.Width = 64F;
            this.fpSpread1_Sheet1.Columns.Get(0).Width = 160F;
            this.fpSpread1_Sheet1.Columns.Get(1).Width = 284F;
            this.fpSpread1_Sheet1.DefaultStyleName = "Excel-0-15";
            this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
            this.fpSpread1_Sheet1.Rows.Get(0).Height = 30F;
            // 
            // fpSpread1_Sheet2
            // 
            this.fpSpread1_Sheet2.Reset();
            this.fpSpread1_Sheet2.SheetName = "筹措表";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.fpSpread1_Sheet2.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.fpSpread1_Sheet2.ColumnCount = 50;
            this.fpSpread1_Sheet2.RowCount = 15;
            this.fpSpread1_Sheet2.AutoUpdateNotes = true;
            this.fpSpread1_Sheet2.Cells.Get(0, 0).StyleName = "Excel-0-29";
            this.fpSpread1_Sheet2.Cells.Get(0, 0).Value = "附表2 投资总额和资金筹措表";
            this.fpSpread1_Sheet2.Cells.Get(0, 1).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet2.Cells.Get(0, 2).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet2.Cells.Get(0, 3).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet2.Cells.Get(1, 0).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet2.Cells.Get(1, 1).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet2.Cells.Get(1, 2).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet2.Cells.Get(1, 3).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet2.Cells.Get(2, 0).Border = complexBorder26;
            this.fpSpread1_Sheet2.Cells.Get(2, 0).CellType = generalCellType40;
            this.fpSpread1_Sheet2.Cells.Get(2, 0).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(2, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpSpread1_Sheet2.Cells.Get(2, 0).Value = "序   号";
            this.fpSpread1_Sheet2.Cells.Get(2, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.Cells.Get(2, 1).Border = complexBorder27;
            this.fpSpread1_Sheet2.Cells.Get(2, 1).CellType = generalCellType41;
            this.fpSpread1_Sheet2.Cells.Get(2, 1).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(2, 1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpSpread1_Sheet2.Cells.Get(2, 1).Value = "项   目";
            this.fpSpread1_Sheet2.Cells.Get(2, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.Cells.Get(2, 2).StyleName = "Excel-0-29";
            this.fpSpread1_Sheet2.Cells.Get(2, 3).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet2.Cells.Get(3, 0).Border = complexBorder28;
            this.fpSpread1_Sheet2.Cells.Get(3, 0).CellType = generalCellType42;
            this.fpSpread1_Sheet2.Cells.Get(3, 0).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(3, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpSpread1_Sheet2.Cells.Get(3, 0).Value = 1;
            this.fpSpread1_Sheet2.Cells.Get(3, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.Cells.Get(3, 1).Border = complexBorder29;
            this.fpSpread1_Sheet2.Cells.Get(3, 1).CellType = generalCellType43;
            this.fpSpread1_Sheet2.Cells.Get(3, 1).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(3, 1).Value = "投资总额";
            this.fpSpread1_Sheet2.Cells.Get(3, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.Cells.Get(3, 2).CellType = generalCellType44;
            this.fpSpread1_Sheet2.Cells.Get(3, 2).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(3, 2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet2.Cells.Get(3, 2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.Cells.Get(4, 0).Border = complexBorder30;
            this.fpSpread1_Sheet2.Cells.Get(4, 0).CellType = generalCellType45;
            this.fpSpread1_Sheet2.Cells.Get(4, 0).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(4, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpSpread1_Sheet2.Cells.Get(4, 0).Value = 1.1;
            this.fpSpread1_Sheet2.Cells.Get(4, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.Cells.Get(4, 1).Border = complexBorder31;
            this.fpSpread1_Sheet2.Cells.Get(4, 1).CellType = generalCellType46;
            this.fpSpread1_Sheet2.Cells.Get(4, 1).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(4, 1).Value = "建设静态投资";
            this.fpSpread1_Sheet2.Cells.Get(4, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.Cells.Get(4, 2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet2.Cells.Get(5, 0).Border = complexBorder32;
            this.fpSpread1_Sheet2.Cells.Get(5, 0).CellType = generalCellType47;
            this.fpSpread1_Sheet2.Cells.Get(5, 0).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(5, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpSpread1_Sheet2.Cells.Get(5, 0).Value = 1.2;
            this.fpSpread1_Sheet2.Cells.Get(5, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.Cells.Get(5, 1).Border = complexBorder33;
            this.fpSpread1_Sheet2.Cells.Get(5, 1).CellType = generalCellType48;
            this.fpSpread1_Sheet2.Cells.Get(5, 1).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(5, 1).Value = "建设期利息";
            this.fpSpread1_Sheet2.Cells.Get(5, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.Cells.Get(6, 0).Border = complexBorder34;
            this.fpSpread1_Sheet2.Cells.Get(6, 0).CellType = generalCellType49;
            this.fpSpread1_Sheet2.Cells.Get(6, 0).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(6, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpSpread1_Sheet2.Cells.Get(6, 0).Value = 1.3;
            this.fpSpread1_Sheet2.Cells.Get(6, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.Cells.Get(6, 1).Border = complexBorder35;
            this.fpSpread1_Sheet2.Cells.Get(6, 1).CellType = generalCellType50;
            this.fpSpread1_Sheet2.Cells.Get(6, 1).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(6, 1).Value = "建设动态投资";
            this.fpSpread1_Sheet2.Cells.Get(6, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.Cells.Get(7, 0).Border = complexBorder36;
            this.fpSpread1_Sheet2.Cells.Get(7, 0).CellType = generalCellType51;
            this.fpSpread1_Sheet2.Cells.Get(7, 0).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(7, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpSpread1_Sheet2.Cells.Get(7, 0).Value = 2;
            this.fpSpread1_Sheet2.Cells.Get(7, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.Cells.Get(7, 1).Border = complexBorder37;
            this.fpSpread1_Sheet2.Cells.Get(7, 1).CellType = generalCellType52;
            this.fpSpread1_Sheet2.Cells.Get(7, 1).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(7, 1).Value = "固定资产原值";
            this.fpSpread1_Sheet2.Cells.Get(7, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.Cells.Get(8, 0).Border = complexBorder38;
            this.fpSpread1_Sheet2.Cells.Get(8, 0).CellType = generalCellType53;
            this.fpSpread1_Sheet2.Cells.Get(8, 0).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(8, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpSpread1_Sheet2.Cells.Get(8, 0).Value = 3;
            this.fpSpread1_Sheet2.Cells.Get(8, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.Cells.Get(8, 1).Border = complexBorder39;
            this.fpSpread1_Sheet2.Cells.Get(8, 1).CellType = generalCellType54;
            this.fpSpread1_Sheet2.Cells.Get(8, 1).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(8, 1).Value = "流动资金";
            this.fpSpread1_Sheet2.Cells.Get(8, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.Cells.Get(9, 0).Border = complexBorder40;
            this.fpSpread1_Sheet2.Cells.Get(9, 0).CellType = generalCellType55;
            this.fpSpread1_Sheet2.Cells.Get(9, 0).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(9, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpSpread1_Sheet2.Cells.Get(9, 0).Value = 4;
            this.fpSpread1_Sheet2.Cells.Get(9, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.Cells.Get(9, 1).Border = complexBorder41;
            this.fpSpread1_Sheet2.Cells.Get(9, 1).CellType = generalCellType56;
            this.fpSpread1_Sheet2.Cells.Get(9, 1).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(9, 1).Value = "建设资金筹措";
            this.fpSpread1_Sheet2.Cells.Get(9, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.Cells.Get(10, 0).Border = complexBorder42;
            this.fpSpread1_Sheet2.Cells.Get(10, 0).CellType = generalCellType57;
            this.fpSpread1_Sheet2.Cells.Get(10, 0).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(10, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpSpread1_Sheet2.Cells.Get(10, 0).Value = 4.1;
            this.fpSpread1_Sheet2.Cells.Get(10, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.Cells.Get(10, 1).Border = complexBorder43;
            this.fpSpread1_Sheet2.Cells.Get(10, 1).CellType = generalCellType58;
            this.fpSpread1_Sheet2.Cells.Get(10, 1).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(10, 1).Value = "资本金";
            this.fpSpread1_Sheet2.Cells.Get(10, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.Cells.Get(11, 0).Border = complexBorder44;
            this.fpSpread1_Sheet2.Cells.Get(11, 0).CellType = generalCellType59;
            this.fpSpread1_Sheet2.Cells.Get(11, 0).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(11, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpSpread1_Sheet2.Cells.Get(11, 0).Value = 4.2;
            this.fpSpread1_Sheet2.Cells.Get(11, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.Cells.Get(11, 1).Border = complexBorder45;
            this.fpSpread1_Sheet2.Cells.Get(11, 1).CellType = generalCellType60;
            this.fpSpread1_Sheet2.Cells.Get(11, 1).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(11, 1).Value = "融资";
            this.fpSpread1_Sheet2.Cells.Get(11, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.Cells.Get(12, 0).Border = complexBorder46;
            this.fpSpread1_Sheet2.Cells.Get(12, 0).CellType = generalCellType61;
            this.fpSpread1_Sheet2.Cells.Get(12, 0).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(12, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpSpread1_Sheet2.Cells.Get(12, 0).Value = 5;
            this.fpSpread1_Sheet2.Cells.Get(12, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.Cells.Get(12, 1).Border = complexBorder47;
            this.fpSpread1_Sheet2.Cells.Get(12, 1).CellType = generalCellType62;
            this.fpSpread1_Sheet2.Cells.Get(12, 1).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(12, 1).Value = "流动资金筹措";
            this.fpSpread1_Sheet2.Cells.Get(12, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.Cells.Get(13, 0).Border = complexBorder48;
            this.fpSpread1_Sheet2.Cells.Get(13, 0).CellType = generalCellType63;
            this.fpSpread1_Sheet2.Cells.Get(13, 0).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(13, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpSpread1_Sheet2.Cells.Get(13, 0).Value = 5.1;
            this.fpSpread1_Sheet2.Cells.Get(13, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.Cells.Get(13, 1).Border = complexBorder49;
            this.fpSpread1_Sheet2.Cells.Get(13, 1).CellType = generalCellType64;
            this.fpSpread1_Sheet2.Cells.Get(13, 1).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(13, 1).Value = "自有";
            this.fpSpread1_Sheet2.Cells.Get(13, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.Cells.Get(14, 0).Border = complexBorder50;
            this.fpSpread1_Sheet2.Cells.Get(14, 0).CellType = generalCellType65;
            this.fpSpread1_Sheet2.Cells.Get(14, 0).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(14, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpSpread1_Sheet2.Cells.Get(14, 0).Value = 5.2;
            this.fpSpread1_Sheet2.Cells.Get(14, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.Cells.Get(14, 1).Border = complexBorder51;
            this.fpSpread1_Sheet2.Cells.Get(14, 1).CellType = generalCellType66;
            this.fpSpread1_Sheet2.Cells.Get(14, 1).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet2.Cells.Get(14, 1).Value = "借款";
            this.fpSpread1_Sheet2.Cells.Get(14, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet2.ColumnHeader.AutoText = FarPoint.Win.Spread.HeaderAutoText.Numbers;
            this.fpSpread1_Sheet2.Columns.Default.Width = 64F;
            this.fpSpread1_Sheet2.Columns.Get(0).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(0).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(1).Width = 143F;
            this.fpSpread1_Sheet2.Columns.Get(2).Width = 59F;
            this.fpSpread1_Sheet2.Columns.Get(3).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(3).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(4).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(4).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(5).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(5).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(6).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(6).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(7).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(7).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(8).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(8).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(9).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(9).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(10).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(10).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(11).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(11).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(12).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(12).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(13).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(13).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(14).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(14).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(15).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(15).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(16).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(16).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(17).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(17).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(18).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(18).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(19).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(19).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(20).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(20).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(21).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(21).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(22).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(22).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(23).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(23).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(24).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(24).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(25).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(25).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(26).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(26).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(27).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(27).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(28).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(28).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(29).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(29).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(30).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(30).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(31).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(31).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(32).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(32).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(33).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(33).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(34).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(34).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(35).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(35).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(36).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(36).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(37).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(37).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(38).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(38).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(39).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(39).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(40).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(40).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(41).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(41).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(42).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(42).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(43).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(43).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(44).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(44).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(45).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(45).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(46).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(46).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(47).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(47).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(48).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(48).Width = 61F;
            this.fpSpread1_Sheet2.Columns.Get(49).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet2.Columns.Get(49).Width = 61F;
            this.fpSpread1_Sheet2.DefaultStyleName = "Excel-0-15";
            this.fpSpread1_Sheet2.RowHeader.Columns.Default.Resizable = false;
            // 
            // fpSpread1_Sheet3
            // 
            this.fpSpread1_Sheet3.Reset();
            this.fpSpread1_Sheet3.SheetName = "还本付息表";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.fpSpread1_Sheet3.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.fpSpread1_Sheet3.ColumnCount = 255;
            this.fpSpread1_Sheet3.RowCount = 65535;
            this.fpSpread1_Sheet3.AutoUpdateNotes = true;
            this.fpSpread1_Sheet3.Cells.Get(0, 0).CellType = generalCellType67;
            this.fpSpread1_Sheet3.Cells.Get(0, 0).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet3.Cells.Get(0, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpSpread1_Sheet3.Cells.Get(0, 0).Value = "附表3   借款还本付息计算表";
            this.fpSpread1_Sheet3.Cells.Get(0, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet3.Cells.Get(2, 0).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet3.Cells.Get(3, 0).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet3.Cells.Get(3, 0).Value = "融资";
            this.fpSpread1_Sheet3.Cells.Get(4, 0).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet3.Cells.Get(4, 0).Value = "还贷要求";
            this.fpSpread1_Sheet3.ColumnHeader.AutoText = FarPoint.Win.Spread.HeaderAutoText.Numbers;
            this.fpSpread1_Sheet3.Columns.Default.Width = 64F;
            this.fpSpread1_Sheet3.Columns.Get(0).Width = 112F;
            this.fpSpread1_Sheet3.DefaultStyleName = "Excel-0-15";
            this.fpSpread1_Sheet3.RowHeader.Columns.Default.Resizable = false;
            this.fpSpread1_Sheet3.SelectionPolicy = FarPoint.Win.Spread.Model.SelectionPolicy.MultiRange;
            // 
            // fpSpread1_Sheet4
            // 
            this.fpSpread1_Sheet4.Reset();
            this.fpSpread1_Sheet4.SheetName = "成本费用表";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.fpSpread1_Sheet4.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.fpSpread1_Sheet4.ColumnCount = 100;
            this.fpSpread1_Sheet4.RowCount = 9;
            this.fpSpread1_Sheet4.AutoUpdateNotes = true;
            this.fpSpread1_Sheet4.Cells.Get(0, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpSpread1_Sheet4.Cells.Get(0, 0).Value = "附表4 总成本费用估算表";
            this.fpSpread1_Sheet4.Cells.Get(1, 1).Value = "  ";
            this.fpSpread1_Sheet4.Cells.Get(2, 0).StyleName = "Excel-0-25";
            this.fpSpread1_Sheet4.Cells.Get(2, 0).Value = "序  号";
            this.fpSpread1_Sheet4.Cells.Get(2, 1).StyleName = "Excel-0-33";
            this.fpSpread1_Sheet4.Cells.Get(2, 1).Value = "项      目";
            this.fpSpread1_Sheet4.Cells.Get(3, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet4.Cells.Get(3, 0).Value = 1;
            this.fpSpread1_Sheet4.Cells.Get(3, 1).StyleName = "Excel-0-34";
            this.fpSpread1_Sheet4.Cells.Get(3, 1).Value = "售电量";
            numberCellType2.DecimalPlaces = 0;
            numberCellType2.MaximumValue = 10000000;
            numberCellType2.MinimumValue = -10000000;
            this.fpSpread1_Sheet4.Cells.Get(3, 2).CellType = numberCellType2;
            numberCellType3.DecimalPlaces = 0;
            numberCellType3.MaximumValue = 10000000;
            numberCellType3.MinimumValue = -10000000;
            this.fpSpread1_Sheet4.Cells.Get(3, 3).CellType = numberCellType3;
            numberCellType4.DecimalPlaces = 0;
            numberCellType4.MaximumValue = 10000000;
            numberCellType4.MinimumValue = -10000000;
            this.fpSpread1_Sheet4.Cells.Get(3, 4).CellType = numberCellType4;
            numberCellType5.DecimalPlaces = 0;
            numberCellType5.MaximumValue = 10000000;
            numberCellType5.MinimumValue = -10000000;
            this.fpSpread1_Sheet4.Cells.Get(3, 5).CellType = numberCellType5;
            numberCellType6.DecimalPlaces = 0;
            numberCellType6.MaximumValue = 10000000;
            numberCellType6.MinimumValue = -10000000;
            this.fpSpread1_Sheet4.Cells.Get(3, 6).CellType = numberCellType6;
            numberCellType7.DecimalPlaces = 0;
            numberCellType7.MaximumValue = 10000000;
            numberCellType7.MinimumValue = -10000000;
            this.fpSpread1_Sheet4.Cells.Get(3, 7).CellType = numberCellType7;
            numberCellType8.DecimalPlaces = 0;
            numberCellType8.MaximumValue = 10000000;
            numberCellType8.MinimumValue = -10000000;
            this.fpSpread1_Sheet4.Cells.Get(3, 8).CellType = numberCellType8;
            numberCellType9.DecimalPlaces = 0;
            numberCellType9.MaximumValue = 10000000;
            numberCellType9.MinimumValue = -10000000;
            this.fpSpread1_Sheet4.Cells.Get(3, 9).CellType = numberCellType9;
            numberCellType10.DecimalPlaces = 0;
            numberCellType10.MaximumValue = 10000000;
            numberCellType10.MinimumValue = -10000000;
            this.fpSpread1_Sheet4.Cells.Get(3, 10).CellType = numberCellType10;
            numberCellType11.DecimalPlaces = 0;
            numberCellType11.MaximumValue = 10000000;
            numberCellType11.MinimumValue = -10000000;
            this.fpSpread1_Sheet4.Cells.Get(3, 11).CellType = numberCellType11;
            this.fpSpread1_Sheet4.Cells.Get(4, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet4.Cells.Get(4, 0).Value = 2;
            this.fpSpread1_Sheet4.Cells.Get(4, 1).StyleName = "Excel-0-34";
            this.fpSpread1_Sheet4.Cells.Get(4, 1).Value = "经营成本";
            this.fpSpread1_Sheet4.Cells.Get(5, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet4.Cells.Get(5, 0).Value = 3;
            this.fpSpread1_Sheet4.Cells.Get(5, 1).StyleName = "Excel-0-34";
            this.fpSpread1_Sheet4.Cells.Get(5, 1).Value = "折旧费";
            this.fpSpread1_Sheet4.Cells.Get(6, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet4.Cells.Get(6, 0).Value = 4;
            this.fpSpread1_Sheet4.Cells.Get(6, 1).StyleName = "Excel-0-34";
            this.fpSpread1_Sheet4.Cells.Get(6, 1).Value = "财务费用";
            this.fpSpread1_Sheet4.Cells.Get(7, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet4.Cells.Get(7, 0).Value = 5;
            this.fpSpread1_Sheet4.Cells.Get(7, 1).StyleName = "Excel-0-34";
            this.fpSpread1_Sheet4.Cells.Get(7, 1).Value = "生产成本(2+3)";
            this.fpSpread1_Sheet4.Cells.Get(8, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet4.Cells.Get(8, 0).Value = 6;
            this.fpSpread1_Sheet4.Cells.Get(8, 1).StyleName = "Excel-0-34";
            this.fpSpread1_Sheet4.Cells.Get(8, 1).Value = "输变电总成本(4+5)";
            this.fpSpread1_Sheet4.ColumnHeader.AutoText = FarPoint.Win.Spread.HeaderAutoText.Numbers;
            this.fpSpread1_Sheet4.Columns.Default.Width = 64F;
            this.fpSpread1_Sheet4.Columns.Get(0).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(0).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(1).Width = 113F;
            this.fpSpread1_Sheet4.Columns.Get(2).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(2).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(3).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(3).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(4).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(4).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(5).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(5).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(6).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(6).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(7).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(7).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(8).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(8).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(9).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(9).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(10).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(10).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(11).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(11).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(12).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(12).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(13).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(13).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(14).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(14).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(15).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(15).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(16).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(16).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(17).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(17).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(18).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(18).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(19).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(19).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(20).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(20).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(21).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(21).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(22).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(22).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(23).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(23).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(24).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(24).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(25).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(25).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(26).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(26).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(27).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(27).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(28).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(28).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(29).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(29).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(30).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(30).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(31).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(31).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(32).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(32).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(33).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(33).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(34).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(34).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(35).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(35).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(36).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(36).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(37).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(37).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(38).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(38).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(39).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(39).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(40).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(40).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(41).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(41).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(42).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(42).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(43).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(43).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(44).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(44).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(45).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(45).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(46).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(46).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(47).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(47).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(48).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(48).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(49).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(49).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(50).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(50).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(51).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(51).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(52).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(52).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(53).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(53).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(54).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(54).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(55).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(55).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(56).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(56).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(57).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(57).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(58).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(58).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(59).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(59).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(60).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(60).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(61).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(61).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(62).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(62).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(63).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(63).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(64).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(64).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(65).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(65).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(66).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(66).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(67).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(67).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(68).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(68).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(69).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(69).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(70).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(70).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(71).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(71).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(72).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(72).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(73).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(73).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(74).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(74).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(75).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(75).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(76).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(76).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(77).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(77).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(78).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(78).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(79).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(79).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(80).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(80).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(81).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(81).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(82).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(82).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(83).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(83).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(84).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(84).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(85).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(85).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(86).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(86).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(87).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(87).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(88).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(88).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(89).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(89).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(90).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(90).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(91).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(91).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(92).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(92).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(93).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(93).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(94).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(94).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(95).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(95).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(96).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(96).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(97).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(97).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(98).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(98).Width = 61F;
            this.fpSpread1_Sheet4.Columns.Get(99).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet4.Columns.Get(99).Width = 61F;
            this.fpSpread1_Sheet4.DefaultStyleName = "Excel-0-15";
            this.fpSpread1_Sheet4.RowHeader.Columns.Default.Resizable = false;
            // 
            // fpSpread1_Sheet5
            // 
            this.fpSpread1_Sheet5.Reset();
            this.fpSpread1_Sheet5.SheetName = "全投资";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.fpSpread1_Sheet5.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.fpSpread1_Sheet5.ColumnCount = 100;
            this.fpSpread1_Sheet5.RowCount = 20;
            this.fpSpread1_Sheet5.ActiveColumnIndex = 4;
            this.fpSpread1_Sheet5.ActiveRowIndex = 19;
            this.fpSpread1_Sheet5.AutoUpdateNotes = true;
            this.fpSpread1_Sheet5.Cells.Get(0, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpSpread1_Sheet5.Cells.Get(0, 0).Value = "附表5 现金流量表";
            this.fpSpread1_Sheet5.Cells.Get(2, 0).StyleName = "Excel-0-35";
            this.fpSpread1_Sheet5.Cells.Get(2, 0).Value = "序   号";
            this.fpSpread1_Sheet5.Cells.Get(2, 1).StyleName = "Excel-0-36";
            this.fpSpread1_Sheet5.Cells.Get(2, 1).Value = "     项     目";
            this.fpSpread1_Sheet5.Cells.Get(3, 0).StyleName = "Excel-0-37";
            this.fpSpread1_Sheet5.Cells.Get(3, 1).StyleName = "Excel-0-38";
            this.fpSpread1_Sheet5.Cells.Get(4, 0).StyleName = "Excel-0-25";
            this.fpSpread1_Sheet5.Cells.Get(4, 0).Value = 1;
            this.fpSpread1_Sheet5.Cells.Get(4, 1).StyleName = "Excel-0-39";
            this.fpSpread1_Sheet5.Cells.Get(4, 1).Value = "现金流入";
            this.fpSpread1_Sheet5.Cells.Get(5, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet5.Cells.Get(5, 0).Value = 1.1;
            this.fpSpread1_Sheet5.Cells.Get(5, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet5.Cells.Get(5, 1).Value = "销售加价收入";
            this.fpSpread1_Sheet5.Cells.Get(6, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet5.Cells.Get(6, 0).Value = 1.2;
            this.fpSpread1_Sheet5.Cells.Get(6, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet5.Cells.Get(6, 1).Value = "回收流动资金";
            this.fpSpread1_Sheet5.Cells.Get(7, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet5.Cells.Get(7, 0).Value = 1.3;
            this.fpSpread1_Sheet5.Cells.Get(7, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet5.Cells.Get(7, 1).Value = "回收固定资产余值";
            this.fpSpread1_Sheet5.Cells.Get(8, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet5.Cells.Get(8, 0).Value = 2;
            this.fpSpread1_Sheet5.Cells.Get(8, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet5.Cells.Get(8, 1).Value = "现金流出";
            this.fpSpread1_Sheet5.Cells.Get(9, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet5.Cells.Get(9, 0).Value = 2.1;
            this.fpSpread1_Sheet5.Cells.Get(9, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet5.Cells.Get(9, 1).Value = "建设投资";
            this.fpSpread1_Sheet5.Cells.Get(10, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet5.Cells.Get(10, 0).Value = 2.2;
            this.fpSpread1_Sheet5.Cells.Get(10, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet5.Cells.Get(10, 1).Value = "流动资金";
            this.fpSpread1_Sheet5.Cells.Get(11, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet5.Cells.Get(11, 0).Value = 2.3;
            this.fpSpread1_Sheet5.Cells.Get(11, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet5.Cells.Get(11, 1).Value = "经营成本";
            this.fpSpread1_Sheet5.Cells.Get(12, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet5.Cells.Get(12, 0).Value = 2.4;
            this.fpSpread1_Sheet5.Cells.Get(12, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet5.Cells.Get(12, 1).Value = "销售税金";
            this.fpSpread1_Sheet5.Cells.Get(13, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet5.Cells.Get(13, 0).Value = 2.5;
            this.fpSpread1_Sheet5.Cells.Get(13, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet5.Cells.Get(13, 1).Value = "所得税";
            this.fpSpread1_Sheet5.Cells.Get(14, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet5.Cells.Get(14, 0).Value = 3;
            this.fpSpread1_Sheet5.Cells.Get(14, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet5.Cells.Get(14, 1).Value = "净现金流量";
            this.fpSpread1_Sheet5.Cells.Get(15, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet5.Cells.Get(15, 0).Value = 4;
            this.fpSpread1_Sheet5.Cells.Get(15, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet5.Cells.Get(15, 1).Value = "累计净现金流量";
            this.fpSpread1_Sheet5.Cells.Get(16, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet5.Cells.Get(16, 0).Value = 5;
            this.fpSpread1_Sheet5.Cells.Get(16, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet5.Cells.Get(16, 1).Value = "净现金流量现值";
            this.fpSpread1_Sheet5.Cells.Get(17, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet5.Cells.Get(17, 0).Value = 6;
            this.fpSpread1_Sheet5.Cells.Get(17, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet5.Cells.Get(17, 1).Value = "净现金流量现值累计";
            this.fpSpread1_Sheet5.Cells.Get(19, 0).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet5.Cells.Get(19, 0).Value = "内部收益率";
            percentCellType9.FixedPoint = true;
            percentCellType9.PercentSign = "%";
            this.fpSpread1_Sheet5.Cells.Get(19, 1).CellType = percentCellType9;
            this.fpSpread1_Sheet5.Cells.Get(19, 2).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet5.Cells.Get(19, 3).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet5.Cells.Get(19, 3).Value = "净现值";
            numberCellType12.DecimalPlaces = 0;
            numberCellType12.MaximumValue = 10000000;
            numberCellType12.MinimumValue = -9999999;
            this.fpSpread1_Sheet5.Cells.Get(19, 4).CellType = numberCellType12;
            this.fpSpread1_Sheet5.Cells.Get(19, 5).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet5.Cells.Get(19, 5).Value = "万元";
            this.fpSpread1_Sheet5.Cells.Get(19, 6).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet5.Cells.Get(19, 7).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet5.Cells.Get(19, 7).Value = "回收期";
            this.fpSpread1_Sheet5.Cells.Get(19, 9).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet5.Cells.Get(19, 9).Value = "年";
            this.fpSpread1_Sheet5.ColumnHeader.AutoText = FarPoint.Win.Spread.HeaderAutoText.Numbers;
            this.fpSpread1_Sheet5.Columns.Default.Width = 64F;
            this.fpSpread1_Sheet5.Columns.Get(0).Width = 71F;
            this.fpSpread1_Sheet5.Columns.Get(1).Width = 154F;
            this.fpSpread1_Sheet5.Columns.Get(2).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(2).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(3).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(3).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(4).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(4).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(5).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(5).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(6).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(6).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(7).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(7).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(8).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(8).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(9).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(9).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(10).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(10).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(11).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(11).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(12).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(12).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(13).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(13).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(14).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(14).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(15).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(15).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(16).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(16).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(17).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(17).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(18).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(18).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(19).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(19).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(20).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(20).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(21).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(21).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(22).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(22).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(23).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(23).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(24).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(24).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(25).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(25).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(26).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(26).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(27).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(27).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(28).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(28).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(29).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(29).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(30).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(30).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(31).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(31).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(32).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(32).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(33).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(33).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(34).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(34).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(35).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(35).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(36).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(36).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(37).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(37).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(38).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(38).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(39).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(39).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(40).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(40).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(41).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(41).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(42).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(42).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(43).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(43).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(44).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(44).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(45).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(45).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(46).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(46).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(47).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(47).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(48).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(48).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(49).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(49).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(50).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(50).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(51).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(51).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(52).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(52).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(53).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(53).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(54).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(54).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(55).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(55).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(56).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(56).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(57).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(57).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(58).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(58).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(59).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(59).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(60).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(60).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(61).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(61).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(62).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(62).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(63).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(63).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(64).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(64).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(65).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(65).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(66).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(66).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(67).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(67).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(68).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(68).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(69).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(69).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(70).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(70).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(71).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(71).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(72).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(72).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(73).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(73).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(74).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(74).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(75).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(75).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(76).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(76).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(77).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(77).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(78).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(78).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(79).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(79).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(80).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(80).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(81).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(81).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(82).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(82).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(83).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(83).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(84).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(84).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(85).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(85).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(86).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(86).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(87).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(87).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(88).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(88).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(89).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(89).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(90).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(90).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(91).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(91).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(92).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(92).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(93).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(93).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(94).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(94).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(95).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(95).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(96).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(96).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(97).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(97).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(98).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(98).Width = 61F;
            this.fpSpread1_Sheet5.Columns.Get(99).StyleName = "Excel-0-21";
            this.fpSpread1_Sheet5.Columns.Get(99).Width = 61F;
            this.fpSpread1_Sheet5.DefaultStyleName = "Excel-0-15";
            this.fpSpread1_Sheet5.RowHeader.Columns.Default.Resizable = false;
            // 
            // fpSpread1_Sheet6
            // 
            this.fpSpread1_Sheet6.Reset();
            this.fpSpread1_Sheet6.SheetName = "资本金";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.fpSpread1_Sheet6.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.fpSpread1_Sheet6.ColumnCount = 255;
            this.fpSpread1_Sheet6.RowCount = 20;
            this.fpSpread1_Sheet6.ActiveColumnIndex = 4;
            this.fpSpread1_Sheet6.ActiveRowIndex = 19;
            this.fpSpread1_Sheet6.AutoUpdateNotes = true;
            this.fpSpread1_Sheet6.Cells.Get(0, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpSpread1_Sheet6.Cells.Get(0, 0).Value = "附表6   资  本  金  现  金  流  量  表";
            this.fpSpread1_Sheet6.Cells.Get(2, 0).StyleName = "Excel-0-25";
            this.fpSpread1_Sheet6.Cells.Get(2, 0).Value = "序   号";
            this.fpSpread1_Sheet6.Cells.Get(2, 1).StyleName = "Excel-0-39";
            this.fpSpread1_Sheet6.Cells.Get(2, 1).Value = "     项     目";
            this.fpSpread1_Sheet6.Cells.Get(3, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet6.Cells.Get(3, 1).StyleName = "Excel-0-40";
            this.fpSpread1_Sheet6.Cells.Get(4, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet6.Cells.Get(4, 0).Value = 1;
            this.fpSpread1_Sheet6.Cells.Get(4, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet6.Cells.Get(4, 1).Value = "现金流入";
            this.fpSpread1_Sheet6.Cells.Get(5, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet6.Cells.Get(5, 0).Value = 1.1;
            this.fpSpread1_Sheet6.Cells.Get(5, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet6.Cells.Get(5, 1).Value = "资本金分利";
            this.fpSpread1_Sheet6.Cells.Get(6, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet6.Cells.Get(6, 0).Value = 1.2;
            this.fpSpread1_Sheet6.Cells.Get(6, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet6.Cells.Get(6, 1).Value = "回收流动资金";
            this.fpSpread1_Sheet6.Cells.Get(7, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet6.Cells.Get(7, 0).Value = 1.3;
            this.fpSpread1_Sheet6.Cells.Get(7, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet6.Cells.Get(7, 1).Value = "回收固定资产余值";
            this.fpSpread1_Sheet6.Cells.Get(8, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet6.Cells.Get(8, 0).Value = 1.4;
            this.fpSpread1_Sheet6.Cells.Get(8, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet6.Cells.Get(8, 1).Value = "回收折旧费";
            this.fpSpread1_Sheet6.Cells.Get(9, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet6.Cells.Get(9, 0).Value = 1.5;
            this.fpSpread1_Sheet6.Cells.Get(9, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet6.Cells.Get(9, 1).Value = "回收余留公积金";
            this.fpSpread1_Sheet6.Cells.Get(10, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet6.Cells.Get(10, 0).Value = 2;
            this.fpSpread1_Sheet6.Cells.Get(10, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet6.Cells.Get(10, 1).Value = "现金流出";
            this.fpSpread1_Sheet6.Cells.Get(11, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet6.Cells.Get(11, 0).Value = 2.1;
            this.fpSpread1_Sheet6.Cells.Get(11, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet6.Cells.Get(11, 1).Value = "建设投资";
            this.fpSpread1_Sheet6.Cells.Get(12, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet6.Cells.Get(12, 0).Value = 2.2;
            this.fpSpread1_Sheet6.Cells.Get(12, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet6.Cells.Get(12, 1).Value = "流动资金";
            this.fpSpread1_Sheet6.Cells.Get(13, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet6.Cells.Get(13, 0).Value = 2.3;
            this.fpSpread1_Sheet6.Cells.Get(13, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet6.Cells.Get(13, 1).Value = "其它";
            this.fpSpread1_Sheet6.Cells.Get(14, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet6.Cells.Get(14, 0).Value = 3;
            this.fpSpread1_Sheet6.Cells.Get(14, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet6.Cells.Get(14, 1).Value = "净现金流量";
            this.fpSpread1_Sheet6.Cells.Get(15, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet6.Cells.Get(15, 0).Value = 4;
            this.fpSpread1_Sheet6.Cells.Get(15, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet6.Cells.Get(15, 1).Value = "累计净现金流量";
            this.fpSpread1_Sheet6.Cells.Get(16, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet6.Cells.Get(16, 0).Value = 5;
            this.fpSpread1_Sheet6.Cells.Get(16, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet6.Cells.Get(16, 1).Value = "净现金流量现值";
            this.fpSpread1_Sheet6.Cells.Get(17, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet6.Cells.Get(17, 0).Value = 6;
            this.fpSpread1_Sheet6.Cells.Get(17, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet6.Cells.Get(17, 1).Value = "净现金流量现值累计";
            this.fpSpread1_Sheet6.Cells.Get(19, 0).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet6.Cells.Get(19, 0).Value = "内部收益率";
            percentCellType10.FixedPoint = true;
            percentCellType10.PercentSign = "%";
            this.fpSpread1_Sheet6.Cells.Get(19, 1).CellType = percentCellType10;
            this.fpSpread1_Sheet6.Cells.Get(19, 2).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet6.Cells.Get(19, 3).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet6.Cells.Get(19, 3).Value = "净现值";
            numberCellType13.DecimalPlaces = 0;
            numberCellType13.MaximumValue = 100000000;
            numberCellType13.MinimumValue = -100000000;
            this.fpSpread1_Sheet6.Cells.Get(19, 4).CellType = numberCellType13;
            this.fpSpread1_Sheet6.Cells.Get(19, 4).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet6.Cells.Get(19, 4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet6.Cells.Get(19, 5).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet6.Cells.Get(19, 5).Value = "万元";
            this.fpSpread1_Sheet6.Cells.Get(19, 6).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet6.Cells.Get(19, 7).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet6.Cells.Get(19, 7).Value = "回收期";
            this.fpSpread1_Sheet6.Cells.Get(19, 8).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet6.Cells.Get(19, 9).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet6.Cells.Get(19, 9).Value = "年";
            this.fpSpread1_Sheet6.ColumnHeader.AutoText = FarPoint.Win.Spread.HeaderAutoText.Numbers;
            this.fpSpread1_Sheet6.Columns.Default.Width = 64F;
            this.fpSpread1_Sheet6.Columns.Get(0).Width = 76F;
            this.fpSpread1_Sheet6.Columns.Get(1).Width = 160F;
            this.fpSpread1_Sheet6.DefaultStyleName = "Excel-0-15";
            this.fpSpread1_Sheet6.RowHeader.Columns.Default.Resizable = false;
            // 
            // fpSpread1_Sheet7
            // 
            this.fpSpread1_Sheet7.Reset();
            this.fpSpread1_Sheet7.SheetName = "损益表";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.fpSpread1_Sheet7.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.fpSpread1_Sheet7.ColumnCount = 255;
            this.fpSpread1_Sheet7.RowCount = 13;
            this.fpSpread1_Sheet7.ActiveColumnIndex = 1;
            this.fpSpread1_Sheet7.AutoUpdateNotes = true;
            this.fpSpread1_Sheet7.Cells.Get(0, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpSpread1_Sheet7.Cells.Get(0, 0).Value = "附表7 损益表";
            this.fpSpread1_Sheet7.Cells.Get(2, 0).StyleName = "Excel-0-25";
            this.fpSpread1_Sheet7.Cells.Get(2, 0).Value = "序 号";
            this.fpSpread1_Sheet7.Cells.Get(2, 1).StyleName = "Excel-0-41";
            this.fpSpread1_Sheet7.Cells.Get(2, 1).Value = "项      目";
            this.fpSpread1_Sheet7.Cells.Get(3, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet7.Cells.Get(3, 0).Value = 1;
            this.fpSpread1_Sheet7.Cells.Get(3, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet7.Cells.Get(3, 1).Value = "销售收入";
            this.fpSpread1_Sheet7.Cells.Get(4, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet7.Cells.Get(4, 0).Value = 1.1;
            this.fpSpread1_Sheet7.Cells.Get(4, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet7.Cells.Get(4, 1).Value = "电量加价(不含税)";
            this.fpSpread1_Sheet7.Cells.Get(5, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet7.Cells.Get(5, 0).Value = 1.2;
            this.fpSpread1_Sheet7.Cells.Get(5, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet7.Cells.Get(5, 1).Value = "售电量";
            this.fpSpread1_Sheet7.Cells.Get(6, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet7.Cells.Get(6, 0).Value = 2;
            this.fpSpread1_Sheet7.Cells.Get(6, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet7.Cells.Get(6, 1).Value = "销售税金及附加";
            this.fpSpread1_Sheet7.Cells.Get(7, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet7.Cells.Get(7, 0).Value = 3;
            this.fpSpread1_Sheet7.Cells.Get(7, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet7.Cells.Get(7, 1).Value = "总成本费用";
            this.fpSpread1_Sheet7.Cells.Get(8, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet7.Cells.Get(8, 0).Value = 4;
            this.fpSpread1_Sheet7.Cells.Get(8, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet7.Cells.Get(8, 1).Value = "销售利润";
            this.fpSpread1_Sheet7.Cells.Get(9, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet7.Cells.Get(9, 0).Value = 5;
            this.fpSpread1_Sheet7.Cells.Get(9, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet7.Cells.Get(9, 1).Value = "所得税";
            this.fpSpread1_Sheet7.Cells.Get(10, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet7.Cells.Get(10, 0).Value = 6;
            this.fpSpread1_Sheet7.Cells.Get(10, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet7.Cells.Get(10, 1).Value = "公积金、公益金";
            this.fpSpread1_Sheet7.Cells.Get(11, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet7.Cells.Get(11, 0).Value = 7;
            this.fpSpread1_Sheet7.Cells.Get(11, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet7.Cells.Get(11, 1).Value = "偿还建设投资借款";
            this.fpSpread1_Sheet7.Cells.Get(12, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet7.Cells.Get(12, 0).Value = 8;
            this.fpSpread1_Sheet7.Cells.Get(12, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet7.Cells.Get(12, 1).Value = "资本金分利";
            this.fpSpread1_Sheet7.ColumnHeader.AutoText = FarPoint.Win.Spread.HeaderAutoText.Numbers;
            this.fpSpread1_Sheet7.Columns.Default.Width = 64F;
            this.fpSpread1_Sheet7.Columns.Get(1).Width = 142F;
            this.fpSpread1_Sheet7.Columns.Get(4).Width = 63F;
            this.fpSpread1_Sheet7.DefaultStyleName = "Excel-0-15";
            this.fpSpread1_Sheet7.RowHeader.Columns.Default.Resizable = false;
            // 
            // fpSpread1_Sheet8
            // 
            this.fpSpread1_Sheet8.Reset();
            this.fpSpread1_Sheet8.SheetName = "一览表";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.fpSpread1_Sheet8.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.fpSpread1_Sheet8.ColumnCount = 4;
            this.fpSpread1_Sheet8.RowCount = 21;
            this.fpSpread1_Sheet8.ActiveColumnIndex = 1;
            this.fpSpread1_Sheet8.ActiveRowIndex = 17;
            this.fpSpread1_Sheet8.AutoUpdateNotes = true;
            this.fpSpread1_Sheet8.Cells.Get(0, 0).ColumnSpan = 4;
            this.fpSpread1_Sheet8.Cells.Get(0, 0).StyleName = "Excel-0-22";
            this.fpSpread1_Sheet8.Cells.Get(0, 0).Value = "附表8   工  程  经  济  效  益  指  标  一  览  表";
            this.fpSpread1_Sheet8.Cells.Get(0, 1).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet8.Cells.Get(0, 2).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet8.Cells.Get(1, 0).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet8.Cells.Get(1, 1).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet8.Cells.Get(1, 2).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet8.Cells.Get(2, 0).StyleName = "Excel-0-25";
            this.fpSpread1_Sheet8.Cells.Get(2, 0).Value = "  序    号";
            this.fpSpread1_Sheet8.Cells.Get(2, 1).StyleName = "Excel-0-39";
            this.fpSpread1_Sheet8.Cells.Get(2, 1).Value = "项       目";
            this.fpSpread1_Sheet8.Cells.Get(2, 2).StyleName = "Excel-0-39";
            this.fpSpread1_Sheet8.Cells.Get(2, 2).Value = "单   位";
            this.fpSpread1_Sheet8.Cells.Get(2, 3).StyleName = "Excel-0-39";
            this.fpSpread1_Sheet8.Cells.Get(2, 3).Value = "指   标";
            this.fpSpread1_Sheet8.Cells.Get(3, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet8.Cells.Get(3, 0).Value = 1;
            this.fpSpread1_Sheet8.Cells.Get(3, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet8.Cells.Get(3, 1).Value = "输变电静态投资";
            this.fpSpread1_Sheet8.Cells.Get(3, 2).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet8.Cells.Get(3, 2).Value = "万元";
            this.fpSpread1_Sheet8.Cells.Get(3, 3).Border = complexBorder52;
            numberCellType14.DecimalPlaces = 0;
            numberCellType14.MaximumValue = 10000000;
            numberCellType14.MinimumValue = -10000000;
            this.fpSpread1_Sheet8.Cells.Get(3, 3).CellType = numberCellType14;
            this.fpSpread1_Sheet8.Cells.Get(3, 3).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet8.Cells.Get(3, 3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet8.Cells.Get(4, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet8.Cells.Get(4, 0).Value = 2;
            this.fpSpread1_Sheet8.Cells.Get(4, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet8.Cells.Get(4, 1).Value = "建设期利息";
            this.fpSpread1_Sheet8.Cells.Get(4, 2).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet8.Cells.Get(4, 2).Value = "万元";
            this.fpSpread1_Sheet8.Cells.Get(4, 3).Border = complexBorder53;
            numberCellType15.DecimalPlaces = 0;
            numberCellType15.MaximumValue = 10000000;
            numberCellType15.MinimumValue = -10000000;
            this.fpSpread1_Sheet8.Cells.Get(4, 3).CellType = numberCellType15;
            this.fpSpread1_Sheet8.Cells.Get(4, 3).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet8.Cells.Get(4, 3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet8.Cells.Get(5, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet8.Cells.Get(5, 0).Value = 3;
            this.fpSpread1_Sheet8.Cells.Get(5, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet8.Cells.Get(5, 1).Value = "输变电动态投资";
            this.fpSpread1_Sheet8.Cells.Get(5, 2).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet8.Cells.Get(5, 2).Value = "万元";
            this.fpSpread1_Sheet8.Cells.Get(5, 3).Border = complexBorder54;
            numberCellType16.DecimalPlaces = 0;
            numberCellType16.MaximumValue = 10000000;
            numberCellType16.MinimumValue = -10000000;
            this.fpSpread1_Sheet8.Cells.Get(5, 3).CellType = numberCellType16;
            this.fpSpread1_Sheet8.Cells.Get(5, 3).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet8.Cells.Get(5, 3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet8.Cells.Get(6, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet8.Cells.Get(6, 0).Value = 4;
            this.fpSpread1_Sheet8.Cells.Get(6, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet8.Cells.Get(6, 1).Value = "内部收益率(全部投资)";
            this.fpSpread1_Sheet8.Cells.Get(6, 2).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet8.Cells.Get(6, 2).Value = "%";
            this.fpSpread1_Sheet8.Cells.Get(6, 3).Border = complexBorder55;
            percentCellType11.FixedPoint = true;
            percentCellType11.PercentSign = "%";
            this.fpSpread1_Sheet8.Cells.Get(6, 3).CellType = percentCellType11;
            this.fpSpread1_Sheet8.Cells.Get(6, 3).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet8.Cells.Get(6, 3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet8.Cells.Get(7, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet8.Cells.Get(7, 0).Value = 5;
            this.fpSpread1_Sheet8.Cells.Get(7, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet8.Cells.Get(7, 1).Value = "净现值";
            this.fpSpread1_Sheet8.Cells.Get(7, 2).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet8.Cells.Get(7, 2).Value = "万元";
            this.fpSpread1_Sheet8.Cells.Get(7, 3).Border = complexBorder56;
            numberCellType17.DecimalPlaces = 0;
            numberCellType17.MaximumValue = 10000000;
            numberCellType17.MinimumValue = -10000000;
            this.fpSpread1_Sheet8.Cells.Get(7, 3).CellType = numberCellType17;
            this.fpSpread1_Sheet8.Cells.Get(7, 3).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet8.Cells.Get(7, 3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet8.Cells.Get(8, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet8.Cells.Get(8, 0).Value = 6;
            this.fpSpread1_Sheet8.Cells.Get(8, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet8.Cells.Get(8, 1).Value = "投资回收期";
            this.fpSpread1_Sheet8.Cells.Get(8, 2).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet8.Cells.Get(8, 2).Value = "年";
            this.fpSpread1_Sheet8.Cells.Get(8, 3).Border = complexBorder57;
            numberCellType18.DecimalPlaces = 1;
            numberCellType18.FixedPoint = false;
            numberCellType18.MaximumValue = 10000000;
            numberCellType18.MinimumValue = -10000000;
            this.fpSpread1_Sheet8.Cells.Get(8, 3).CellType = numberCellType18;
            this.fpSpread1_Sheet8.Cells.Get(8, 3).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet8.Cells.Get(8, 3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet8.Cells.Get(9, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet8.Cells.Get(9, 0).Value = 7;
            this.fpSpread1_Sheet8.Cells.Get(9, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet8.Cells.Get(9, 1).Value = "内部收益率(资本金)";
            this.fpSpread1_Sheet8.Cells.Get(9, 2).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet8.Cells.Get(9, 2).Value = "%";
            this.fpSpread1_Sheet8.Cells.Get(9, 3).Border = complexBorder58;
            percentCellType12.FixedPoint = true;
            percentCellType12.PercentSign = "%";
            this.fpSpread1_Sheet8.Cells.Get(9, 3).CellType = percentCellType12;
            this.fpSpread1_Sheet8.Cells.Get(9, 3).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet8.Cells.Get(9, 3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet8.Cells.Get(10, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet8.Cells.Get(10, 0).Value = 8;
            this.fpSpread1_Sheet8.Cells.Get(10, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet8.Cells.Get(10, 1).Value = "净现值";
            this.fpSpread1_Sheet8.Cells.Get(10, 2).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet8.Cells.Get(10, 2).Value = "万元";
            this.fpSpread1_Sheet8.Cells.Get(10, 3).Border = complexBorder59;
            numberCellType19.DecimalPlaces = 0;
            numberCellType19.MaximumValue = 10000000;
            numberCellType19.MinimumValue = -10000000;
            this.fpSpread1_Sheet8.Cells.Get(10, 3).CellType = numberCellType19;
            this.fpSpread1_Sheet8.Cells.Get(10, 3).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet8.Cells.Get(10, 3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet8.Cells.Get(11, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet8.Cells.Get(11, 0).Value = 9;
            this.fpSpread1_Sheet8.Cells.Get(11, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet8.Cells.Get(11, 1).Value = "投资利润率";
            this.fpSpread1_Sheet8.Cells.Get(11, 2).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet8.Cells.Get(11, 2).Value = "%";
            this.fpSpread1_Sheet8.Cells.Get(11, 3).Border = complexBorder60;
            percentCellType13.FixedPoint = true;
            percentCellType13.PercentSign = "%";
            this.fpSpread1_Sheet8.Cells.Get(11, 3).CellType = percentCellType13;
            this.fpSpread1_Sheet8.Cells.Get(11, 3).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet8.Cells.Get(11, 3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet8.Cells.Get(12, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet8.Cells.Get(12, 0).Value = 10;
            this.fpSpread1_Sheet8.Cells.Get(12, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet8.Cells.Get(12, 1).Value = "投资利税率";
            this.fpSpread1_Sheet8.Cells.Get(12, 2).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet8.Cells.Get(12, 2).Value = "%";
            this.fpSpread1_Sheet8.Cells.Get(12, 3).Border = complexBorder61;
            percentCellType14.FixedPoint = true;
            percentCellType14.PercentSign = "%";
            this.fpSpread1_Sheet8.Cells.Get(12, 3).CellType = percentCellType14;
            this.fpSpread1_Sheet8.Cells.Get(12, 3).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet8.Cells.Get(12, 3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet8.Cells.Get(13, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet8.Cells.Get(13, 0).Value = 11;
            this.fpSpread1_Sheet8.Cells.Get(13, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet8.Cells.Get(13, 1).Value = "资本金净利润率";
            this.fpSpread1_Sheet8.Cells.Get(13, 2).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet8.Cells.Get(13, 2).Value = "%";
            this.fpSpread1_Sheet8.Cells.Get(13, 3).Border = complexBorder62;
            percentCellType15.FixedPoint = true;
            percentCellType15.PercentSign = "%";
            this.fpSpread1_Sheet8.Cells.Get(13, 3).CellType = percentCellType15;
            this.fpSpread1_Sheet8.Cells.Get(13, 3).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet8.Cells.Get(13, 3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet8.Cells.Get(14, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet8.Cells.Get(14, 0).Value = 12;
            this.fpSpread1_Sheet8.Cells.Get(14, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet8.Cells.Get(14, 1).Value = "电网电量不含税加价(还贷期间)";
            this.fpSpread1_Sheet8.Cells.Get(14, 2).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet8.Cells.Get(14, 2).Value = "元/千瓦时";
            this.fpSpread1_Sheet8.Cells.Get(14, 3).Border = complexBorder63;
            numberCellType20.DecimalPlaces = 4;
            this.fpSpread1_Sheet8.Cells.Get(14, 3).CellType = numberCellType20;
            this.fpSpread1_Sheet8.Cells.Get(14, 3).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet8.Cells.Get(14, 3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet8.Cells.Get(15, 0).StyleName = "Excel-0-31";
            this.fpSpread1_Sheet8.Cells.Get(15, 0).Value = 13;
            this.fpSpread1_Sheet8.Cells.Get(15, 1).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet8.Cells.Get(15, 1).Value = "电网电量不含税加价(还贷后)";
            this.fpSpread1_Sheet8.Cells.Get(15, 2).StyleName = "Excel-0-32";
            this.fpSpread1_Sheet8.Cells.Get(15, 2).Value = "元/千瓦时";
            this.fpSpread1_Sheet8.Cells.Get(15, 3).Border = complexBorder64;
            numberCellType21.DecimalPlaces = 4;
            this.fpSpread1_Sheet8.Cells.Get(15, 3).CellType = numberCellType21;
            this.fpSpread1_Sheet8.Cells.Get(15, 3).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet8.Cells.Get(15, 3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet8.Cells.Get(16, 0).Border = complexBorder65;
            this.fpSpread1_Sheet8.Cells.Get(16, 0).CellType = generalCellType68;
            this.fpSpread1_Sheet8.Cells.Get(16, 0).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet8.Cells.Get(16, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpSpread1_Sheet8.Cells.Get(16, 0).ParseFormatInfo = ((System.Globalization.NumberFormatInfo)(cultureInfo.NumberFormat.Clone()));
            ((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet8.Cells.Get(16, 0).ParseFormatInfo)).NumberDecimalDigits = 0;
            ((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet8.Cells.Get(16, 0).ParseFormatInfo)).NumberGroupSizes = new int[] {
        0};
            this.fpSpread1_Sheet8.Cells.Get(16, 0).ParseFormatString = "n";
            this.fpSpread1_Sheet8.Cells.Get(16, 0).Value = 14;
            this.fpSpread1_Sheet8.Cells.Get(16, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet8.Cells.Get(16, 1).Border = complexBorder66;
            this.fpSpread1_Sheet8.Cells.Get(16, 1).Value = "单位电量输配电成本(不含网费,不含税)";
            this.fpSpread1_Sheet8.Cells.Get(16, 2).Border = complexBorder67;
            this.fpSpread1_Sheet8.Cells.Get(16, 2).Value = "元/兆瓦时";
            this.fpSpread1_Sheet8.Cells.Get(16, 3).Border = complexBorder68;
            this.fpSpread1_Sheet8.Cells.Get(17, 0).Border = complexBorder69;
            this.fpSpread1_Sheet8.Cells.Get(17, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpSpread1_Sheet8.Cells.Get(17, 0).ParseFormatInfo = ((System.Globalization.NumberFormatInfo)(cultureInfo.NumberFormat.Clone()));
            ((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet8.Cells.Get(17, 0).ParseFormatInfo)).NumberDecimalDigits = 0;
            ((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet8.Cells.Get(17, 0).ParseFormatInfo)).NumberGroupSizes = new int[] {
        0};
            this.fpSpread1_Sheet8.Cells.Get(17, 0).ParseFormatString = "n";
            this.fpSpread1_Sheet8.Cells.Get(17, 0).Value = 15;
            this.fpSpread1_Sheet8.Cells.Get(17, 1).Border = complexBorder70;
            this.fpSpread1_Sheet8.Cells.Get(17, 1).Value = "单位电量输配电成本(不含网费,含税)";
            this.fpSpread1_Sheet8.Cells.Get(17, 2).Border = complexBorder71;
            this.fpSpread1_Sheet8.Cells.Get(17, 2).CellType = generalCellType69;
            this.fpSpread1_Sheet8.Cells.Get(17, 2).Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.fpSpread1_Sheet8.Cells.Get(17, 2).Value = "元/兆瓦时";
            this.fpSpread1_Sheet8.Cells.Get(17, 2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
            this.fpSpread1_Sheet8.Cells.Get(17, 3).Border = complexBorder72;
            this.fpSpread1_Sheet8.Cells.Get(18, 0).Border = complexBorder73;
            this.fpSpread1_Sheet8.Cells.Get(18, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpSpread1_Sheet8.Cells.Get(18, 0).ParseFormatInfo = ((System.Globalization.NumberFormatInfo)(cultureInfo.NumberFormat.Clone()));
            ((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet8.Cells.Get(18, 0).ParseFormatInfo)).NumberDecimalDigits = 0;
            ((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet8.Cells.Get(18, 0).ParseFormatInfo)).NumberGroupSizes = new int[] {
        0};
            this.fpSpread1_Sheet8.Cells.Get(18, 0).ParseFormatString = "n";
            this.fpSpread1_Sheet8.Cells.Get(18, 0).Value = 16;
            this.fpSpread1_Sheet8.Cells.Get(18, 1).Border = complexBorder74;
            this.fpSpread1_Sheet8.Cells.Get(18, 1).Value = "单位电量输配电成本(含网费,含税)";
            this.fpSpread1_Sheet8.Cells.Get(18, 2).Border = complexBorder75;
            this.fpSpread1_Sheet8.Cells.Get(18, 2).Value = "元/兆瓦时";
            this.fpSpread1_Sheet8.Cells.Get(18, 3).Border = complexBorder76;
            this.fpSpread1_Sheet8.Cells.Get(20, 0).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet8.Cells.Get(20, 0).Value = "备注:";
            this.fpSpread1_Sheet8.Cells.Get(20, 1).StyleName = "Excel-0-23";
            this.fpSpread1_Sheet8.Cells.Get(20, 1).Value = "含税价=不含税价×1.17";
            this.fpSpread1_Sheet8.ColumnHeader.AutoText = FarPoint.Win.Spread.HeaderAutoText.Numbers;
            this.fpSpread1_Sheet8.Columns.Default.Width = 64F;
            this.fpSpread1_Sheet8.Columns.Get(0).Width = 106F;
            this.fpSpread1_Sheet8.Columns.Get(1).Width = 199F;
            this.fpSpread1_Sheet8.Columns.Get(2).Width = 79F;
            this.fpSpread1_Sheet8.DefaultStyleName = "Excel-0-15";
            this.fpSpread1_Sheet8.RowHeader.Columns.Default.Resizable = false;
            this.fpSpread1_Sheet8.Rows.Get(0).Height = 21F;
            // 
            // fpSpread1_Sheet9
            // 
            this.fpSpread1_Sheet9.Reset();
            this.fpSpread1_Sheet9.SheetName = "参数";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.fpSpread1_Sheet9.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.fpSpread1_Sheet9.ColumnCount = 4;
            this.fpSpread1_Sheet9.RowCount = 27;
            this.fpSpread1_Sheet9.AutoUpdateNotes = true;
            this.fpSpread1_Sheet9.Cells.Get(0, 0).ColumnSpan = 4;
            this.fpSpread1_Sheet9.Cells.Get(0, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(0, 0).Value = "参数设置";
            this.fpSpread1_Sheet9.Cells.Get(0, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(1, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(1, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(1, 1).Value = "      ";
            this.fpSpread1_Sheet9.Cells.Get(1, 2).Value = " ";
            this.fpSpread1_Sheet9.Cells.Get(2, 0).Border = complexBorder77;
            this.fpSpread1_Sheet9.Cells.Get(2, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(2, 0).Value = "还贷期";
            this.fpSpread1_Sheet9.Cells.Get(2, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(2, 1).Border = complexBorder78;
            numberCellType22.DecimalPlaces = 0;
            numberCellType22.FixedPoint = false;
            numberCellType22.MaximumValue = 9999999;
            numberCellType22.MinimumValue = -9999999;
            this.fpSpread1_Sheet9.Cells.Get(2, 1).CellType = numberCellType22;
            this.fpSpread1_Sheet9.Cells.Get(2, 1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet9.Cells.Get(2, 1).Value = 0;
            this.fpSpread1_Sheet9.Cells.Get(2, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(2, 2).Border = complexBorder79;
            this.fpSpread1_Sheet9.Cells.Get(2, 2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(2, 2).Value = "教育费附加";
            this.fpSpread1_Sheet9.Cells.Get(2, 2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(2, 3).Border = complexBorder80;
            percentCellType16.FixedPoint = true;
            percentCellType16.PercentSign = "%";
            this.fpSpread1_Sheet9.Cells.Get(2, 3).CellType = percentCellType16;
            this.fpSpread1_Sheet9.Cells.Get(2, 3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet9.Cells.Get(2, 3).Value = 0.03;
            this.fpSpread1_Sheet9.Cells.Get(2, 3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(3, 0).Border = complexBorder81;
            this.fpSpread1_Sheet9.Cells.Get(3, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(3, 0).Value = "实际贷款年利率";
            this.fpSpread1_Sheet9.Cells.Get(3, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(3, 1).Border = complexBorder82;
            percentCellType17.FixedPoint = true;
            percentCellType17.PercentSign = "%";
            this.fpSpread1_Sheet9.Cells.Get(3, 1).CellType = percentCellType17;
            this.fpSpread1_Sheet9.Cells.Get(3, 1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet9.Cells.Get(3, 1).Value = 0.06;
            this.fpSpread1_Sheet9.Cells.Get(3, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(3, 2).Border = complexBorder83;
            this.fpSpread1_Sheet9.Cells.Get(3, 2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(3, 2).Value = "动态投资分额";
            this.fpSpread1_Sheet9.Cells.Get(3, 2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(3, 3).Border = complexBorder84;
            percentCellType18.FixedPoint = true;
            percentCellType18.PercentSign = "%";
            this.fpSpread1_Sheet9.Cells.Get(3, 3).CellType = percentCellType18;
            this.fpSpread1_Sheet9.Cells.Get(3, 3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet9.Cells.Get(3, 3).Value = 0.8;
            this.fpSpread1_Sheet9.Cells.Get(3, 3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(4, 0).Border = complexBorder85;
            this.fpSpread1_Sheet9.Cells.Get(4, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(4, 0).Value = "折旧率";
            this.fpSpread1_Sheet9.Cells.Get(4, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(4, 1).Border = complexBorder86;
            percentCellType19.FixedPoint = true;
            percentCellType19.PercentSign = "%";
            this.fpSpread1_Sheet9.Cells.Get(4, 1).CellType = percentCellType19;
            this.fpSpread1_Sheet9.Cells.Get(4, 1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet9.Cells.Get(4, 1).Value = 0.0475;
            this.fpSpread1_Sheet9.Cells.Get(4, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(4, 2).Border = complexBorder87;
            this.fpSpread1_Sheet9.Cells.Get(4, 2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(4, 2).Value = "流动资金比率";
            this.fpSpread1_Sheet9.Cells.Get(4, 2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(4, 3).Border = complexBorder88;
            percentCellType20.FixedPoint = true;
            percentCellType20.PercentSign = "%";
            this.fpSpread1_Sheet9.Cells.Get(4, 3).CellType = percentCellType20;
            this.fpSpread1_Sheet9.Cells.Get(4, 3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet9.Cells.Get(4, 3).Value = 0.01;
            this.fpSpread1_Sheet9.Cells.Get(4, 3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(5, 0).Border = complexBorder89;
            this.fpSpread1_Sheet9.Cells.Get(5, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(5, 0).Value = "固定资产残值";
            this.fpSpread1_Sheet9.Cells.Get(5, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(5, 1).Border = complexBorder90;
            percentCellType21.FixedPoint = true;
            percentCellType21.PercentSign = "%";
            this.fpSpread1_Sheet9.Cells.Get(5, 1).CellType = percentCellType21;
            this.fpSpread1_Sheet9.Cells.Get(5, 1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet9.Cells.Get(5, 1).Value = 0.05;
            this.fpSpread1_Sheet9.Cells.Get(5, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(5, 2).Border = complexBorder91;
            this.fpSpread1_Sheet9.Cells.Get(5, 2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(5, 2).Value = "资本金比率";
            this.fpSpread1_Sheet9.Cells.Get(5, 2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(5, 3).Border = complexBorder92;
            percentCellType22.FixedPoint = true;
            percentCellType22.PercentSign = "%";
            this.fpSpread1_Sheet9.Cells.Get(5, 3).CellType = percentCellType22;
            this.fpSpread1_Sheet9.Cells.Get(5, 3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet9.Cells.Get(5, 3).Value = 0.2;
            this.fpSpread1_Sheet9.Cells.Get(5, 3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(6, 0).Border = complexBorder93;
            this.fpSpread1_Sheet9.Cells.Get(6, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(6, 0).Value = "城建及教育附加税";
            this.fpSpread1_Sheet9.Cells.Get(6, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(6, 1).Border = complexBorder94;
            percentCellType23.FixedPoint = true;
            percentCellType23.PercentSign = "%";
            this.fpSpread1_Sheet9.Cells.Get(6, 1).CellType = percentCellType23;
            this.fpSpread1_Sheet9.Cells.Get(6, 1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet9.Cells.Get(6, 1).Value = 0.1;
            this.fpSpread1_Sheet9.Cells.Get(6, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(6, 2).Border = complexBorder95;
            this.fpSpread1_Sheet9.Cells.Get(6, 2).CellType = generalCellType70;
            this.fpSpread1_Sheet9.Cells.Get(6, 2).Font = new System.Drawing.Font("宋体", 9F);
            this.fpSpread1_Sheet9.Cells.Get(6, 2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(6, 2).Value = "自有资金比率";
            this.fpSpread1_Sheet9.Cells.Get(6, 2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(6, 3).Border = complexBorder96;
            percentCellType24.FixedPoint = true;
            percentCellType24.PercentSign = "%";
            this.fpSpread1_Sheet9.Cells.Get(6, 3).CellType = percentCellType24;
            this.fpSpread1_Sheet9.Cells.Get(6, 3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet9.Cells.Get(6, 3).Value = 0.3;
            this.fpSpread1_Sheet9.Cells.Get(6, 3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(7, 0).Border = complexBorder97;
            this.fpSpread1_Sheet9.Cells.Get(7, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(7, 0).Value = "公积金,公益金率";
            this.fpSpread1_Sheet9.Cells.Get(7, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(7, 1).Border = complexBorder98;
            percentCellType25.FixedPoint = true;
            percentCellType25.PercentSign = "%";
            this.fpSpread1_Sheet9.Cells.Get(7, 1).CellType = percentCellType25;
            this.fpSpread1_Sheet9.Cells.Get(7, 1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet9.Cells.Get(7, 1).Value = 0.15;
            this.fpSpread1_Sheet9.Cells.Get(7, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(7, 2).Border = complexBorder99;
            this.fpSpread1_Sheet9.Cells.Get(7, 2).CellType = generalCellType71;
            this.fpSpread1_Sheet9.Cells.Get(7, 2).Font = new System.Drawing.Font("宋体", 9F);
            this.fpSpread1_Sheet9.Cells.Get(7, 2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(7, 2).Value = "存贷利率比";
            this.fpSpread1_Sheet9.Cells.Get(7, 2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(7, 3).Border = complexBorder100;
            percentCellType26.FixedPoint = true;
            percentCellType26.PercentSign = "%";
            this.fpSpread1_Sheet9.Cells.Get(7, 3).CellType = percentCellType26;
            this.fpSpread1_Sheet9.Cells.Get(7, 3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet9.Cells.Get(7, 3).Value = 0.5;
            this.fpSpread1_Sheet9.Cells.Get(7, 3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(8, 0).Border = complexBorder101;
            this.fpSpread1_Sheet9.Cells.Get(8, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(8, 0).Value = "所得税率";
            this.fpSpread1_Sheet9.Cells.Get(8, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(8, 1).Border = complexBorder102;
            percentCellType27.FixedPoint = true;
            percentCellType27.PercentSign = "%";
            this.fpSpread1_Sheet9.Cells.Get(8, 1).CellType = percentCellType27;
            this.fpSpread1_Sheet9.Cells.Get(8, 1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet9.Cells.Get(8, 1).Value = 0.33;
            this.fpSpread1_Sheet9.Cells.Get(8, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(8, 2).Border = complexBorder103;
            this.fpSpread1_Sheet9.Cells.Get(8, 2).CellType = generalCellType72;
            this.fpSpread1_Sheet9.Cells.Get(8, 2).Font = new System.Drawing.Font("宋体", 9F);
            this.fpSpread1_Sheet9.Cells.Get(8, 2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(8, 2).Value = "经营成本";
            this.fpSpread1_Sheet9.Cells.Get(8, 2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(8, 3).Border = complexBorder104;
            percentCellType28.FixedPoint = true;
            percentCellType28.PercentSign = "%";
            this.fpSpread1_Sheet9.Cells.Get(8, 3).CellType = percentCellType28;
            this.fpSpread1_Sheet9.Cells.Get(8, 3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet9.Cells.Get(8, 3).Value = 0.05;
            this.fpSpread1_Sheet9.Cells.Get(8, 3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(9, 0).Border = complexBorder105;
            this.fpSpread1_Sheet9.Cells.Get(9, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(9, 0).Value = "折旧还贷率";
            this.fpSpread1_Sheet9.Cells.Get(9, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(9, 1).Border = complexBorder106;
            percentCellType29.FixedPoint = true;
            percentCellType29.PercentSign = "%";
            this.fpSpread1_Sheet9.Cells.Get(9, 1).CellType = percentCellType29;
            this.fpSpread1_Sheet9.Cells.Get(9, 1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet9.Cells.Get(9, 1).Value = 1;
            this.fpSpread1_Sheet9.Cells.Get(9, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(9, 2).Border = complexBorder107;
            this.fpSpread1_Sheet9.Cells.Get(9, 2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(9, 2).Value = "开始建设年度";
            this.fpSpread1_Sheet9.Cells.Get(9, 2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(9, 3).Border = complexBorder108;
            numberCellType23.DecimalPlaces = 0;
            numberCellType23.MaximumValue = 999999999;
            numberCellType23.MinimumValue = -999999900;
            this.fpSpread1_Sheet9.Cells.Get(9, 3).CellType = numberCellType23;
            this.fpSpread1_Sheet9.Cells.Get(9, 3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet9.Cells.Get(9, 3).Value = 0;
            this.fpSpread1_Sheet9.Cells.Get(9, 3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(10, 0).Border = complexBorder109;
            this.fpSpread1_Sheet9.Cells.Get(10, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(10, 0).Value = "股本金分利";
            this.fpSpread1_Sheet9.Cells.Get(10, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(10, 1).Border = complexBorder110;
            percentCellType30.FixedPoint = true;
            percentCellType30.PercentSign = "%";
            this.fpSpread1_Sheet9.Cells.Get(10, 1).CellType = percentCellType30;
            this.fpSpread1_Sheet9.Cells.Get(10, 1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet9.Cells.Get(10, 1).Value = 0.057;
            this.fpSpread1_Sheet9.Cells.Get(10, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(10, 2).Border = complexBorder111;
            this.fpSpread1_Sheet9.Cells.Get(10, 2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(10, 2).Value = "建设年限";
            this.fpSpread1_Sheet9.Cells.Get(10, 2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(10, 3).Border = complexBorder112;
            numberCellType24.DecimalPlaces = 0;
            numberCellType24.MaximumValue = 9999999;
            numberCellType24.MinimumValue = -999999900;
            this.fpSpread1_Sheet9.Cells.Get(10, 3).CellType = numberCellType24;
            this.fpSpread1_Sheet9.Cells.Get(10, 3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet9.Cells.Get(10, 3).Value = 0;
            this.fpSpread1_Sheet9.Cells.Get(10, 3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(11, 0).Border = complexBorder113;
            this.fpSpread1_Sheet9.Cells.Get(11, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(11, 0).Value = "城市维护及建设税税率";
            this.fpSpread1_Sheet9.Cells.Get(11, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(11, 1).Border = complexBorder114;
            percentCellType31.FixedPoint = true;
            percentCellType31.PercentSign = "%";
            this.fpSpread1_Sheet9.Cells.Get(11, 1).CellType = percentCellType31;
            this.fpSpread1_Sheet9.Cells.Get(11, 1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet9.Cells.Get(11, 1).Value = 0.07;
            this.fpSpread1_Sheet9.Cells.Get(11, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(11, 2).Border = complexBorder115;
            this.fpSpread1_Sheet9.Cells.Get(11, 2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(11, 2).Value = "售电量";
            this.fpSpread1_Sheet9.Cells.Get(11, 2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(11, 3).Border = complexBorder116;
            textCellType1.CharacterSet = FarPoint.Win.Spread.CellType.CharacterSet.Numeric;
            textCellType1.MaxLength = 12;
            this.fpSpread1_Sheet9.Cells.Get(11, 3).CellType = textCellType1;
            this.fpSpread1_Sheet9.Cells.Get(11, 3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet9.Cells.Get(11, 3).Value = "0";
            this.fpSpread1_Sheet9.Cells.Get(11, 3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(12, 0).Border = complexBorder117;
            this.fpSpread1_Sheet9.Cells.Get(12, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(12, 0).Value = "县镇维护及建设税税率";
            this.fpSpread1_Sheet9.Cells.Get(12, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(12, 1).Border = complexBorder118;
            percentCellType32.FixedPoint = true;
            percentCellType32.PercentSign = "%";
            this.fpSpread1_Sheet9.Cells.Get(12, 1).CellType = percentCellType32;
            this.fpSpread1_Sheet9.Cells.Get(12, 1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet9.Cells.Get(12, 1).Value = 0.05;
            this.fpSpread1_Sheet9.Cells.Get(12, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(12, 2).Border = complexBorder119;
            this.fpSpread1_Sheet9.Cells.Get(12, 2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(12, 2).Value = "售电率";
            this.fpSpread1_Sheet9.Cells.Get(12, 2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(12, 3).Border = complexBorder120;
            percentCellType33.FixedPoint = true;
            percentCellType33.PercentSign = "%";
            this.fpSpread1_Sheet9.Cells.Get(12, 3).CellType = percentCellType33;
            this.fpSpread1_Sheet9.Cells.Get(12, 3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet9.Cells.Get(12, 3).Value = 0;
            this.fpSpread1_Sheet9.Cells.Get(13, 0).Border = complexBorder121;
            this.fpSpread1_Sheet9.Cells.Get(13, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(13, 0).Value = "其它地区维护及建设税税率";
            this.fpSpread1_Sheet9.Cells.Get(13, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(13, 1).Border = complexBorder122;
            percentCellType34.FixedPoint = true;
            percentCellType34.PercentSign = "%";
            this.fpSpread1_Sheet9.Cells.Get(13, 1).CellType = percentCellType34;
            this.fpSpread1_Sheet9.Cells.Get(13, 1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet9.Cells.Get(13, 1).Value = 0.01;
            this.fpSpread1_Sheet9.Cells.Get(13, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(13, 2).Border = complexBorder123;
            this.fpSpread1_Sheet9.Cells.Get(13, 2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(13, 2).Value = "项目计算期";
            this.fpSpread1_Sheet9.Cells.Get(13, 2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(13, 3).Border = complexBorder124;
            numberCellType25.DecimalPlaces = 0;
            numberCellType25.MaximumValue = 9999999;
            numberCellType25.MinimumValue = -999999900;
            this.fpSpread1_Sheet9.Cells.Get(13, 3).CellType = numberCellType25;
            this.fpSpread1_Sheet9.Cells.Get(13, 3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet9.Cells.Get(13, 3).Value = 0;
            this.fpSpread1_Sheet9.Cells.Get(13, 3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(14, 0).Border = complexBorder125;
            this.fpSpread1_Sheet9.Cells.Get(14, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(14, 0).Value = "还贷系数";
            this.fpSpread1_Sheet9.Cells.Get(14, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(14, 1).Border = complexBorder126;
            numberCellType26.DecimalPlaces = 0;
            numberCellType26.MaximumValue = 10000000;
            numberCellType26.MinimumValue = -10000000;
            this.fpSpread1_Sheet9.Cells.Get(14, 1).CellType = numberCellType26;
            this.fpSpread1_Sheet9.Cells.Get(14, 1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet9.Cells.Get(14, 1).Value = 0;
            this.fpSpread1_Sheet9.Cells.Get(14, 1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(14, 2).Border = complexBorder127;
            this.fpSpread1_Sheet9.Cells.Get(14, 2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(14, 2).Value = "银行利率";
            this.fpSpread1_Sheet9.Cells.Get(14, 2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(14, 3).Border = complexBorder128;
            percentCellType35.FixedPoint = true;
            percentCellType35.PercentSign = "%";
            this.fpSpread1_Sheet9.Cells.Get(14, 3).CellType = percentCellType35;
            this.fpSpread1_Sheet9.Cells.Get(14, 3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpSpread1_Sheet9.Cells.Get(14, 3).Value = 0.08;
            this.fpSpread1_Sheet9.Cells.Get(14, 3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpSpread1_Sheet9.Cells.Get(15, 0).Border = complexBorder129;
            this.fpSpread1_Sheet9.Cells.Get(15, 0).Value = "投资年度";
            this.fpSpread1_Sheet9.Cells.Get(16, 0).Border = complexBorder130;
            this.fpSpread1_Sheet9.Cells.Get(16, 0).Value = "投资金额";
            this.fpSpread1_Sheet9.Cells.Get(17, 0).Border = complexBorder131;
            this.fpSpread1_Sheet9.Cells.Get(17, 0).Value = "逐年投资比例";
            this.fpSpread1_Sheet9.Cells.Get(18, 0).Border = complexBorder132;
            this.fpSpread1_Sheet9.Cells.Get(18, 0).Value = "增售电量";
            this.fpSpread1_Sheet9.Cells.Get(19, 0).Border = complexBorder133;
            this.fpSpread1_Sheet9.Cells.Get(19, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(19, 0).Value = "线损率";
            this.fpSpread1_Sheet9.Cells.Get(19, 1).Border = complexBorder134;
            this.fpSpread1_Sheet9.Cells.Get(19, 1).ParseFormatInfo = ((System.Globalization.NumberFormatInfo)(cultureInfo.NumberFormat.Clone()));
            ((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet9.Cells.Get(19, 1).ParseFormatInfo)).PercentDecimalDigits = 1;
            ((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet9.Cells.Get(19, 1).ParseFormatInfo)).PercentGroupSizes = new int[] {
        0};
            this.fpSpread1_Sheet9.Cells.Get(19, 1).ParseFormatString = "P";
            this.fpSpread1_Sheet9.Cells.Get(19, 1).Value = 0.045;
            this.fpSpread1_Sheet9.Cells.Get(19, 2).Border = complexBorder135;
            this.fpSpread1_Sheet9.Cells.Get(19, 2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(19, 2).Value = "维护修理费";
            this.fpSpread1_Sheet9.Cells.Get(19, 3).Border = complexBorder136;
            this.fpSpread1_Sheet9.Cells.Get(19, 3).ParseFormatInfo = ((System.Globalization.NumberFormatInfo)(cultureInfo.NumberFormat.Clone()));
            ((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet9.Cells.Get(19, 3).ParseFormatInfo)).PercentDecimalDigits = 1;
            ((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet9.Cells.Get(19, 3).ParseFormatInfo)).PercentGroupSizes = new int[] {
        0};
            this.fpSpread1_Sheet9.Cells.Get(19, 3).ParseFormatString = "P";
            this.fpSpread1_Sheet9.Cells.Get(19, 3).Value = 0.025;
            this.fpSpread1_Sheet9.Cells.Get(20, 0).Border = complexBorder137;
            this.fpSpread1_Sheet9.Cells.Get(20, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(20, 0).Value = "年人均工资";
            this.fpSpread1_Sheet9.Cells.Get(20, 1).Border = complexBorder138;
            this.fpSpread1_Sheet9.Cells.Get(20, 1).ParseFormatInfo = ((System.Globalization.NumberFormatInfo)(cultureInfo.NumberFormat.Clone()));
            ((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet9.Cells.Get(20, 1).ParseFormatInfo)).NumberDecimalDigits = 0;
            ((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet9.Cells.Get(20, 1).ParseFormatInfo)).NumberGroupSizes = new int[] {
        0};
            this.fpSpread1_Sheet9.Cells.Get(20, 1).ParseFormatString = "n";
            this.fpSpread1_Sheet9.Cells.Get(20, 1).Value = 50000;
            this.fpSpread1_Sheet9.Cells.Get(20, 2).Border = complexBorder139;
            this.fpSpread1_Sheet9.Cells.Get(20, 2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(20, 2).Value = "保险费率";
            this.fpSpread1_Sheet9.Cells.Get(20, 3).Border = complexBorder140;
            this.fpSpread1_Sheet9.Cells.Get(20, 3).ParseFormatInfo = ((System.Globalization.NumberFormatInfo)(cultureInfo.NumberFormat.Clone()));
            ((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet9.Cells.Get(20, 3).ParseFormatInfo)).PercentGroupSizes = new int[] {
        0};
            this.fpSpread1_Sheet9.Cells.Get(20, 3).ParseFormatString = "P";
            this.fpSpread1_Sheet9.Cells.Get(20, 3).Value = 0.0025;
            this.fpSpread1_Sheet9.Cells.Get(21, 0).Border = complexBorder141;
            this.fpSpread1_Sheet9.Cells.Get(21, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(21, 0).Value = "福利保险系数";
            this.fpSpread1_Sheet9.Cells.Get(21, 1).Border = complexBorder142;
            this.fpSpread1_Sheet9.Cells.Get(21, 1).ParseFormatInfo = ((System.Globalization.NumberFormatInfo)(cultureInfo.NumberFormat.Clone()));
            ((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet9.Cells.Get(21, 1).ParseFormatInfo)).PercentDecimalDigits = 0;
            ((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet9.Cells.Get(21, 1).ParseFormatInfo)).PercentGroupSizes = new int[] {
        0};
            this.fpSpread1_Sheet9.Cells.Get(21, 1).ParseFormatString = "P";
            this.fpSpread1_Sheet9.Cells.Get(21, 1).Value = 0.53;
            this.fpSpread1_Sheet9.Cells.Get(21, 2).Border = complexBorder143;
            this.fpSpread1_Sheet9.Cells.Get(21, 2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(21, 2).Value = "其他费用";
            this.fpSpread1_Sheet9.Cells.Get(21, 3).Border = complexBorder144;
            this.fpSpread1_Sheet9.Cells.Get(21, 3).ParseFormatInfo = ((System.Globalization.NumberFormatInfo)(cultureInfo.NumberFormat.Clone()));
            ((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet9.Cells.Get(21, 3).ParseFormatInfo)).PercentDecimalDigits = 0;
            ((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet9.Cells.Get(21, 3).ParseFormatInfo)).PercentGroupSizes = new int[] {
        0};
            this.fpSpread1_Sheet9.Cells.Get(21, 3).ParseFormatString = "P";
            this.fpSpread1_Sheet9.Cells.Get(21, 3).Value = 0.02;
            this.fpSpread1_Sheet9.Cells.Get(22, 0).Border = complexBorder145;
            this.fpSpread1_Sheet9.Cells.Get(22, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(22, 0).Value = "材料费";
            this.fpSpread1_Sheet9.Cells.Get(22, 1).Border = complexBorder146;
            this.fpSpread1_Sheet9.Cells.Get(22, 1).ParseFormatInfo = ((System.Globalization.NumberFormatInfo)(cultureInfo.NumberFormat.Clone()));
            ((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet9.Cells.Get(22, 1).ParseFormatInfo)).PercentDecimalDigits = 0;
            ((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet9.Cells.Get(22, 1).ParseFormatInfo)).PercentGroupSizes = new int[] {
        0};
            this.fpSpread1_Sheet9.Cells.Get(22, 1).ParseFormatString = "P";
            this.fpSpread1_Sheet9.Cells.Get(22, 1).Value = 0.02;
            this.fpSpread1_Sheet9.Cells.Get(22, 2).Border = complexBorder147;
            this.fpSpread1_Sheet9.Cells.Get(22, 2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(22, 2).Value = "内部收益率";
            this.fpSpread1_Sheet9.Cells.Get(22, 3).Border = complexBorder148;
            this.fpSpread1_Sheet9.Cells.Get(22, 3).ParseFormatInfo = ((System.Globalization.NumberFormatInfo)(cultureInfo.NumberFormat.Clone()));
            ((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet9.Cells.Get(22, 3).ParseFormatInfo)).PercentDecimalDigits = 0;
            ((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet9.Cells.Get(22, 3).ParseFormatInfo)).PercentGroupSizes = new int[] {
        0};
            this.fpSpread1_Sheet9.Cells.Get(22, 3).ParseFormatString = "P";
            this.fpSpread1_Sheet9.Cells.Get(22, 3).Value = 0.07;
            this.fpSpread1_Sheet9.Cells.Get(23, 0).Border = complexBorder149;
            this.fpSpread1_Sheet9.Cells.Get(23, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(23, 0).Value = "定员";
            this.fpSpread1_Sheet9.Cells.Get(23, 1).Border = complexBorder150;
            this.fpSpread1_Sheet9.Cells.Get(23, 1).ParseFormatInfo = ((System.Globalization.NumberFormatInfo)(cultureInfo.NumberFormat.Clone()));
            ((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet9.Cells.Get(23, 1).ParseFormatInfo)).NumberDecimalDigits = 0;
            ((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet9.Cells.Get(23, 1).ParseFormatInfo)).NumberGroupSizes = new int[] {
        0};
            this.fpSpread1_Sheet9.Cells.Get(23, 1).ParseFormatString = "n";
            this.fpSpread1_Sheet9.Cells.Get(23, 1).Value = 485;
            this.fpSpread1_Sheet9.Cells.Get(23, 2).Border = complexBorder151;
            this.fpSpread1_Sheet9.Cells.Get(23, 2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpSpread1_Sheet9.Cells.Get(23, 2).Value = "购电价";
            this.fpSpread1_Sheet9.Cells.Get(23, 3).Border = complexBorder152;
            this.fpSpread1_Sheet9.Cells.Get(23, 3).ParseFormatInfo = ((System.Globalization.NumberFormatInfo)(cultureInfo.NumberFormat.Clone()));
            ((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet9.Cells.Get(23, 3).ParseFormatInfo)).NumberGroupSizes = new int[] {
        0};
            this.fpSpread1_Sheet9.Cells.Get(23, 3).ParseFormatString = "N";
            this.fpSpread1_Sheet9.Cells.Get(23, 3).Value = 338.12;
            this.fpSpread1_Sheet9.ColumnHeader.AutoText = FarPoint.Win.Spread.HeaderAutoText.Numbers;
            this.fpSpread1_Sheet9.Columns.Default.Width = 64F;
            this.fpSpread1_Sheet9.Columns.Get(0).Width = 202F;
            this.fpSpread1_Sheet9.Columns.Get(1).Width = 128F;
            this.fpSpread1_Sheet9.Columns.Get(2).Width = 129F;
            this.fpSpread1_Sheet9.Columns.Get(3).Width = 109F;
            this.fpSpread1_Sheet9.DefaultStyleName = "Excel-0-15";
            this.fpSpread1_Sheet9.RowHeader.Columns.Default.Resizable = false;
            this.fpSpread1_Sheet9.CellChanged += new FarPoint.Win.Spread.SheetViewEventHandler(this.fpSpread1_Sheet9_CellChanged);
            // 
            // barManager1
            // 
            this.barManager1.AllowCustomization = false;
            this.barManager1.AllowMoveBarOnToolbar = false;
            this.barManager1.AllowQuickCustomization = false;
            this.barManager1.AllowShowToolbarsPopup = false;
            this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
            this.bar1});
            this.barManager1.DockControls.Add(this.barDockControlTop);
            this.barManager1.DockControls.Add(this.barDockControlBottom);
            this.barManager1.DockControls.Add(this.barDockControlLeft);
            this.barManager1.DockControls.Add(this.barDockControlRight);
            this.barManager1.Form = this;
            this.barManager1.Images = this.imageList1;
            this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
            this.barButtonItem1,
            this.barClose,
            this.barList,
            this.barAdditem,
            this.barAdd1item,
            this.barEdititem,
            this.barDelitem,
            this.barButtonItem2,
            this.barPrint,
            this.barCS,
            this.barSave,
            this.barButtonItem3,
            this.barButtonItem5,
            this.barButtonItem4});
            this.barManager1.MaxItemId = 27;
            this.barManager1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemComboBox1});
            // 
            // bar1
            // 
            this.bar1.BarName = "Custom 1";
            this.bar1.DockCol = 0;
            this.bar1.DockRow = 0;
            this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
            this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barList, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem4),
            new DevExpress.XtraBars.LinkPersistInfo(this.barCS),
            new DevExpress.XtraBars.LinkPersistInfo(this.barSave),
            new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem3),
            new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem5),
            new DevExpress.XtraBars.LinkPersistInfo(this.barPrint),
            new DevExpress.XtraBars.LinkPersistInfo(this.barClose)});
            this.bar1.OptionsBar.AllowQuickCustomization = false;
            this.bar1.OptionsBar.DrawDragBorder = false;
            this.bar1.OptionsBar.RotateWhenVertical = false;
            this.bar1.Text = "Custom 1";
            // 
            // barList
            // 
            this.barList.Caption = "目录维护";
            this.barList.Id = 12;
            this.barList.ImageIndex = 27;
            this.barList.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
            new DevExpress.XtraBars.LinkPersistInfo(this.barAdditem),
            new DevExpress.XtraBars.LinkPersistInfo(this.barAdd1item),
            new DevExpress.XtraBars.LinkPersistInfo(this.barEdititem),
            new DevExpress.XtraBars.LinkPersistInfo(this.barDelitem)});
            this.barList.Name = "barList";
            // 
            // barAdditem
            // 
            this.barAdditem.Caption = "添加目录";
            this.barAdditem.Id = 13;
            this.barAdditem.ImageIndex = 2;
            this.barAdditem.Name = "barAdditem";
            this.barAdditem.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barAdditem_ItemClick);
            // 
            // barAdd1item
            // 
            this.barAdd1item.Caption = "添加子目录";
            this.barAdd1item.Id = 14;
            this.barAdd1item.ImageIndex = 1;
            this.barAdd1item.Name = "barAdd1item";
            this.barAdd1item.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
            this.barAdd1item.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barAdd1item_ItemClick);
            // 
            // barEdititem
            // 
            this.barEdititem.Caption = "修改目录";
            this.barEdititem.Id = 15;
            this.barEdititem.ImageIndex = 26;
            this.barEdititem.Name = "barEdititem";
            this.barEdititem.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barEdititem_ItemClick);
            // 
            // barDelitem
            // 
            this.barDelitem.Caption = "删除目录";
            this.barDelitem.Id = 16;
            this.barDelitem.ImageIndex = 3;
            this.barDelitem.Name = "barDelitem";
            this.barDelitem.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barDelitem_ItemClick);
            // 
            // barButtonItem4
            // 
            this.barButtonItem4.Caption = "打开";
            this.barButtonItem4.Id = 26;
            this.barButtonItem4.ImageIndex = 24;
            this.barButtonItem4.Name = "barButtonItem4";
            this.barButtonItem4.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
            this.barButtonItem4.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
            this.barButtonItem4.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem4_ItemClick);
            // 
            // barCS
            // 
            this.barCS.Caption = "参数设置";
            this.barCS.Id = 21;
            this.barCS.ImageIndex = 8;
            this.barCS.Name = "barCS";
            this.barCS.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
            this.barCS.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barCS_ItemClick);
            // 
            // barSave
            // 
            this.barSave.Caption = "保存";
            this.barSave.Id = 22;
            this.barSave.ImageIndex = 9;
            this.barSave.Name = "barSave";
            this.barSave.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
            this.barSave.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barSave_ItemClick);
            // 
            // barButtonItem3
            // 
            this.barButtonItem3.Caption = "保存模板";
            this.barButtonItem3.Id = 23;
            this.barButtonItem3.Name = "barButtonItem3";
            this.barButtonItem3.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem3_ItemClick);
            // 
            // barButtonItem5
            // 
            this.barButtonItem5.Caption = "导出Excel";
            this.barButtonItem5.Id = 25;
            this.barButtonItem5.ImageIndex = 17;
            this.barButtonItem5.Name = "barButtonItem5";
            this.barButtonItem5.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
            this.barButtonItem5.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem5_ItemClick);
            // 
            // barPrint
            // 
            this.barPrint.Caption = "选择";
            this.barPrint.Id = 19;
            this.barPrint.ImageIndex = 28;
            this.barPrint.Name = "barPrint";
            this.barPrint.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
            this.barPrint.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barPrint_ItemClick);
            // 
            // barClose
            // 
            this.barClose.Caption = "关闭";
            this.barClose.Id = 5;
            this.barClose.ImageIndex = 30;
            this.barClose.Name = "barClose";
            this.barClose.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
            this.barClose.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barClose_ItemClick);
            // 
            // imageList1
            // 
            this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "新建.ico");
            this.imageList1.Images.SetKeyName(1, "添加下级.ico");
            this.imageList1.Images.SetKeyName(2, "添加同级.ico");
            this.imageList1.Images.SetKeyName(3, "删除.ico");
            this.imageList1.Images.SetKeyName(4, "关闭.ico");
            this.imageList1.Images.SetKeyName(5, "修改.ico");
            this.imageList1.Images.SetKeyName(6, "打印.ico");
            this.imageList1.Images.SetKeyName(7, "新建.ico");
            this.imageList1.Images.SetKeyName(8, "发送.ico");
            this.imageList1.Images.SetKeyName(9, "保存.ico");
            this.imageList1.Images.SetKeyName(10, "审批.ico");
            this.imageList1.Images.SetKeyName(11, "新建.ico");
            this.imageList1.Images.SetKeyName(12, "修改.ico");
            this.imageList1.Images.SetKeyName(13, "关闭.ico");
            this.imageList1.Images.SetKeyName(14, "打印.ico");
            this.imageList1.Images.SetKeyName(15, "三等功发1.ico");
            this.imageList1.Images.SetKeyName(16, "审核.ico");
            this.imageList1.Images.SetKeyName(17, "35.ico");
            this.imageList1.Images.SetKeyName(18, "布局.ico");
            this.imageList1.Images.SetKeyName(19, "审批.ico");
            this.imageList1.Images.SetKeyName(20, "关闭.ico");
            this.imageList1.Images.SetKeyName(21, "修改.ico");
            this.imageList1.Images.SetKeyName(22, "新建.ico");
            this.imageList1.Images.SetKeyName(23, "查询.ico");
            this.imageList1.Images.SetKeyName(24, "审核.ico");
            this.imageList1.Images.SetKeyName(25, "作废.ico");
            this.imageList1.Images.SetKeyName(26, "修改.ico");
            this.imageList1.Images.SetKeyName(27, "新建.ico");
            this.imageList1.Images.SetKeyName(28, "审批.ico");
            this.imageList1.Images.SetKeyName(29, "三等功发1.ico");
            this.imageList1.Images.SetKeyName(30, "关闭.ico");
            this.imageList1.Images.SetKeyName(31, "打回重新编.ico");
            this.imageList1.Images.SetKeyName(32, "books.ico");
            // 
            // barButtonItem1
            // 
            this.barButtonItem1.Caption = "barButtonItem1";
            this.barButtonItem1.Id = 0;
            this.barButtonItem1.Name = "barButtonItem1";
            // 
            // barButtonItem2
            // 
            this.barButtonItem2.Caption = "添加文字资料";
            this.barButtonItem2.Id = 17;
            this.barButtonItem2.Name = "barButtonItem2";
            // 
            // repositoryItemComboBox1
            // 
            this.repositoryItemComboBox1.AutoHeight = false;
            this.repositoryItemComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemComboBox1.Name = "repositoryItemComboBox1";
            // 
            // FrmEconomyAnalysis
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(822, 487);
            this.Controls.Add(this.splitContainerControl1);
            this.Controls.Add(this.barDockControlLeft);
            this.Controls.Add(this.barDockControlRight);
            this.Controls.Add(this.barDockControlBottom);
            this.Controls.Add(this.barDockControlTop);
            this.Name = "FrmEconomyAnalysis";
            this.Text = "经济分析";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            this.Load += new System.EventHandler(this.FrmLayoutContents_Load);
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmEconomyAnalysis_FormClosing);
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
            this.splitContainerControl1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.treeList1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ChapterNameTextEdit)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.RemarkMemoExEdit)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet6)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet7)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet8)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet9)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).EndInit();
            this.ResumeLayout(false);

        }
Ejemplo n.º 30
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     FarPoint.Win.Spread.TipAppearance             tipAppearance1    = new FarPoint.Win.Spread.TipAppearance();
     FarPoint.Win.Spread.TipAppearance             tipAppearance2    = new FarPoint.Win.Spread.TipAppearance();
     FarPoint.Win.Spread.CellType.NumberCellType   numberCellType1   = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
     FarPoint.Win.Spread.CellType.NumberCellType   numberCellType2   = new FarPoint.Win.Spread.CellType.NumberCellType();
     this.splitContainer1      = new System.Windows.Forms.SplitContainer();
     this.tvNostrumList        = new Neusoft.HISFC.Components.Common.Controls.baseTreeView();
     this.splitContainer2      = new System.Windows.Forms.SplitContainer();
     this.fsDrugList           = new Neusoft.FrameWork.WinForms.Controls.NeuSpread();
     this.fsDrugListSheet      = new FarPoint.Win.Spread.SheetView();
     this.groupBox1            = new System.Windows.Forms.GroupBox();
     this.neuLabel2            = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
     this.txtFilter            = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
     this.neuLabel1            = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
     this.tabControl1          = new System.Windows.Forms.TabControl();
     this.tabDetail            = new System.Windows.Forms.TabPage();
     this.fsNostrumDetail      = new Neusoft.FrameWork.WinForms.Controls.NeuSpread();
     this.fsNostrumDetailSheet = new FarPoint.Win.Spread.SheetView();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.splitContainer2.Panel1.SuspendLayout();
     this.splitContainer2.Panel2.SuspendLayout();
     this.splitContainer2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.fsDrugList)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.fsDrugListSheet)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.tabControl1.SuspendLayout();
     this.tabDetail.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.fsNostrumDetail)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.fsNostrumDetailSheet)).BeginInit();
     this.SuspendLayout();
     //
     // splitContainer1
     //
     this.splitContainer1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.Location = new System.Drawing.Point(0, 0);
     this.splitContainer1.Name     = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.tvNostrumList);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
     this.splitContainer1.Size             = new System.Drawing.Size(704, 419);
     this.splitContainer1.SplitterDistance = 151;
     this.splitContainer1.TabIndex         = 0;
     //
     // tvNostrumList
     //
     this.tvNostrumList.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.tvNostrumList.HideSelection = false;
     this.tvNostrumList.Location      = new System.Drawing.Point(0, 0);
     this.tvNostrumList.Name          = "tvNostrumList";
     this.tvNostrumList.Size          = new System.Drawing.Size(151, 419);
     this.tvNostrumList.Style         = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.tvNostrumList.TabIndex      = 0;
     this.tvNostrumList.AfterSelect  += new System.Windows.Forms.TreeViewEventHandler(this.tvNostrum_AfterSelect);
     //
     // splitContainer2
     //
     this.splitContainer2.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer2.Location    = new System.Drawing.Point(0, 0);
     this.splitContainer2.Name        = "splitContainer2";
     this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // splitContainer2.Panel1
     //
     this.splitContainer2.Panel1.Controls.Add(this.fsDrugList);
     this.splitContainer2.Panel1.Controls.Add(this.groupBox1);
     //
     // splitContainer2.Panel2
     //
     this.splitContainer2.Panel2.Controls.Add(this.tabControl1);
     this.splitContainer2.Size             = new System.Drawing.Size(549, 419);
     this.splitContainer2.SplitterDistance = 155;
     this.splitContainer2.TabIndex         = 0;
     //
     // fsDrugList
     //
     this.fsDrugList.About = "3.0.2004.2005";
     this.fsDrugList.AccessibleDescription = "";
     this.fsDrugList.BackColor             = System.Drawing.Color.White;
     this.fsDrugList.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.fsDrugList.FileName = "";
     this.fsDrugList.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
     this.fsDrugList.IsAutoSaveGridStatus      = false;
     this.fsDrugList.IsCanCustomConfigColumn   = false;
     this.fsDrugList.Location             = new System.Drawing.Point(0, 38);
     this.fsDrugList.Name                 = "fsDrugList";
     this.fsDrugList.ScrollBarTrackPolicy = FarPoint.Win.Spread.ScrollBarTrackPolicy.Vertical;
     this.fsDrugList.ScrollTipPolicy      = FarPoint.Win.Spread.ScrollTipPolicy.Vertical;
     this.fsDrugList.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
         this.fsDrugListSheet
     });
     this.fsDrugList.Size                    = new System.Drawing.Size(549, 117);
     this.fsDrugList.Style                   = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.fsDrugList.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.fsDrugList.TextTipAppearance       = tipAppearance1;
     this.fsDrugList.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
     this.fsDrugList.CellDoubleClick        += new FarPoint.Win.Spread.CellClickEventHandler(this.fsDrugList_CellDoubleClick);
     //
     // fsDrugListSheet
     //
     this.fsDrugListSheet.Reset();
     this.fsDrugListSheet.SheetName = "Sheet1";
     // Formulas and custom names must be loaded with R1C1 reference style
     this.fsDrugListSheet.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
     this.fsDrugListSheet.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.fsDrugListSheet.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.White;
     this.fsDrugListSheet.ColumnHeader.DefaultStyle.Locked    = false;
     this.fsDrugListSheet.ColumnHeader.DefaultStyle.Parent    = "HeaderDefault";
     this.fsDrugListSheet.Columns.Get(0).Locked            = true;
     this.fsDrugListSheet.OperationMode                    = FarPoint.Win.Spread.OperationMode.RowMode;
     this.fsDrugListSheet.RowHeader.Columns.Get(0).Width   = 37F;
     this.fsDrugListSheet.RowHeader.DefaultStyle.BackColor = System.Drawing.Color.White;
     this.fsDrugListSheet.RowHeader.DefaultStyle.Locked    = false;
     this.fsDrugListSheet.RowHeader.DefaultStyle.Parent    = "HeaderDefault";
     this.fsDrugListSheet.SheetCornerStyle.BackColor       = System.Drawing.Color.White;
     this.fsDrugListSheet.SheetCornerStyle.Locked          = false;
     this.fsDrugListSheet.SheetCornerStyle.Parent          = "HeaderDefault";
     this.fsDrugListSheet.VisualStyles   = FarPoint.Win.VisualStyles.Off;
     this.fsDrugListSheet.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.neuLabel2);
     this.groupBox1.Controls.Add(this.txtFilter);
     this.groupBox1.Controls.Add(this.neuLabel1);
     this.groupBox1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.groupBox1.Location = new System.Drawing.Point(0, 0);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(549, 38);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop  = false;
     //
     // neuLabel2
     //
     this.neuLabel2.AutoSize  = true;
     this.neuLabel2.ForeColor = System.Drawing.Color.Blue;
     this.neuLabel2.Location  = new System.Drawing.Point(228, 17);
     this.neuLabel2.Name      = "neuLabel2";
     this.neuLabel2.Size      = new System.Drawing.Size(197, 12);
     this.neuLabel2.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.neuLabel2.TabIndex  = 2;
     this.neuLabel2.Text      = "请注意:保存后将不允许再进行修改";
     //
     // txtFilter
     //
     this.txtFilter.IsEnter2Tab  = false;
     this.txtFilter.Location     = new System.Drawing.Point(66, 12);
     this.txtFilter.Name         = "txtFilter";
     this.txtFilter.Size         = new System.Drawing.Size(138, 21);
     this.txtFilter.Style        = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.txtFilter.TabIndex     = 1;
     this.txtFilter.TextChanged += new System.EventHandler(this.txtFilter_TextChanged);
     this.txtFilter.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.txtFilter_KeyDown);
     //
     // neuLabel1
     //
     this.neuLabel1.AutoSize  = true;
     this.neuLabel1.ForeColor = System.Drawing.Color.Blue;
     this.neuLabel1.Location  = new System.Drawing.Point(7, 17);
     this.neuLabel1.Name      = "neuLabel1";
     this.neuLabel1.Size      = new System.Drawing.Size(53, 12);
     this.neuLabel1.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.neuLabel1.TabIndex  = 0;
     this.neuLabel1.Text      = "过 滤 框";
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabDetail);
     this.tabControl1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.tabControl1.Location      = new System.Drawing.Point(0, 0);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(549, 260);
     this.tabControl1.TabIndex      = 2;
     //
     // tabDetail
     //
     this.tabDetail.Controls.Add(this.fsNostrumDetail);
     this.tabDetail.Location = new System.Drawing.Point(4, 21);
     this.tabDetail.Name     = "tabDetail";
     this.tabDetail.Padding  = new System.Windows.Forms.Padding(3);
     this.tabDetail.Size     = new System.Drawing.Size(541, 235);
     this.tabDetail.TabIndex = 0;
     this.tabDetail.Text     = "tabPage1";
     this.tabDetail.UseVisualStyleBackColor = true;
     //
     // fsNostrumDetail
     //
     this.fsNostrumDetail.About = "3.0.2004.2005";
     this.fsNostrumDetail.AccessibleDescription = "fsNostrumDetail, Sheet1, Row 0, Column 0, ";
     this.fsNostrumDetail.BackColor             = System.Drawing.Color.White;
     this.fsNostrumDetail.Dock                      = System.Windows.Forms.DockStyle.Fill;
     this.fsNostrumDetail.EditModeReplace           = true;
     this.fsNostrumDetail.FileName                  = "";
     this.fsNostrumDetail.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
     this.fsNostrumDetail.IsAutoSaveGridStatus      = false;
     this.fsNostrumDetail.IsCanCustomConfigColumn   = false;
     this.fsNostrumDetail.Location                  = new System.Drawing.Point(3, 3);
     this.fsNostrumDetail.Name                      = "fsNostrumDetail";
     this.fsNostrumDetail.RightToLeft               = System.Windows.Forms.RightToLeft.No;
     this.fsNostrumDetail.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
         this.fsNostrumDetailSheet
     });
     this.fsNostrumDetail.Size                    = new System.Drawing.Size(535, 229);
     this.fsNostrumDetail.Style                   = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.fsNostrumDetail.TabIndex                = 1;
     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.fsNostrumDetail.TextTipAppearance       = tipAppearance2;
     this.fsNostrumDetail.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
     this.fsNostrumDetail.EditModeOff            += new System.EventHandler(this.fsNostrumDetail_EditModeOff);
     //
     // fsNostrumDetailSheet
     //
     this.fsNostrumDetailSheet.Reset();
     this.fsNostrumDetailSheet.SheetName = "Sheet1";
     // Formulas and custom names must be loaded with R1C1 reference style
     this.fsNostrumDetailSheet.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
     this.fsNostrumDetailSheet.ColumnCount    = 15;
     this.fsNostrumDetailSheet.RowCount       = 1;
     this.fsNostrumDetailSheet.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.fsNostrumDetailSheet.ColumnHeader.Cells.Get(0, 0).Value  = "协定处方代码";
     this.fsNostrumDetailSheet.ColumnHeader.Cells.Get(0, 1).Value  = "药品代码";
     this.fsNostrumDetailSheet.ColumnHeader.Cells.Get(0, 2).Value  = "处方项目[规格]";
     this.fsNostrumDetailSheet.ColumnHeader.Cells.Get(0, 3).Value  = "药品名称";
     this.fsNostrumDetailSheet.ColumnHeader.Cells.Get(0, 4).Value  = "数量";
     this.fsNostrumDetailSheet.ColumnHeader.Cells.Get(0, 5).Value  = "单位";
     this.fsNostrumDetailSheet.ColumnHeader.Cells.Get(0, 6).Value  = "有效";
     this.fsNostrumDetailSheet.ColumnHeader.Cells.Get(0, 7).Value  = "顺序号";
     this.fsNostrumDetailSheet.ColumnHeader.Cells.Get(0, 8).Value  = "是否新增";
     this.fsNostrumDetailSheet.ColumnHeader.Cells.Get(0, 9).Value  = "单价";
     this.fsNostrumDetailSheet.ColumnHeader.Cells.Get(0, 10).Value = "金额";
     this.fsNostrumDetailSheet.ColumnHeader.Cells.Get(0, 11).Value = "进价";
     this.fsNostrumDetailSheet.ColumnHeader.Cells.Get(0, 12).Value = "金额";
     this.fsNostrumDetailSheet.ColumnHeader.Cells.Get(0, 13).Value = "服用方法";
     this.fsNostrumDetailSheet.ColumnHeader.Cells.Get(0, 14).Value = "特殊用法";
     this.fsNostrumDetailSheet.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.White;
     this.fsNostrumDetailSheet.ColumnHeader.DefaultStyle.Locked    = false;
     this.fsNostrumDetailSheet.ColumnHeader.DefaultStyle.Parent    = "HeaderDefault";
     this.fsNostrumDetailSheet.Columns.Get(0).Label               = "协定处方代码";
     this.fsNostrumDetailSheet.Columns.Get(0).Width               = 66F;
     this.fsNostrumDetailSheet.Columns.Get(2).Label               = "处方项目[规格]";
     this.fsNostrumDetailSheet.Columns.Get(2).Locked              = true;
     this.fsNostrumDetailSheet.Columns.Get(2).Width               = 183F;
     this.fsNostrumDetailSheet.Columns.Get(3).Label               = "药品名称";
     this.fsNostrumDetailSheet.Columns.Get(3).Locked              = true;
     this.fsNostrumDetailSheet.Columns.Get(3).Width               = 165F;
     this.fsNostrumDetailSheet.Columns.Get(4).BackColor           = System.Drawing.Color.SeaShell;
     this.fsNostrumDetailSheet.Columns.Get(4).CellType            = numberCellType1;
     this.fsNostrumDetailSheet.Columns.Get(4).Label               = "数量";
     this.fsNostrumDetailSheet.Columns.Get(4).Width               = 70F;
     this.fsNostrumDetailSheet.Columns.Get(5).Label               = "单位";
     this.fsNostrumDetailSheet.Columns.Get(5).Locked              = true;
     this.fsNostrumDetailSheet.Columns.Get(6).BackColor           = System.Drawing.Color.Transparent;
     this.fsNostrumDetailSheet.Columns.Get(6).CellType            = checkBoxCellType1;
     this.fsNostrumDetailSheet.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
     this.fsNostrumDetailSheet.Columns.Get(6).Label               = "有效";
     this.fsNostrumDetailSheet.Columns.Get(6).Locked              = true;
     this.fsNostrumDetailSheet.Columns.Get(6).Width               = 64F;
     this.fsNostrumDetailSheet.Columns.Get(7).BackColor           = System.Drawing.Color.SeaShell;
     this.fsNostrumDetailSheet.Columns.Get(7).CellType            = numberCellType2;
     this.fsNostrumDetailSheet.Columns.Get(7).Label               = "顺序号";
     this.fsNostrumDetailSheet.Columns.Get(7).Width               = 78F;
     this.fsNostrumDetailSheet.Columns.Get(8).Label               = "是否新增";
     this.fsNostrumDetailSheet.Columns.Get(8).Visible             = false;
     this.fsNostrumDetailSheet.Columns.Get(13).Label              = "服用方法";
     this.fsNostrumDetailSheet.Columns.Get(13).Width              = 63F;
     this.fsNostrumDetailSheet.Columns.Get(14).Label              = "特殊用法";
     this.fsNostrumDetailSheet.Columns.Get(14).Visible            = false;
     this.fsNostrumDetailSheet.Columns.Get(14).Width              = 94F;
     this.fsNostrumDetailSheet.DefaultStyle.Locked            = false;
     this.fsNostrumDetailSheet.DefaultStyle.Parent            = "DataAreaDefault";
     this.fsNostrumDetailSheet.DefaultStyle.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
     this.fsNostrumDetailSheet.OperationMode = FarPoint.Win.Spread.OperationMode.RowMode;
     this.fsNostrumDetailSheet.RowHeader.Columns.Default.Resizable = false;
     this.fsNostrumDetailSheet.RowHeader.DefaultStyle.BackColor    = System.Drawing.Color.White;
     this.fsNostrumDetailSheet.RowHeader.DefaultStyle.Locked       = false;
     this.fsNostrumDetailSheet.RowHeader.DefaultStyle.Parent       = "HeaderDefault";
     this.fsNostrumDetailSheet.SheetCornerStyle.BackColor          = System.Drawing.Color.White;
     this.fsNostrumDetailSheet.SheetCornerStyle.Locked             = false;
     this.fsNostrumDetailSheet.SheetCornerStyle.Parent             = "HeaderDefault";
     this.fsNostrumDetailSheet.VisualStyles   = FarPoint.Win.VisualStyles.Off;
     this.fsNostrumDetailSheet.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
     //
     // ucNostrumManager
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.White;
     this.Controls.Add(this.splitContainer1);
     this.Name = "ucNostrumManager";
     this.Size = new System.Drawing.Size(704, 419);
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.ResumeLayout(false);
     this.splitContainer2.Panel1.ResumeLayout(false);
     this.splitContainer2.Panel2.ResumeLayout(false);
     this.splitContainer2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.fsDrugList)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.fsDrugListSheet)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.tabControl1.ResumeLayout(false);
     this.tabDetail.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.fsNostrumDetail)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.fsNostrumDetailSheet)).EndInit();
     this.ResumeLayout(false);
 }
        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。

        /// </summary>
        private void InitializeComponent( )
        {
            FarPoint.Win.Spread.TipAppearance           tipAppearance1  = new FarPoint.Win.Spread.TipAppearance();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
            FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType();
            this.neuGroupBox1      = new Neusoft.FrameWork.WinForms.Controls.NeuGroupBox();
            this.rbCompete         = new Neusoft.FrameWork.WinForms.Controls.NeuRadioButton();
            this.rbAverage         = new Neusoft.FrameWork.WinForms.Controls.NeuRadioButton();
            this.neuGroupBox2      = new Neusoft.FrameWork.WinForms.Controls.NeuGroupBox();
            this.neuSpread1        = new Neusoft.FrameWork.WinForms.Controls.NeuSpread();
            this.neuSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
            this.neuPanel1         = new Neusoft.FrameWork.WinForms.Controls.NeuPanel();
            this.neuGroupBox3      = new Neusoft.FrameWork.WinForms.Controls.NeuGroupBox();
            this.rbSend            = new Neusoft.FrameWork.WinForms.Controls.NeuRadioButton();
            this.rbDrug            = new Neusoft.FrameWork.WinForms.Controls.NeuRadioButton();
            this.neuGroupBox1.SuspendLayout();
            this.neuGroupBox2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1_Sheet1)).BeginInit();
            this.neuPanel1.SuspendLayout();
            this.neuGroupBox3.SuspendLayout();
            this.SuspendLayout();
            //
            // neuGroupBox1
            //
            this.neuGroupBox1.Controls.Add(this.rbCompete);
            this.neuGroupBox1.Controls.Add(this.rbAverage);
            this.neuGroupBox1.Location = new System.Drawing.Point(3, 8);
            this.neuGroupBox1.Name     = "neuGroupBox1";
            this.neuGroupBox1.Size     = new System.Drawing.Size(279, 38);
            this.neuGroupBox1.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuGroupBox1.TabIndex = 0;
            this.neuGroupBox1.TabStop  = false;
            this.neuGroupBox1.Text     = "调剂方式";
            //
            // rbCompete
            //
            this.rbCompete.AutoSize  = true;
            this.rbCompete.ForeColor = System.Drawing.Color.Blue;
            this.rbCompete.Location  = new System.Drawing.Point(144, 17);
            this.rbCompete.Name      = "rbCompete";
            this.rbCompete.Size      = new System.Drawing.Size(71, 16);
            this.rbCompete.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.rbCompete.TabIndex  = 1;
            this.rbCompete.TabStop   = true;
            this.rbCompete.Text      = "竞争调剂";
            this.rbCompete.UseVisualStyleBackColor = true;
            this.rbCompete.CheckedChanged         += new System.EventHandler(this.rbCompete_CheckedChanged);
            //
            // rbAverage
            //
            this.rbAverage.AutoSize  = true;
            this.rbAverage.Checked   = true;
            this.rbAverage.ForeColor = System.Drawing.Color.Blue;
            this.rbAverage.Location  = new System.Drawing.Point(52, 17);
            this.rbAverage.Name      = "rbAverage";
            this.rbAverage.Size      = new System.Drawing.Size(71, 16);
            this.rbAverage.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.rbAverage.TabIndex  = 0;
            this.rbAverage.TabStop   = true;
            this.rbAverage.Text      = "平均调剂";
            this.rbAverage.UseVisualStyleBackColor = true;
            this.rbAverage.CheckedChanged         += new System.EventHandler(this.rbAverage_CheckedChanged);
            //
            // neuGroupBox2
            //
            this.neuGroupBox2.Controls.Add(this.neuSpread1);
            this.neuGroupBox2.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.neuGroupBox2.Location = new System.Drawing.Point(0, 56);
            this.neuGroupBox2.Name     = "neuGroupBox2";
            this.neuGroupBox2.Size     = new System.Drawing.Size(693, 342);
            this.neuGroupBox2.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuGroupBox2.TabIndex = 1;
            this.neuGroupBox2.TabStop  = false;
            this.neuGroupBox2.Text     = "配药台调剂参数";
            //
            // neuSpread1
            //
            this.neuSpread1.About = "2.5.2007.2005";
            this.neuSpread1.AccessibleDescription = "neuSpread1, Sheet1";
            this.neuSpread1.BackColor             = System.Drawing.Color.White;
            this.neuSpread1.Dock                      = System.Windows.Forms.DockStyle.Fill;
            this.neuSpread1.EditModeReplace           = true;
            this.neuSpread1.FileName                  = "";
            this.neuSpread1.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.neuSpread1.IsAutoSaveGridStatus      = false;
            this.neuSpread1.IsCanCustomConfigColumn   = false;
            this.neuSpread1.Location                  = new System.Drawing.Point(3, 17);
            this.neuSpread1.Name                      = "neuSpread1";
            this.neuSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
                this.neuSpread1_Sheet1
            });
            this.neuSpread1.Size                    = new System.Drawing.Size(687, 322);
            this.neuSpread1.Style                   = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuSpread1.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.neuSpread1.TextTipAppearance       = tipAppearance1;
            this.neuSpread1.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            //
            // neuSpread1_Sheet1
            //
            this.neuSpread1_Sheet1.Reset();
            this.neuSpread1_Sheet1.SheetName = "Sheet1";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.neuSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.neuSpread1_Sheet1.ColumnCount    = 6;
            this.neuSpread1_Sheet1.RowCount       = 0;
            this.neuSpread1_Sheet1.ActiveSkin     = new FarPoint.Win.Spread.SheetSkin("CustomSkin1", System.Drawing.SystemColors.Window, 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.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value  = "配药台编号";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value  = "配药台名称";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value  = "是否关闭";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value  = "已发送品种数";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value  = "待配药品种数";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value  = "均分次数";
            this.neuSpread1_Sheet1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.White;
            this.neuSpread1_Sheet1.ColumnHeader.DefaultStyle.Locked    = false;
            this.neuSpread1_Sheet1.ColumnHeader.DefaultStyle.Parent    = "HeaderDefault";
            this.neuSpread1_Sheet1.Columns.Get(0).AllowAutoSort        = true;
            this.neuSpread1_Sheet1.Columns.Get(0).Label               = "配药台编号";
            this.neuSpread1_Sheet1.Columns.Get(0).Locked              = true;
            this.neuSpread1_Sheet1.Columns.Get(0).Visible             = false;
            this.neuSpread1_Sheet1.Columns.Get(0).Width               = 83F;
            this.neuSpread1_Sheet1.Columns.Get(1).AllowAutoSort       = true;
            this.neuSpread1_Sheet1.Columns.Get(1).Label               = "配药台名称";
            this.neuSpread1_Sheet1.Columns.Get(1).Locked              = true;
            this.neuSpread1_Sheet1.Columns.Get(1).Width               = 205F;
            this.neuSpread1_Sheet1.Columns.Get(2).AllowAutoSort       = true;
            this.neuSpread1_Sheet1.Columns.Get(2).Label               = "是否关闭";
            this.neuSpread1_Sheet1.Columns.Get(2).Locked              = true;
            this.neuSpread1_Sheet1.Columns.Get(2).Width               = 83F;
            this.neuSpread1_Sheet1.Columns.Get(3).AllowAutoSort       = true;
            this.neuSpread1_Sheet1.Columns.Get(3).CellType            = numberCellType1;
            this.neuSpread1_Sheet1.Columns.Get(3).Label               = "已发送品种数";
            this.neuSpread1_Sheet1.Columns.Get(3).Width               = 103F;
            this.neuSpread1_Sheet1.Columns.Get(4).AllowAutoSort       = true;
            this.neuSpread1_Sheet1.Columns.Get(4).CellType            = numberCellType2;
            this.neuSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.neuSpread1_Sheet1.Columns.Get(4).Label               = "待配药品种数";
            this.neuSpread1_Sheet1.Columns.Get(4).Width               = 146F;
            this.neuSpread1_Sheet1.Columns.Get(5).AllowAutoSort       = true;
            this.neuSpread1_Sheet1.Columns.Get(5).CellType            = numberCellType3;
            this.neuSpread1_Sheet1.Columns.Get(5).Label               = "均分次数";
            this.neuSpread1_Sheet1.Columns.Get(5).Width               = 146F;
            this.neuSpread1_Sheet1.OperationMode = FarPoint.Win.Spread.OperationMode.RowMode;
            this.neuSpread1_Sheet1.RowHeader.Columns.Default.Resizable    = false;
            this.neuSpread1_Sheet1.RowHeader.Columns.Get(0).AllowAutoSort = true;
            this.neuSpread1_Sheet1.RowHeader.Columns.Get(0).Width         = 37F;
            this.neuSpread1_Sheet1.RowHeader.DefaultStyle.BackColor       = System.Drawing.Color.White;
            this.neuSpread1_Sheet1.RowHeader.DefaultStyle.Locked          = false;
            this.neuSpread1_Sheet1.RowHeader.DefaultStyle.Parent          = "HeaderDefault";
            this.neuSpread1_Sheet1.SheetCornerStyle.BackColor             = System.Drawing.Color.White;
            this.neuSpread1_Sheet1.SheetCornerStyle.Locked = false;
            this.neuSpread1_Sheet1.SheetCornerStyle.Parent = "HeaderDefault";
            this.neuSpread1_Sheet1.ReferenceStyle          = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
            this.neuSpread1.SetActiveViewport(1, 0);
            //
            // neuPanel1
            //
            this.neuPanel1.Controls.Add(this.neuGroupBox1);
            this.neuPanel1.Controls.Add(this.neuGroupBox3);
            this.neuPanel1.Dock     = System.Windows.Forms.DockStyle.Top;
            this.neuPanel1.Location = new System.Drawing.Point(0, 0);
            this.neuPanel1.Name     = "neuPanel1";
            this.neuPanel1.Size     = new System.Drawing.Size(693, 56);
            this.neuPanel1.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuPanel1.TabIndex = 2;
            //
            // neuGroupBox3
            //
            this.neuGroupBox3.Controls.Add(this.rbSend);
            this.neuGroupBox3.Controls.Add(this.rbDrug);
            this.neuGroupBox3.Location = new System.Drawing.Point(310, 8);
            this.neuGroupBox3.Name     = "neuGroupBox3";
            this.neuGroupBox3.Size     = new System.Drawing.Size(279, 38);
            this.neuGroupBox3.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuGroupBox3.TabIndex = 0;
            this.neuGroupBox3.TabStop  = false;
            this.neuGroupBox3.Text     = "调剂依据";
            //
            // rbSend
            //
            this.rbSend.AutoSize  = true;
            this.rbSend.ForeColor = System.Drawing.Color.Blue;
            this.rbSend.Location  = new System.Drawing.Point(147, 15);
            this.rbSend.Name      = "rbSend";
            this.rbSend.Size      = new System.Drawing.Size(59, 16);
            this.rbSend.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.rbSend.TabIndex  = 1;
            this.rbSend.Text      = "发  药";
            this.rbSend.UseVisualStyleBackColor = true;
            this.rbSend.CheckedChanged         += new System.EventHandler(this.rbCompete_CheckedChanged);
            //
            // rbDrug
            //
            this.rbDrug.AutoSize  = true;
            this.rbDrug.Checked   = true;
            this.rbDrug.ForeColor = System.Drawing.Color.Blue;
            this.rbDrug.Location  = new System.Drawing.Point(55, 16);
            this.rbDrug.Name      = "rbDrug";
            this.rbDrug.Size      = new System.Drawing.Size(59, 16);
            this.rbDrug.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.rbDrug.TabIndex  = 0;
            this.rbDrug.TabStop   = true;
            this.rbDrug.Text      = "配  药";
            this.rbDrug.UseVisualStyleBackColor = true;
            this.rbDrug.CheckedChanged         += new System.EventHandler(this.rbAverage_CheckedChanged);
            //
            // ucRecipeAdjust
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor           = System.Drawing.Color.White;
            this.Controls.Add(this.neuGroupBox2);
            this.Controls.Add(this.neuPanel1);
            this.Name = "ucRecipeAdjust";
            this.Size = new System.Drawing.Size(693, 398);
            this.neuGroupBox1.ResumeLayout(false);
            this.neuGroupBox1.PerformLayout();
            this.neuGroupBox2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1_Sheet1)).EndInit();
            this.neuPanel1.ResumeLayout(false);
            this.neuGroupBox3.ResumeLayout(false);
            this.neuGroupBox3.PerformLayout();
            this.ResumeLayout(false);
        }
Ejemplo n.º 32
0
        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。

        /// </summary>
        private void InitializeComponent()
        {
            FarPoint.Win.Spread.TipAppearance             tipAppearance2    = new FarPoint.Win.Spread.TipAppearance();
            FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType2 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
            FarPoint.Win.Spread.CellType.TextCellType     textCellType3     = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.TextCellType     textCellType4     = new FarPoint.Win.Spread.CellType.TextCellType();
            FarPoint.Win.Spread.CellType.NumberCellType   numberCellType2   = new FarPoint.Win.Spread.CellType.NumberCellType();
            this.neuGroupBox1      = new Neusoft.FrameWork.WinForms.Controls.NeuGroupBox();
            this.cmbState          = new Neusoft.FrameWork.WinForms.Controls.NeuComboBox();
            this.lbCompany         = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
            this.txtNO             = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
            this.neuLinkLabel2     = new Neusoft.FrameWork.WinForms.Controls.NeuLinkLabel();
            this.lnbCompany        = new Neusoft.FrameWork.WinForms.Controls.NeuLinkLabel();
            this.lnbNOType         = new Neusoft.FrameWork.WinForms.Controls.NeuLinkLabel();
            this.neuSpread1        = new Neusoft.FrameWork.WinForms.Controls.NeuSpread();
            this.neuSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
            this.neuGroupBox1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1_Sheet1)).BeginInit();
            this.SuspendLayout();
            //
            // neuGroupBox1
            //
            this.neuGroupBox1.Controls.Add(this.cmbState);
            this.neuGroupBox1.Controls.Add(this.lbCompany);
            this.neuGroupBox1.Controls.Add(this.txtNO);
            this.neuGroupBox1.Controls.Add(this.neuLinkLabel2);
            this.neuGroupBox1.Controls.Add(this.lnbCompany);
            this.neuGroupBox1.Controls.Add(this.lnbNOType);
            this.neuGroupBox1.Dock     = System.Windows.Forms.DockStyle.Top;
            this.neuGroupBox1.Location = new System.Drawing.Point(0, 0);
            this.neuGroupBox1.Name     = "neuGroupBox1";
            this.neuGroupBox1.Size     = new System.Drawing.Size(711, 52);
            this.neuGroupBox1.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuGroupBox1.TabIndex = 0;
            this.neuGroupBox1.TabStop  = false;
            this.neuGroupBox1.Text     = "设  定";
            //
            // cmbState
            //
            this.cmbState.DrawMode          = System.Windows.Forms.DrawMode.OwnerDrawFixed;
            this.cmbState.FormattingEnabled = true;
            this.cmbState.IsFlat            = true;
            this.cmbState.Items.AddRange(new object[] {
                "申请",
                "审批"
            });
            this.cmbState.Location   = new System.Drawing.Point(224, 22);
            this.cmbState.Name       = "cmbState";
            this.cmbState.Size       = new System.Drawing.Size(107, 22);
            this.cmbState.Style      = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.cmbState.TabIndex   = 2;
            this.cmbState.ToolBarUse = false;
            //
            // lbCompany
            //
            this.lbCompany.Location = new System.Drawing.Point(424, 23);
            this.lbCompany.Name     = "lbCompany";
            this.lbCompany.ReadOnly = true;
            this.lbCompany.Size     = new System.Drawing.Size(281, 21);
            this.lbCompany.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.lbCompany.TabIndex = 1;
            //
            // txtNO
            //
            this.txtNO.Location = new System.Drawing.Point(65, 23);
            this.txtNO.Name     = "txtNO";
            this.txtNO.Size     = new System.Drawing.Size(100, 21);
            this.txtNO.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.txtNO.TabIndex = 1;
            //
            // neuLinkLabel2
            //
            this.neuLinkLabel2.AutoSize     = true;
            this.neuLinkLabel2.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline;
            this.neuLinkLabel2.Location     = new System.Drawing.Point(171, 27);
            this.neuLinkLabel2.Name         = "neuLinkLabel2";
            this.neuLinkLabel2.Size         = new System.Drawing.Size(47, 12);
            this.neuLinkLabel2.Style        = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuLinkLabel2.TabIndex     = 0;
            this.neuLinkLabel2.TabStop      = true;
            this.neuLinkLabel2.Text         = "状   态";
            //
            // lnbCompany
            //
            this.lnbCompany.AutoSize     = true;
            this.lnbCompany.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline;
            this.lnbCompany.Location     = new System.Drawing.Point(353, 27);
            this.lnbCompany.Name         = "lnbCompany";
            this.lnbCompany.Size         = new System.Drawing.Size(65, 12);
            this.lnbCompany.Style        = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.lnbCompany.TabIndex     = 0;
            this.lnbCompany.TabStop      = true;
            this.lnbCompany.Text         = "新供货公司";
            //
            // lnbNOType
            //
            this.lnbNOType.AutoSize     = true;
            this.lnbNOType.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline;
            this.lnbNOType.Location     = new System.Drawing.Point(6, 27);
            this.lnbNOType.Name         = "lnbNOType";
            this.lnbNOType.Size         = new System.Drawing.Size(53, 12);
            this.lnbNOType.Style        = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.lnbNOType.TabIndex     = 0;
            this.lnbNOType.TabStop      = true;
            this.lnbNOType.Text         = "发 票 号";
            //
            // neuSpread1
            //
            this.neuSpread1.About = "2.5.2007.2005";
            this.neuSpread1.AccessibleDescription = "neuSpread1, Sheet1, Row 0, Column 0, ";
            this.neuSpread1.BackColor             = System.Drawing.Color.White;
            this.neuSpread1.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.neuSpread1.FileName = "";
            this.neuSpread1.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.neuSpread1.IsAutoSaveGridStatus      = false;
            this.neuSpread1.IsCanCustomConfigColumn   = false;
            this.neuSpread1.Location = new System.Drawing.Point(0, 52);
            this.neuSpread1.Name     = "neuSpread1";
            this.neuSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
                this.neuSpread1_Sheet1
            });
            this.neuSpread1.Size                    = new System.Drawing.Size(711, 349);
            this.neuSpread1.Style                   = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.neuSpread1.TabIndex                = 1;
            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.neuSpread1.TextTipAppearance       = tipAppearance2;
            this.neuSpread1.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            //
            // neuSpread1_Sheet1
            //
            this.neuSpread1_Sheet1.Reset();
            this.neuSpread1_Sheet1.SheetName = "Sheet1";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.neuSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.neuSpread1_Sheet1.ColumnCount    = 8;
            this.neuSpread1_Sheet1.RowCount       = 0;
            this.neuSpread1_Sheet1.ActiveSkin     = new FarPoint.Win.Spread.SheetSkin("CustomSkin3", 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.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value  = "选中";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value  = "单据号";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value  = "发票号";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value  = "原供货公司";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value  = "商品名【规格】";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value  = "入库数量";
            this.neuSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value  = "单位";
            this.neuSpread1_Sheet1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.White;
            this.neuSpread1_Sheet1.ColumnHeader.DefaultStyle.Locked    = false;
            this.neuSpread1_Sheet1.ColumnHeader.DefaultStyle.Parent    = "HeaderDefault";
            this.neuSpread1_Sheet1.Columns.Get(0).CellType             = checkBoxCellType2;
            this.neuSpread1_Sheet1.Columns.Get(0).HorizontalAlignment  = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.neuSpread1_Sheet1.Columns.Get(0).Label             = "选中";
            this.neuSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.neuSpread1_Sheet1.Columns.Get(0).Width             = 38F;
            this.neuSpread1_Sheet1.Columns.Get(1).CellType          = textCellType3;
            this.neuSpread1_Sheet1.Columns.Get(1).Label             = "单据号";
            this.neuSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.neuSpread1_Sheet1.Columns.Get(1).Width             = 87F;
            this.neuSpread1_Sheet1.Columns.Get(2).CellType          = textCellType4;
            this.neuSpread1_Sheet1.Columns.Get(2).Label             = "发票号";
            this.neuSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.neuSpread1_Sheet1.Columns.Get(2).Width             = 76F;
            this.neuSpread1_Sheet1.Columns.Get(3).Label             = "原供货公司";
            this.neuSpread1_Sheet1.Columns.Get(3).Width             = 180F;
            this.neuSpread1_Sheet1.Columns.Get(4).Label             = "商品名【规格】";
            this.neuSpread1_Sheet1.Columns.Get(4).Width             = 242F;
            this.neuSpread1_Sheet1.Columns.Get(5).CellType          = numberCellType2;
            this.neuSpread1_Sheet1.Columns.Get(5).Label             = "入库数量";
            this.neuSpread1_Sheet1.Columns.Get(5).Width             = 86F;
            this.neuSpread1_Sheet1.Columns.Get(6).Label             = "单位";
            this.neuSpread1_Sheet1.Columns.Get(6).Width             = 35F;
            this.neuSpread1_Sheet1.OperationMode = FarPoint.Win.Spread.OperationMode.RowMode;
            this.neuSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
            this.neuSpread1_Sheet1.RowHeader.Columns.Get(0).Width      = 37F;
            this.neuSpread1_Sheet1.RowHeader.DefaultStyle.BackColor    = System.Drawing.Color.White;
            this.neuSpread1_Sheet1.RowHeader.DefaultStyle.Locked       = false;
            this.neuSpread1_Sheet1.RowHeader.DefaultStyle.Parent       = "HeaderDefault";
            this.neuSpread1_Sheet1.SheetCornerStyle.BackColor          = System.Drawing.Color.White;
            this.neuSpread1_Sheet1.SheetCornerStyle.Locked             = false;
            this.neuSpread1_Sheet1.SheetCornerStyle.Parent             = "HeaderDefault";
            this.neuSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
            this.neuSpread1.SetActiveViewport(1, 0);
            //
            // ucChangeCompany
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.neuSpread1);
            this.Controls.Add(this.neuGroupBox1);
            this.Name = "ucChangeCompany";
            this.Size = new System.Drawing.Size(711, 401);
            this.neuGroupBox1.ResumeLayout(false);
            this.neuGroupBox1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.neuSpread1_Sheet1)).EndInit();
            this.ResumeLayout(false);
        }
Ejemplo n.º 33
0
 /// <summary>
 /// 디자이너 지원에 필요한 메서드입니다.
 /// 이 메서드의 내용을 코드 편집기로 수정하지 마십시오.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources        = new System.ComponentModel.ComponentResourceManager(typeof(PRD011009));
     FarPoint.Win.Spread.CellType.TextCellType      textCellType4    = new FarPoint.Win.Spread.CellType.TextCellType();
     FarPoint.Win.Spread.CellType.NumberCellType    numberCellType22 = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.Spread.CellType.NumberCellType    numberCellType23 = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.Spread.CellType.NumberCellType    numberCellType24 = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.Spread.CellType.NumberCellType    numberCellType25 = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.Spread.CellType.NumberCellType    numberCellType26 = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.Spread.CellType.NumberCellType    numberCellType27 = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.Spread.CellType.NumberCellType    numberCellType28 = new FarPoint.Win.Spread.CellType.NumberCellType();
     this.spdData                = new Miracom.SmartWeb.UI.Controls.udcFarPoint(this.components);
     this.spdData_Sheet1         = new FarPoint.Win.Spread.SheetView();
     this.cdvFactory             = new Miracom.SmartWeb.UI.Controls.udcCUSCondition();
     this.lblIcon                = new System.Windows.Forms.Label();
     this.lblDate                = new System.Windows.Forms.Label();
     this.cdvDate                = new Miracom.SmartWeb.UI.Controls.udcDateTimePicker(this.components);
     this.label2                 = new System.Windows.Forms.Label();
     this.lblProduct             = new System.Windows.Forms.Label();
     this.txtSearchProduct       = new System.Windows.Forms.TextBox();
     this.chkKcps                = new System.Windows.Forms.CheckBox();
     this.label1                 = new System.Windows.Forms.Label();
     this.lblNumericSum          = new System.Windows.Forms.Label();
     this.checkLDcnt             = new System.Windows.Forms.CheckBox();
     this.pnlEqp                 = new System.Windows.Forms.Panel();
     this.lblEqp                 = new System.Windows.Forms.Label();
     this.spdData_Eqp_Pos        = new Miracom.SmartWeb.UI.Controls.udcFarPoint(this.components);
     this.spdData_Eqp_Pos_Sheet1 = new FarPoint.Win.Spread.SheetView();
     this.pnlWip                 = new System.Windows.Forms.Panel();
     this.spdData_Wip_Pos        = new Miracom.SmartWeb.UI.Controls.udcFarPoint(this.components);
     this.spdData_Wip_Pos_Sheet1 = new FarPoint.Win.Spread.SheetView();
     this.lblWip                 = new System.Windows.Forms.Label();
     this.pnlMiddle.SuspendLayout();
     this.pnlCondition2.SuspendLayout();
     this.pnlCondition1.SuspendLayout();
     this.pnlWIPDetail.SuspendLayout();
     this.pnlDetailCondition2.SuspendLayout();
     this.pnlDetailCondition1.SuspendLayout();
     this.pnlMain.SuspendLayout();
     this.pnlRASDetail.SuspendLayout();
     this.panel3.SuspendLayout();
     this.panel4.SuspendLayout();
     this.pnlDetailCondition3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.spdData)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.spdData_Sheet1)).BeginInit();
     this.pnlEqp.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.spdData_Eqp_Pos)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.spdData_Eqp_Pos_Sheet1)).BeginInit();
     this.pnlWip.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.spdData_Wip_Pos)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.spdData_Wip_Pos_Sheet1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // lblTitle
     //
     this.lblTitle.Size = new System.Drawing.Size(109, 13);
     this.lblTitle.Text = "Chip Arrange Status";
     //
     // pnlMiddle
     //
     this.pnlMiddle.Size = new System.Drawing.Size(800, 66);
     //
     // pnlCondition8
     //
     this.pnlCondition8.Location = new System.Drawing.Point(0, 182);
     //
     // pnlCondition7
     //
     this.pnlCondition7.Location = new System.Drawing.Point(0, 158);
     //
     // pnlCondition6
     //
     this.pnlCondition6.Location = new System.Drawing.Point(0, 134);
     //
     // pnlCondition5
     //
     this.pnlCondition5.Location = new System.Drawing.Point(0, 110);
     //
     // pnlCondition4
     //
     this.pnlCondition4.Location = new System.Drawing.Point(0, 86);
     //
     // pnlCondition3
     //
     this.pnlCondition3.Size = new System.Drawing.Size(798, 30);
     //
     // pnlCondition2
     //
     this.pnlCondition2.Controls.Add(this.checkLDcnt);
     this.pnlCondition2.Controls.Add(this.lblNumericSum);
     this.pnlCondition2.Controls.Add(this.label1);
     this.pnlCondition2.Controls.Add(this.chkKcps);
     //
     // pnlCondition1
     //
     this.pnlCondition1.Controls.Add(this.lblIcon);
     this.pnlCondition1.Controls.Add(this.lblDate);
     this.pnlCondition1.Controls.Add(this.cdvDate);
     this.pnlCondition1.Controls.Add(this.label2);
     this.pnlCondition1.Controls.Add(this.lblProduct);
     this.pnlCondition1.Controls.Add(this.txtSearchProduct);
     this.pnlCondition1.Controls.Add(this.cdvFactory);
     //
     // pnlWIPDetail
     //
     this.pnlWIPDetail.Location = new System.Drawing.Point(0, 92);
     //
     // udcWIPCondition8
     //
     this.udcWIPCondition8.RefFactory = this.cdvFactory;
     //
     // udcWIPCondition7
     //
     this.udcWIPCondition7.RefFactory = this.cdvFactory;
     //
     // udcWIPCondition6
     //
     this.udcWIPCondition6.RefFactory = this.cdvFactory;
     //
     // udcWIPCondition5
     //
     this.udcWIPCondition5.RefFactory = this.cdvFactory;
     //
     // udcWIPCondition4
     //
     this.udcWIPCondition4.RefFactory = this.cdvFactory;
     //
     // udcWIPCondition3
     //
     this.udcWIPCondition3.RefFactory = this.cdvFactory;
     //
     // udcWIPCondition2
     //
     this.udcWIPCondition2.RefFactory = this.cdvFactory;
     //
     // udcWIPCondition1
     //
     this.udcWIPCondition1.RefFactory = this.cdvFactory;
     //
     // pnlMain
     //
     this.pnlMain.Controls.Add(this.pnlWip);
     this.pnlMain.Controls.Add(this.pnlEqp);
     this.pnlMain.Controls.Add(this.spdData);
     this.pnlMain.Location = new System.Drawing.Point(0, 179);
     this.pnlMain.Size     = new System.Drawing.Size(800, 421);
     //
     // btnDetail
     //
     this.btnDetail.FlatAppearance.BorderColor = System.Drawing.Color.Gainsboro;
     //
     // btnView
     //
     this.btnView.FlatAppearance.BorderColor = System.Drawing.Color.Gainsboro;
     this.btnView.Click += new System.EventHandler(this.btnView_Click);
     //
     // btnExcelExport
     //
     this.btnExcelExport.FlatAppearance.BorderColor = System.Drawing.Color.Gainsboro;
     this.btnExcelExport.Text   = "Save";
     this.btnExcelExport.Click += new System.EventHandler(this.btnExcelExport_Click);
     //
     // btnClose
     //
     this.btnClose.FlatAppearance.BorderColor = System.Drawing.Color.Gainsboro;
     //
     // btnSort
     //
     this.btnSort.FlatAppearance.BorderColor = System.Drawing.Color.Gainsboro;
     //
     // pnlRASDetail
     //
     this.pnlRASDetail.Location = new System.Drawing.Point(0, 92);
     //
     // udcWIPCondition9
     //
     this.udcWIPCondition9.RefFactory = this.cdvFactory;
     //
     // spdData
     //
     this.spdData.About = "4.0.2001.2005";
     this.spdData.AccessibleDescription = "spdData, Sheet1, Row 0, Column 0, ";
     this.spdData.BackColor             = System.Drawing.Color.White;
     this.spdData.Dock                 = System.Windows.Forms.DockStyle.Fill;
     this.spdData.Font                 = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.spdData.Location             = new System.Drawing.Point(3, 3);
     this.spdData.Name                 = "spdData";
     this.spdData.RightToLeft          = System.Windows.Forms.RightToLeft.No;
     this.spdData.RPT_IsPreCellsType   = true;
     this.spdData.ScrollBarTrackPolicy = FarPoint.Win.Spread.ScrollBarTrackPolicy.Both;
     this.spdData.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
         this.spdData_Sheet1
     });
     this.spdData.Size       = new System.Drawing.Size(794, 418);
     this.spdData.TabIndex   = 0;
     this.spdData.CellClick += new FarPoint.Win.Spread.CellClickEventHandler(this.spdData_CellClick);
     //
     // spdData_Sheet1
     //
     this.spdData_Sheet1.Reset();
     this.spdData_Sheet1.SheetName = "Sheet1";
     // Formulas and custom names must be loaded with R1C1 reference style
     this.spdData_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
     this.spdData_Sheet1.ColumnCount    = 0;
     this.spdData_Sheet1.RowCount       = 0;
     this.spdData_Sheet1.RowHeader.Columns.Default.Resizable = false;
     this.spdData_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
     this.spdData.SetActiveViewport(0, 1, 1);
     //
     // cdvFactory
     //
     this.cdvFactory.BackColor          = System.Drawing.Color.Transparent;
     this.cdvFactory.bMultiSelect       = false;
     this.cdvFactory.ConditionText      = "Factory";
     this.cdvFactory.CondtionType       = Miracom.SmartWeb.UI.Controls.udcCondition.eConditionype.FACTORY;
     this.cdvFactory.ControlRef         = true;
     this.cdvFactory.Font               = new System.Drawing.Font("Tahoma", 8.25F);
     this.cdvFactory.ForcInitControl1   = this.udcWIPCondition1;
     this.cdvFactory.Location           = new System.Drawing.Point(-1, 3);
     this.cdvFactory.MandatoryFlag      = false;
     this.cdvFactory.Name               = "cdvFactory";
     this.cdvFactory.ParentValue        = "";
     this.cdvFactory.sCodeColumnName    = "";
     this.cdvFactory.sDynamicQuery      = "";
     this.cdvFactory.sFactory           = "";
     this.cdvFactory.Size               = new System.Drawing.Size(179, 21);
     this.cdvFactory.sTableName         = "";
     this.cdvFactory.sValueColumnName   = "";
     this.cdvFactory.TabIndex           = 2;
     this.cdvFactory.VisibleValueButton = true;
     //
     // lblIcon
     //
     this.lblIcon.Image      = ((System.Drawing.Image)(resources.GetObject("lblIcon.Image")));
     this.lblIcon.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.lblIcon.Location   = new System.Drawing.Point(210, 4);
     this.lblIcon.Name       = "lblIcon";
     this.lblIcon.Size       = new System.Drawing.Size(6, 17);
     this.lblIcon.TabIndex   = 124;
     this.lblIcon.TextAlign  = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblDate
     //
     this.lblDate.AutoSize = true;
     this.lblDate.Location = new System.Drawing.Point(220, 7);
     this.lblDate.Name     = "lblDate";
     this.lblDate.Size     = new System.Drawing.Size(55, 13);
     this.lblDate.TabIndex = 123;
     this.lblDate.Text     = "standard date";
     //
     // cdvDate
     //
     this.cdvDate.CustomFormat = "yyyy-MM-dd";
     this.cdvDate.Font         = new System.Drawing.Font("Verdana", 8F);
     this.cdvDate.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.cdvDate.Location     = new System.Drawing.Point(288, 2);
     this.cdvDate.Name         = "cdvDate";
     this.cdvDate.Size         = new System.Drawing.Size(106, 20);
     this.cdvDate.TabIndex     = 122;
     this.cdvDate.Type         = Miracom.SmartWeb.UI.Controls.DataTimePickerType.General;
     this.cdvDate.Value        = new System.DateTime(2008, 12, 31, 0, 0, 0, 0);
     //
     // label2
     //
     this.label2.Image      = ((System.Drawing.Image)(resources.GetObject("label2.Image")));
     this.label2.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.label2.Location   = new System.Drawing.Point(478, 4);
     this.label2.Name       = "label2";
     this.label2.Size       = new System.Drawing.Size(10, 17);
     this.label2.TabIndex   = 121;
     this.label2.TextAlign  = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblProduct
     //
     this.lblProduct.AutoSize = true;
     this.lblProduct.Location = new System.Drawing.Point(494, 6);
     this.lblProduct.Name     = "lblProduct";
     this.lblProduct.Size     = new System.Drawing.Size(44, 13);
     this.lblProduct.TabIndex = 120;
     this.lblProduct.Text     = "Product";
     //
     // txtSearchProduct
     //
     this.txtSearchProduct.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txtSearchProduct.Location        = new System.Drawing.Point(549, 2);
     this.txtSearchProduct.Name            = "txtSearchProduct";
     this.txtSearchProduct.Size            = new System.Drawing.Size(94, 21);
     this.txtSearchProduct.TabIndex        = 119;
     this.txtSearchProduct.Text            = "%";
     //
     // chkKcps
     //
     this.chkKcps.AutoSize   = true;
     this.chkKcps.Checked    = true;
     this.chkKcps.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkKcps.Location   = new System.Drawing.Point(4, 6);
     this.chkKcps.Name       = "chkKcps";
     this.chkKcps.Size       = new System.Drawing.Size(200, 17);
     this.chkKcps.TabIndex   = 125;
     this.chkKcps.Text       = "Kcps [The number of facilities is not affected.]";
     this.chkKcps.UseVisualStyleBackColor = true;
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.ForeColor = System.Drawing.Color.Blue;
     this.label1.Location  = new System.Drawing.Point(220, 6);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(248, 13);
     this.label1.TabIndex  = 126;
     this.label1.Text      = "Etc_Chip: Number of chips not defined in the ordering operation";
     //
     // lblNumericSum
     //
     this.lblNumericSum.AutoSize = true;
     this.lblNumericSum.Location = new System.Drawing.Point(709, 6);
     this.lblNumericSum.Name     = "lblNumericSum";
     this.lblNumericSum.Size     = new System.Drawing.Size(75, 13);
     this.lblNumericSum.TabIndex = 127;
     this.lblNumericSum.Text     = "lblNumericSum";
     //
     // checkLDcnt
     //
     this.checkLDcnt.AutoSize = true;
     this.checkLDcnt.Location = new System.Drawing.Point(497, 4);
     this.checkLDcnt.Name     = "checkLDcnt";
     this.checkLDcnt.Size     = new System.Drawing.Size(61, 17);
     this.checkLDcnt.TabIndex = 128;
     this.checkLDcnt.Text     = "LD CNT";
     this.checkLDcnt.UseVisualStyleBackColor = true;
     this.checkLDcnt.Visible = false;
     //
     // pnlEqp
     //
     this.pnlEqp.BackColor = System.Drawing.Color.Wheat;
     this.pnlEqp.Controls.Add(this.lblEqp);
     this.pnlEqp.Controls.Add(this.spdData_Eqp_Pos);
     this.pnlEqp.Location = new System.Drawing.Point(129, 49);
     this.pnlEqp.Name     = "pnlEqp";
     this.pnlEqp.Size     = new System.Drawing.Size(564, 214);
     this.pnlEqp.TabIndex = 4;
     this.pnlEqp.Visible  = false;
     //
     // lblEqp
     //
     this.lblEqp.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.lblEqp.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lblEqp.Font        = new System.Drawing.Font("Tahoma", 11F);
     this.lblEqp.Location    = new System.Drawing.Point(6, 5);
     this.lblEqp.Name        = "lblEqp";
     this.lblEqp.Size        = new System.Drawing.Size(552, 23);
     this.lblEqp.TabIndex    = 5;
     this.lblEqp.Text        = "Arrange and Status of Equipment";
     this.lblEqp.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     this.lblEqp.Click      += new System.EventHandler(this.lblEqp_Click);
     //
     // spdData_Eqp_Pos
     //
     this.spdData_Eqp_Pos.About = "4.0.2001.2005";
     this.spdData_Eqp_Pos.AccessibleDescription = "spdData_Eqp_Pos, Sheet1";
     this.spdData_Eqp_Pos.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this.spdData_Eqp_Pos.BackColor          = System.Drawing.Color.White;
     this.spdData_Eqp_Pos.Location           = new System.Drawing.Point(6, 33);
     this.spdData_Eqp_Pos.Name               = "spdData_Eqp_Pos";
     this.spdData_Eqp_Pos.RightToLeft        = System.Windows.Forms.RightToLeft.No;
     this.spdData_Eqp_Pos.RPT_IsPreCellsType = true;
     this.spdData_Eqp_Pos.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
         this.spdData_Eqp_Pos_Sheet1
     });
     this.spdData_Eqp_Pos.Size     = new System.Drawing.Size(552, 178);
     this.spdData_Eqp_Pos.TabIndex = 3;
     //
     // spdData_Eqp_Pos_Sheet1
     //
     this.spdData_Eqp_Pos_Sheet1.Reset();
     this.spdData_Eqp_Pos_Sheet1.SheetName = "Sheet1";
     // Formulas and custom names must be loaded with R1C1 reference style
     this.spdData_Eqp_Pos_Sheet1.ReferenceStyle        = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
     this.spdData_Eqp_Pos_Sheet1.ColumnCount           = 8;
     this.spdData_Eqp_Pos_Sheet1.ColumnHeader.RowCount = 2;
     this.spdData_Eqp_Pos_Sheet1.RowCount = 0;
     this.spdData_Eqp_Pos_Sheet1.ColumnHeader.Cells.Get(0, 0).RowSpan    = 2;
     this.spdData_Eqp_Pos_Sheet1.ColumnHeader.Cells.Get(0, 0).Value      = "Equipment model";
     this.spdData_Eqp_Pos_Sheet1.ColumnHeader.Cells.Get(0, 1).RowSpan    = 2;
     this.spdData_Eqp_Pos_Sheet1.ColumnHeader.Cells.Get(0, 1).Value      = "count";
     this.spdData_Eqp_Pos_Sheet1.ColumnHeader.Cells.Get(0, 2).RowSpan    = 2;
     this.spdData_Eqp_Pos_Sheet1.ColumnHeader.Cells.Get(0, 2).Value      = "UPEH";
     this.spdData_Eqp_Pos_Sheet1.ColumnHeader.Cells.Get(0, 3).RowSpan    = 2;
     this.spdData_Eqp_Pos_Sheet1.ColumnHeader.Cells.Get(0, 3).Value      = "CAPA";
     this.spdData_Eqp_Pos_Sheet1.ColumnHeader.Cells.Get(0, 4).ColumnSpan = 4;
     this.spdData_Eqp_Pos_Sheet1.ColumnHeader.Cells.Get(0, 4).Value      = "Equipment Status";
     this.spdData_Eqp_Pos_Sheet1.ColumnHeader.Cells.Get(1, 4).Value      = "Wait";
     this.spdData_Eqp_Pos_Sheet1.ColumnHeader.Cells.Get(1, 5).Value      = "Run";
     this.spdData_Eqp_Pos_Sheet1.ColumnHeader.Cells.Get(1, 6).Value      = "Down";
     this.spdData_Eqp_Pos_Sheet1.ColumnHeader.Cells.Get(1, 7).Value      = "Replacement of product";
     this.spdData_Eqp_Pos_Sheet1.ColumnHeader.Rows.Get(0).Height         = 21F;
     this.spdData_Eqp_Pos_Sheet1.Columns.Get(0).CellType             = textCellType4;
     this.spdData_Eqp_Pos_Sheet1.Columns.Get(1).CellType             = numberCellType22;
     this.spdData_Eqp_Pos_Sheet1.Columns.Get(2).CellType             = numberCellType23;
     this.spdData_Eqp_Pos_Sheet1.Columns.Get(3).CellType             = numberCellType24;
     this.spdData_Eqp_Pos_Sheet1.Columns.Get(4).CellType             = numberCellType25;
     this.spdData_Eqp_Pos_Sheet1.Columns.Get(4).Label                = "Wait";
     this.spdData_Eqp_Pos_Sheet1.Columns.Get(5).CellType             = numberCellType26;
     this.spdData_Eqp_Pos_Sheet1.Columns.Get(5).Label                = "Run";
     this.spdData_Eqp_Pos_Sheet1.Columns.Get(6).CellType             = numberCellType27;
     this.spdData_Eqp_Pos_Sheet1.Columns.Get(6).Label                = "Down";
     this.spdData_Eqp_Pos_Sheet1.Columns.Get(7).CellType             = numberCellType28;
     this.spdData_Eqp_Pos_Sheet1.Columns.Get(7).Label                = "Replacement of product";
     this.spdData_Eqp_Pos_Sheet1.RowHeader.Columns.Default.Resizable = true;
     this.spdData_Eqp_Pos_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
     this.spdData_Eqp_Pos.SetActiveViewport(0, 1, 0);
     //
     // pnlWip
     //
     this.pnlWip.BackColor = System.Drawing.Color.Wheat;
     this.pnlWip.Controls.Add(this.spdData_Wip_Pos);
     this.pnlWip.Controls.Add(this.lblWip);
     this.pnlWip.Location = new System.Drawing.Point(37, 152);
     this.pnlWip.Name     = "pnlWip";
     this.pnlWip.Size     = new System.Drawing.Size(561, 295);
     this.pnlWip.TabIndex = 5;
     this.pnlWip.Visible  = false;
     //
     // spdData_Wip_Pos
     //
     this.spdData_Wip_Pos.About = "4.0.2001.2005";
     this.spdData_Wip_Pos.AccessibleDescription = "spdData_Wip_Pos, Sheet1, Row 0, Column 0, ";
     this.spdData_Wip_Pos.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                          | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this.spdData_Wip_Pos.BackColor          = System.Drawing.Color.Wheat;
     this.spdData_Wip_Pos.Location           = new System.Drawing.Point(6, 31);
     this.spdData_Wip_Pos.Name               = "spdData_Wip_Pos";
     this.spdData_Wip_Pos.RightToLeft        = System.Windows.Forms.RightToLeft.No;
     this.spdData_Wip_Pos.RPT_IsPreCellsType = true;
     this.spdData_Wip_Pos.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
         this.spdData_Wip_Pos_Sheet1
     });
     this.spdData_Wip_Pos.Size     = new System.Drawing.Size(549, 261);
     this.spdData_Wip_Pos.TabIndex = 6;
     //
     // spdData_Wip_Pos_Sheet1
     //
     this.spdData_Wip_Pos_Sheet1.Reset();
     this.spdData_Wip_Pos_Sheet1.SheetName = "Sheet1";
     // Formulas and custom names must be loaded with R1C1 reference style
     this.spdData_Wip_Pos_Sheet1.ReferenceStyle        = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
     this.spdData_Wip_Pos_Sheet1.ColumnCount           = 6;
     this.spdData_Wip_Pos_Sheet1.ColumnHeader.RowCount = 2;
     this.spdData_Wip_Pos_Sheet1.RowCount = 0;
     this.spdData_Wip_Pos_Sheet1.ColumnHeader.Cells.Get(0, 0).RowSpan = 2;
     this.spdData_Wip_Pos_Sheet1.ColumnHeader.Cells.Get(0, 0).Value   = "업 체";
     this.spdData_Wip_Pos_Sheet1.ColumnHeader.Cells.Get(0, 1).RowSpan = 2;
     this.spdData_Wip_Pos_Sheet1.ColumnHeader.Cells.Get(0, 1).Value   = "Major";
     this.spdData_Wip_Pos_Sheet1.ColumnHeader.Cells.Get(0, 2).RowSpan = 2;
     this.spdData_Wip_Pos_Sheet1.ColumnHeader.Cells.Get(0, 2).Value   = "PKG";
     this.spdData_Wip_Pos_Sheet1.ColumnHeader.Cells.Get(0, 3).RowSpan = 2;
     this.spdData_Wip_Pos_Sheet1.ColumnHeader.Cells.Get(0, 3).Value   = "Lead";
     this.spdData_Wip_Pos_Sheet1.ColumnHeader.Cells.Get(0, 4).RowSpan = 2;
     this.spdData_Wip_Pos_Sheet1.ColumnHeader.Cells.Get(0, 4).Value   = "PKG_CODE";
     this.spdData_Wip_Pos_Sheet1.ColumnHeader.Cells.Get(0, 5).RowSpan = 2;
     this.spdData_Wip_Pos_Sheet1.ColumnHeader.Cells.Get(0, 5).Value   = "구 분";
     this.spdData_Wip_Pos_Sheet1.Columns.Get(1).Width = 72F;
     this.spdData_Wip_Pos_Sheet1.Columns.Get(2).Width = 78F;
     this.spdData_Wip_Pos_Sheet1.Columns.Get(3).Width = 46F;
     this.spdData_Wip_Pos_Sheet1.Columns.Get(4).Width = 85F;
     this.spdData_Wip_Pos_Sheet1.Columns.Get(5).Width = 64F;
     this.spdData_Wip_Pos_Sheet1.RowHeader.Columns.Default.Resizable = true;
     this.spdData_Wip_Pos_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
     this.spdData_Wip_Pos.SetActiveViewport(0, 1, 0);
     //
     // lblWip
     //
     this.lblWip.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.lblWip.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lblWip.Font        = new System.Drawing.Font("Tahoma", 11F);
     this.lblWip.Location    = new System.Drawing.Point(6, 5);
     this.lblWip.Name        = "lblWip";
     this.lblWip.Size        = new System.Drawing.Size(549, 23);
     this.lblWip.TabIndex    = 5;
     this.lblWip.Text        = "WIP and CAPA of Equipment";
     this.lblWip.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     this.lblWip.Click      += new System.EventHandler(this.lblWip_Click);
     //
     // PRD011009
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BaseFormType        = Miracom.SmartWeb.UI.Controls.udcCUSReport002.eBaseFormType.WIP_BASE;
     this.ConditionCount      = 2;
     this.FormStyle.BackColor = System.Drawing.SystemColors.Control;
     this.FormStyle.FormName  = null;
     this.Name = "PRD011009";
     this.pnlMiddle.ResumeLayout(false);
     this.pnlCondition2.ResumeLayout(false);
     this.pnlCondition2.PerformLayout();
     this.pnlCondition1.ResumeLayout(false);
     this.pnlCondition1.PerformLayout();
     this.pnlWIPDetail.ResumeLayout(false);
     this.pnlDetailCondition2.ResumeLayout(false);
     this.pnlDetailCondition1.ResumeLayout(false);
     this.pnlMain.ResumeLayout(false);
     this.pnlRASDetail.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     this.panel4.ResumeLayout(false);
     this.pnlDetailCondition3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.spdData)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.spdData_Sheet1)).EndInit();
     this.pnlEqp.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.spdData_Eqp_Pos)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.spdData_Eqp_Pos_Sheet1)).EndInit();
     this.pnlWip.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.spdData_Wip_Pos)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.spdData_Wip_Pos_Sheet1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 34
0
        // <summary>
        /// 保存
        /// </summary>
        public void Save()
        {
            if (!this.Valid())
            {
                return;
            }

            this.dt.DefaultView.RowFilter = "1=1";
            for (int i = 0; i < this.dt.DefaultView.Count; i++)
            {
                this.dt.DefaultView[i].EndEdit();
            }

            FarPoint.Win.Spread.CellType.NumberCellType numberCellType = new FarPoint.Win.Spread.CellType.NumberCellType();
            numberCellType.DecimalPlaces = 4;
            this.ucInManager.FpSheetView.Columns[(int)ColumnSet.ColPurchasePrice].CellType = numberCellType;
            this.ucInManager.FpSheetView.Columns[(int)ColumnSet.ColInCost].CellType        = numberCellType;

            DataTable dtAddMofity = this.dt.GetChanges(DataRowState.Added | DataRowState.Modified);

            if (dtAddMofity == null || dtAddMofity.Rows.Count <= 0)
            {
                return;
            }

            //定义事务
            Neusoft.FrameWork.Management.PublicTrans.BeginTransaction();

            //Neusoft.FrameWork.Management.Transaction t = new Transaction(Neusoft.FrameWork.Management.Connection.Instance);
            //t.BeginTransaction();

            this.itemManager.SetTrans(Neusoft.FrameWork.Management.PublicTrans.Trans);

            DateTime sysTime = this.itemManager.GetDateTimeFromSysDateTime();

            ArrayList alInput = new ArrayList();

            foreach (DataRow dr in dtAddMofity.Rows)
            {
                string key = dr["流水号"].ToString() + dr["库存序号"].ToString();

                //没有输入发票号的不保存
                if (dr["发票号"] == null || dr["发票号"].ToString().Trim() == "")
                {
                    continue;
                }

                //				Neusoft.HISFC.Models.Material.Input input = this.hsInData[key] as Neusoft.HISFC.Models.Material.Input;
                Neusoft.HISFC.Models.Material.Input input = new Neusoft.HISFC.Models.Material.Input();

                input.StoreBase.Operation.ExamOper.ID       = this.ucInManager.OperInfo.ID.ToString(); //审批人
                input.StoreBase.Operation.ExamOper.OperTime = sysTime;                                 //审批时间
                input.InvoiceNO         = dr["发票号"].ToString().Trim();
                input.InvoiceTime       = NConvert.ToDateTime(dr["发票日期"].ToString().Trim());
                input.ID                = dr["流水号"].ToString();
                input.StoreBase.StockNO = dr["库存序号"].ToString();
                //				input.StoreBase.PriceCollection.PurchasePrice = NConvert.ToDecimal(dr["购入价"]);
                //				input.StoreBase.PurchaseCost = NConvert.ToDecimal(dr["购入金额"]);

                int parm = this.itemManager.ExamInput(input);
                if (parm == -1)
                {
                    Neusoft.FrameWork.Management.PublicTrans.RollBack();
                    MessageBox.Show(this.itemManager.Err);
                    return;
                }
                if (parm == 0)
                {
                    Neusoft.FrameWork.Management.PublicTrans.RollBack();
                    MessageBox.Show("数据可能已被审核,请刷新重试");
                    return;
                }

                alInput.Add(input);
            }

            Neusoft.FrameWork.Management.PublicTrans.Commit();

            MessageBox.Show("补录发票成功");

            //			if(alInput.Count > 0)
            //			{
            //				Local.GyHis.Material.ucMatInput ucMat = new Local.GyHis.Material.ucMatInput();
            //				ucMat.Decimals = 2;
            //				ucMat.MaxRowNo = 17;
            //
            //				ucMat.SetDataForInput(alInput,1,this.itemManager.Operator.ID,"1");
            //
            //			}

            //清屏显示
            this.Clear();
            this.ShowSelectData();

            FarPoint.Win.Spread.CellType.NumberCellType numCellType = new FarPoint.Win.Spread.CellType.NumberCellType();
            numCellType.DecimalPlaces = 4;
            this.ucInManager.FpSheetView.Columns[(int)ColumnSet.ColPurchasePrice].CellType = numCellType;
            this.ucInManager.FpSheetView.Columns[(int)ColumnSet.ColInCost].CellType        = numCellType;
        }
Ejemplo n.º 35
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources         = new System.ComponentModel.ComponentResourceManager(typeof(TRN150_NGInquiry));
     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.TextCellType      textCellType4     = new FarPoint.Win.Spread.CellType.TextCellType();
     FarPoint.Win.Spread.CellType.DateTimeCellType  dateTimeCellType1 = new FarPoint.Win.Spread.CellType.DateTimeCellType();
     FarPoint.Win.Spread.CellType.TextCellType      textCellType5     = new FarPoint.Win.Spread.CellType.TextCellType();
     FarPoint.Win.Spread.CellType.NumberCellType    numberCellType1   = new FarPoint.Win.Spread.CellType.NumberCellType();
     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();
     this.rdoGroupItem      = new EVOFramework.Windows.Forms.EVORadioButton();
     this.rdoGroupItemLotNo = new EVOFramework.Windows.Forms.EVORadioButton();
     this.dtPeriodBegin     = new EVOFramework.Windows.Forms.EVODateTextBoxWithCalendar();
     this.dtPeriodEnd       = new EVOFramework.Windows.Forms.EVODateTextBoxWithCalendar();
     this.tlpTitle          = new System.Windows.Forms.TableLayoutPanel();
     this.label1            = new EVOFramework.Windows.Forms.EVOLabel();
     this.lblItemCode       = new EVOFramework.Windows.Forms.EVOLabel();
     this.txtItemDesc       = new EVOFramework.Windows.Forms.EVOTextBox();
     this.btnItemCode       = new EVOFramework.Windows.Forms.EVOButton();
     this.txtItemFrom       = new Rubik.Forms.UserControl.ItemTextBox();
     this.evoTextBox1       = new EVOFramework.Windows.Forms.EVOTextBox();
     this.evoButton1        = new EVOFramework.Windows.Forms.EVOButton();
     this.txtItemTo         = new Rubik.Forms.UserControl.ItemTextBox();
     this.evoLabel1         = new EVOFramework.Windows.Forms.EVOLabel();
     this.lblWorkResultDate = new EVOFramework.Windows.Forms.EVOLabel();
     this.groupBox1         = new System.Windows.Forms.GroupBox();
     this.label2            = new System.Windows.Forms.Label();
     this.btlFind           = new System.Windows.Forms.Button();
     this.evoPanel1         = new EVOFramework.Windows.Forms.EVOPanel();
     this.txtLotNumber      = new EVOFramework.Windows.Forms.EVOTextBox();
     this.fpView            = new FarPoint.Win.Spread.FpSpread();
     this.shtView           = new FarPoint.Win.Spread.SheetView();
     this.evoLabel2         = new EVOFramework.Windows.Forms.EVOLabel();
     this.pnlContainer.SuspendLayout();
     this.tlpTitle.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.evoPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.fpView)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.shtView)).BeginInit();
     this.SuspendLayout();
     //
     // pnlContainer
     //
     this.pnlContainer.BackColor = System.Drawing.Color.AliceBlue;
     this.pnlContainer.Controls.Add(this.evoTextBox1);
     this.pnlContainer.Controls.Add(this.label2);
     this.pnlContainer.Controls.Add(this.dtPeriodBegin);
     this.pnlContainer.Controls.Add(this.lblWorkResultDate);
     this.pnlContainer.Controls.Add(this.evoButton1);
     this.pnlContainer.Controls.Add(this.txtItemTo);
     this.pnlContainer.Controls.Add(this.evoLabel1);
     this.pnlContainer.Controls.Add(this.txtItemDesc);
     this.pnlContainer.Controls.Add(this.txtItemFrom);
     this.pnlContainer.Controls.Add(this.btnItemCode);
     this.pnlContainer.Controls.Add(this.lblItemCode);
     this.pnlContainer.Controls.Add(this.dtPeriodEnd);
     this.pnlContainer.Controls.Add(this.groupBox1);
     this.pnlContainer.Controls.Add(this.evoPanel1);
     this.pnlContainer.Font      = new System.Drawing.Font("Tahoma", 12F);
     this.pnlContainer.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.pnlContainer.Size      = new System.Drawing.Size(879, 517);
     //
     // rdoGroupItem
     //
     this.rdoGroupItem.AppearanceName          = "";
     this.rdoGroupItem.Checked                 = true;
     this.rdoGroupItem.ControlID               = null;
     this.rdoGroupItem.Font                    = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222)));
     this.rdoGroupItem.Location                = new System.Drawing.Point(6, 17);
     this.rdoGroupItem.Name                    = "rdoGroupItem";
     this.rdoGroupItem.PathString              = null;
     this.rdoGroupItem.Size                    = new System.Drawing.Size(109, 26);
     this.rdoGroupItem.SpecificValue           = null;
     this.rdoGroupItem.TabIndex                = 3;
     this.rdoGroupItem.TabStop                 = true;
     this.rdoGroupItem.Text                    = "By Item";
     this.rdoGroupItem.UseVisualStyleBackColor = true;
     this.rdoGroupItem.CheckedChanged         += new System.EventHandler(this.rdoGroupItem_CheckedChanged);
     //
     // rdoGroupItemLotNo
     //
     this.rdoGroupItemLotNo.AppearanceName          = "";
     this.rdoGroupItemLotNo.ControlID               = null;
     this.rdoGroupItemLotNo.Font                    = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222)));
     this.rdoGroupItemLotNo.Location                = new System.Drawing.Point(121, 17);
     this.rdoGroupItemLotNo.Name                    = "rdoGroupItemLotNo";
     this.rdoGroupItemLotNo.PathString              = null;
     this.rdoGroupItemLotNo.Size                    = new System.Drawing.Size(148, 25);
     this.rdoGroupItemLotNo.SpecificValue           = null;
     this.rdoGroupItemLotNo.TabIndex                = 2;
     this.rdoGroupItemLotNo.Text                    = "By Item, Lot No.";
     this.rdoGroupItemLotNo.UseVisualStyleBackColor = true;
     //
     // dtPeriodBegin
     //
     this.dtPeriodBegin.AppearanceName         = "";
     this.dtPeriodBegin.AppearanceReadOnlyName = "";
     this.dtPeriodBegin.BackColor   = System.Drawing.Color.Transparent;
     this.dtPeriodBegin.ControlID   = "";
     this.dtPeriodBegin.Font        = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222)));
     this.dtPeriodBegin.Format      = "dd/MM/yyyy";
     this.dtPeriodBegin.Location    = new System.Drawing.Point(475, 63);
     this.dtPeriodBegin.MinimumSize = new System.Drawing.Size(100, 0);
     this.dtPeriodBegin.Name        = "dtPeriodBegin";
     this.dtPeriodBegin.NZValue     = ((EVOFramework.NZDateTime)(resources.GetObject("dtPeriodBegin.NZValue")));
     this.dtPeriodBegin.PathString  = null;
     this.dtPeriodBegin.PathValue   = ((object)(resources.GetObject("dtPeriodBegin.PathValue")));
     this.dtPeriodBegin.ReadOnly    = false;
     this.dtPeriodBegin.ShowButton  = true;
     this.dtPeriodBegin.Size        = new System.Drawing.Size(139, 26);
     this.dtPeriodBegin.TabIndex    = 7;
     this.dtPeriodBegin.Value       = null;
     //
     // dtPeriodEnd
     //
     this.dtPeriodEnd.AppearanceName         = "";
     this.dtPeriodEnd.AppearanceReadOnlyName = "";
     this.dtPeriodEnd.BackColor   = System.Drawing.Color.Transparent;
     this.dtPeriodEnd.ControlID   = "";
     this.dtPeriodEnd.Font        = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222)));
     this.dtPeriodEnd.Format      = "dd/MM/yyyy";
     this.dtPeriodEnd.Location    = new System.Drawing.Point(670, 62);
     this.dtPeriodEnd.MinimumSize = new System.Drawing.Size(100, 0);
     this.dtPeriodEnd.Name        = "dtPeriodEnd";
     this.dtPeriodEnd.NZValue     = ((EVOFramework.NZDateTime)(resources.GetObject("dtPeriodEnd.NZValue")));
     this.dtPeriodEnd.PathString  = null;
     this.dtPeriodEnd.PathValue   = ((object)(resources.GetObject("dtPeriodEnd.PathValue")));
     this.dtPeriodEnd.ReadOnly    = false;
     this.dtPeriodEnd.ShowButton  = true;
     this.dtPeriodEnd.Size        = new System.Drawing.Size(145, 26);
     this.dtPeriodEnd.TabIndex    = 8;
     this.dtPeriodEnd.Value       = null;
     //
     // tlpTitle
     //
     this.tlpTitle.ColumnCount = 1;
     this.tlpTitle.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tlpTitle.Controls.Add(this.label1, 0, 0);
     this.tlpTitle.Location = new System.Drawing.Point(0, 0);
     this.tlpTitle.Margin   = new System.Windows.Forms.Padding(0);
     this.tlpTitle.Name     = "tlpTitle";
     this.tlpTitle.RowCount = 2;
     this.tlpTitle.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tlpTitle.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 44F));
     this.tlpTitle.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 44F));
     this.tlpTitle.Size     = new System.Drawing.Size(404, 44);
     this.tlpTitle.TabIndex = 45;
     //
     // label1
     //
     this.label1.AppearanceName = "Title";
     this.label1.AutoSize       = true;
     this.label1.ControlID      = "";
     this.label1.Dock           = System.Windows.Forms.DockStyle.Top;
     this.label1.Font           = new System.Drawing.Font("Tahoma", 24F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(222)));
     this.label1.ForeColor      = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
     this.label1.Location       = new System.Drawing.Point(3, 0);
     this.label1.Name           = "label1";
     this.label1.PathString     = null;
     this.label1.PathValue      = "NG Inquiry";
     this.label1.Size           = new System.Drawing.Size(398, 39);
     this.label1.TabIndex       = 35;
     this.label1.Text           = "NG Inquiry";
     //
     // lblItemCode
     //
     this.lblItemCode.AppearanceName = "";
     this.lblItemCode.ControlID      = "";
     this.lblItemCode.Location       = new System.Drawing.Point(6, 58);
     this.lblItemCode.Name           = "lblItemCode";
     this.lblItemCode.PathString     = null;
     this.lblItemCode.PathValue      = "Part From:";
     this.lblItemCode.Size           = new System.Drawing.Size(117, 35);
     this.lblItemCode.TabIndex       = 100010;
     this.lblItemCode.Text           = "Part From:";
     this.lblItemCode.TextAlign      = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtItemDesc
     //
     this.txtItemDesc.AppearanceName         = "";
     this.txtItemDesc.AppearanceReadOnlyName = "";
     this.txtItemDesc.ControlID           = "";
     this.txtItemDesc.DisableRestrictChar = false;
     this.txtItemDesc.Enabled             = false;
     this.txtItemDesc.HelpButton          = null;
     this.txtItemDesc.Location            = new System.Drawing.Point(385, 63);
     this.txtItemDesc.MaxLength           = 50;
     this.txtItemDesc.Name       = "txtItemDesc";
     this.txtItemDesc.PathString = "ItemDesc.Value";
     this.txtItemDesc.PathValue  = "";
     this.txtItemDesc.Size       = new System.Drawing.Size(20, 27);
     this.txtItemDesc.TabIndex   = 100013;
     this.txtItemDesc.Visible    = false;
     //
     // btnItemCode
     //
     this.btnItemCode.AppearanceName        = "";
     this.btnItemCode.AutoSize              = true;
     this.btnItemCode.BackgroundImage       = global::Rubik.Forms.Properties.Resources.VIEW;
     this.btnItemCode.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.btnItemCode.ControlID             = null;
     this.btnItemCode.Location              = new System.Drawing.Point(345, 61);
     this.btnItemCode.Name     = "btnItemCode";
     this.btnItemCode.Size     = new System.Drawing.Size(34, 29);
     this.btnItemCode.TabIndex = 100012;
     this.btnItemCode.TabStop  = false;
     this.btnItemCode.UseVisualStyleBackColor = true;
     //
     // txtItemFrom
     //
     this.txtItemFrom.AllowNegative          = true;
     this.txtItemFrom.AppearanceName         = "";
     this.txtItemFrom.AppearanceReadOnlyName = "";
     this.txtItemFrom.CharacterCasing        = System.Windows.Forms.CharacterCasing.Upper;
     this.txtItemFrom.CheckEmpty             = true;
     this.txtItemFrom.CheckExist             = false;
     this.txtItemFrom.CheckNotExist          = true;
     this.txtItemFrom.ControlID           = "";
     this.txtItemFrom.CustomerCode        = null;
     this.txtItemFrom.CustomerNameTextBox = null;
     this.txtItemFrom.Decimal             = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     this.txtItemFrom.DecimalPoint       = '.';
     this.txtItemFrom.DescriptionTextBox = this.txtItemDesc;
     this.txtItemFrom.DigitsInGroup      = 0;
     this.txtItemFrom.Double             = 0D;
     this.txtItemFrom.FixDecimalPosition = true;
     this.txtItemFrom.Flags                   = 0;
     this.txtItemFrom.GroupSeparator          = ',';
     this.txtItemFrom.HelpButton              = this.btnItemCode;
     this.txtItemFrom.Int                     = 0;
     this.txtItemFrom.ItemType                = null;
     this.txtItemFrom.Location                = new System.Drawing.Point(129, 62);
     this.txtItemFrom.Long                    = ((long)(0));
     this.txtItemFrom.MaxDecimalPlaces        = 0;
     this.txtItemFrom.MaxLength               = 50;
     this.txtItemFrom.MaxWholeDigits          = 10;
     this.txtItemFrom.Name                    = "txtItemFrom";
     this.txtItemFrom.NegativeSign            = '-';
     this.txtItemFrom.PathString              = "ItemCode.Value";
     this.txtItemFrom.PathValue               = "";
     this.txtItemFrom.Prefix                  = "";
     this.txtItemFrom.RangeMax                = 9999999999D;
     this.txtItemFrom.RangeMin                = 0D;
     this.txtItemFrom.SelectedCustomerData    = null;
     this.txtItemFrom.SelectedItemData        = null;
     this.txtItemFrom.SelectedItemProcessData = null;
     this.txtItemFrom.Size                    = new System.Drawing.Size(210, 27);
     this.txtItemFrom.SqlOperator             = Rubik.eSqlOperator.In;
     this.txtItemFrom.TabIndex                = 100011;
     this.txtItemFrom.TextAlign               = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // evoTextBox1
     //
     this.evoTextBox1.AppearanceName         = "";
     this.evoTextBox1.AppearanceReadOnlyName = "";
     this.evoTextBox1.ControlID           = "";
     this.evoTextBox1.DisableRestrictChar = false;
     this.evoTextBox1.Enabled             = false;
     this.evoTextBox1.HelpButton          = null;
     this.evoTextBox1.Location            = new System.Drawing.Point(385, 97);
     this.evoTextBox1.MaxLength           = 50;
     this.evoTextBox1.Name       = "evoTextBox1";
     this.evoTextBox1.PathString = "ItemDesc.Value";
     this.evoTextBox1.PathValue  = "";
     this.evoTextBox1.Size       = new System.Drawing.Size(20, 27);
     this.evoTextBox1.TabIndex   = 100017;
     this.evoTextBox1.Visible    = false;
     //
     // evoButton1
     //
     this.evoButton1.AppearanceName        = "";
     this.evoButton1.AutoSize              = true;
     this.evoButton1.BackgroundImage       = global::Rubik.Forms.Properties.Resources.VIEW;
     this.evoButton1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.evoButton1.ControlID             = null;
     this.evoButton1.Location              = new System.Drawing.Point(345, 96);
     this.evoButton1.Name     = "evoButton1";
     this.evoButton1.Size     = new System.Drawing.Size(34, 29);
     this.evoButton1.TabIndex = 100016;
     this.evoButton1.TabStop  = false;
     this.evoButton1.UseVisualStyleBackColor = true;
     //
     // txtItemTo
     //
     this.txtItemTo.AllowNegative          = true;
     this.txtItemTo.AppearanceName         = "";
     this.txtItemTo.AppearanceReadOnlyName = "";
     this.txtItemTo.CharacterCasing        = System.Windows.Forms.CharacterCasing.Upper;
     this.txtItemTo.CheckEmpty             = true;
     this.txtItemTo.CheckExist             = false;
     this.txtItemTo.CheckNotExist          = true;
     this.txtItemTo.ControlID           = "";
     this.txtItemTo.CustomerCode        = null;
     this.txtItemTo.CustomerNameTextBox = null;
     this.txtItemTo.Decimal             = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     this.txtItemTo.DecimalPoint       = '.';
     this.txtItemTo.DescriptionTextBox = this.evoTextBox1;
     this.txtItemTo.DigitsInGroup      = 0;
     this.txtItemTo.Double             = 0D;
     this.txtItemTo.FixDecimalPosition = true;
     this.txtItemTo.Flags                   = 0;
     this.txtItemTo.GroupSeparator          = ',';
     this.txtItemTo.HelpButton              = this.evoButton1;
     this.txtItemTo.Int                     = 0;
     this.txtItemTo.ItemType                = null;
     this.txtItemTo.Location                = new System.Drawing.Point(129, 97);
     this.txtItemTo.Long                    = ((long)(0));
     this.txtItemTo.MaxDecimalPlaces        = 0;
     this.txtItemTo.MaxLength               = 50;
     this.txtItemTo.MaxWholeDigits          = 10;
     this.txtItemTo.Name                    = "txtItemTo";
     this.txtItemTo.NegativeSign            = '-';
     this.txtItemTo.PathString              = "ItemCode.Value";
     this.txtItemTo.PathValue               = "";
     this.txtItemTo.Prefix                  = "";
     this.txtItemTo.RangeMax                = 9999999999D;
     this.txtItemTo.RangeMin                = 0D;
     this.txtItemTo.SelectedCustomerData    = null;
     this.txtItemTo.SelectedItemData        = null;
     this.txtItemTo.SelectedItemProcessData = null;
     this.txtItemTo.Size                    = new System.Drawing.Size(210, 27);
     this.txtItemTo.SqlOperator             = Rubik.eSqlOperator.In;
     this.txtItemTo.TabIndex                = 100015;
     this.txtItemTo.TextAlign               = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // evoLabel1
     //
     this.evoLabel1.AppearanceName = "";
     this.evoLabel1.ControlID      = "";
     this.evoLabel1.Location       = new System.Drawing.Point(6, 92);
     this.evoLabel1.Name           = "evoLabel1";
     this.evoLabel1.PathString     = null;
     this.evoLabel1.PathValue      = "Part To:";
     this.evoLabel1.Size           = new System.Drawing.Size(117, 35);
     this.evoLabel1.TabIndex       = 100014;
     this.evoLabel1.Text           = "Part To:";
     this.evoLabel1.TextAlign      = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblWorkResultDate
     //
     this.lblWorkResultDate.AppearanceName = "";
     this.lblWorkResultDate.ControlID      = "";
     this.lblWorkResultDate.Location       = new System.Drawing.Point(424, 59);
     this.lblWorkResultDate.Name           = "lblWorkResultDate";
     this.lblWorkResultDate.PathString     = null;
     this.lblWorkResultDate.PathValue      = "Date";
     this.lblWorkResultDate.Size           = new System.Drawing.Size(45, 33);
     this.lblWorkResultDate.TabIndex       = 100019;
     this.lblWorkResultDate.Text           = "Date";
     this.lblWorkResultDate.TextAlign      = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.rdoGroupItemLotNo);
     this.groupBox1.Controls.Add(this.rdoGroupItem);
     this.groupBox1.Location = new System.Drawing.Point(428, 85);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(300, 50);
     this.groupBox1.TabIndex = 100020;
     this.groupBox1.TabStop  = false;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(626, 66);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(28, 19);
     this.label2.TabIndex = 100021;
     this.label2.Text     = "To";
     //
     // btlFind
     //
     this.btlFind.Location = new System.Drawing.Point(734, 100);
     this.btlFind.Name     = "btlFind";
     this.btlFind.Size     = new System.Drawing.Size(60, 28);
     this.btlFind.TabIndex = 100022;
     this.btlFind.Text     = "Find";
     this.btlFind.UseVisualStyleBackColor = true;
     this.btlFind.Click += new System.EventHandler(this.btlFind_Click);
     //
     // evoPanel1
     //
     this.evoPanel1.AppearanceName = "";
     this.evoPanel1.Controls.Add(this.txtLotNumber);
     this.evoPanel1.Controls.Add(this.fpView);
     this.evoPanel1.Controls.Add(this.btlFind);
     this.evoPanel1.Controls.Add(this.tlpTitle);
     this.evoPanel1.Controls.Add(this.evoLabel2);
     this.evoPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.evoPanel1.Location = new System.Drawing.Point(0, 0);
     this.evoPanel1.Margin   = new System.Windows.Forms.Padding(0);
     this.evoPanel1.Name     = "evoPanel1";
     this.evoPanel1.Size     = new System.Drawing.Size(879, 517);
     this.evoPanel1.TabIndex = 100023;
     //
     // txtLotNumber
     //
     this.txtLotNumber.AppearanceName         = "";
     this.txtLotNumber.AppearanceReadOnlyName = "";
     this.txtLotNumber.ControlID           = "";
     this.txtLotNumber.DisableRestrictChar = false;
     this.txtLotNumber.HelpButton          = null;
     this.txtLotNumber.Location            = new System.Drawing.Point(129, 131);
     this.txtLotNumber.MaxLength           = 20;
     this.txtLotNumber.Name       = "txtLotNumber";
     this.txtLotNumber.PathString = "LotNo.Value";
     this.txtLotNumber.PathValue  = "";
     this.txtLotNumber.Size       = new System.Drawing.Size(210, 27);
     this.txtLotNumber.TabIndex   = 100023;
     //
     // fpView
     //
     this.fpView.About = "2.5.2015.2005";
     this.fpView.AccessibleDescription = "fpView, Sheet1";
     this.fpView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                 | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.fpView.BackColor                 = System.Drawing.Color.AliceBlue;
     this.fpView.ColumnSplitBoxPolicy      = FarPoint.Win.Spread.SplitBoxPolicy.AsNeeded;
     this.fpView.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
     this.fpView.Location             = new System.Drawing.Point(0, 169);
     this.fpView.Name                 = "fpView";
     this.fpView.RightToLeft          = System.Windows.Forms.RightToLeft.No;
     this.fpView.RowSplitBoxPolicy    = FarPoint.Win.Spread.SplitBoxPolicy.AsNeeded;
     this.fpView.ScrollBarTrackPolicy = FarPoint.Win.Spread.ScrollBarTrackPolicy.Both;
     this.fpView.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
         this.shtView
     });
     this.fpView.Size     = new System.Drawing.Size(879, 350);
     this.fpView.TabIndex = 100018;
     this.fpView.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
     this.fpView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.fpView_KeyDown);
     //
     // shtView
     //
     this.shtView.Reset();
     this.shtView.SheetName = "Sheet1";
     // Formulas and custom names must be loaded with R1C1 reference style
     this.shtView.ReferenceStyle      = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
     this.shtView.ColumnCount         = 11;
     this.shtView.RowCount            = 0;
     this.shtView.AutoGenerateColumns = false;
     this.shtView.ColumnHeader.Cells.Get(0, 0).Value  = "Part Code";
     this.shtView.ColumnHeader.Cells.Get(0, 1).Value  = "Part Desc ";
     this.shtView.ColumnHeader.Cells.Get(0, 2).Value  = "Short Name";
     this.shtView.ColumnHeader.Cells.Get(0, 3).Value  = "Lot No.";
     this.shtView.ColumnHeader.Cells.Get(0, 4).Value  = "Tran Date";
     this.shtView.ColumnHeader.Cells.Get(0, 5).Value  = "Shift";
     this.shtView.ColumnHeader.Cells.Get(0, 6).Value  = "NG Qty";
     this.shtView.ColumnHeader.Cells.Get(0, 7).Value  = "NG Reason";
     this.shtView.ColumnHeader.Cells.Get(0, 8).Value  = "WO No.";
     this.shtView.ColumnHeader.Cells.Get(0, 9).Value  = "Remark";
     this.shtView.ColumnHeader.Cells.Get(0, 10).Value = "Work Result Type";
     this.shtView.ColumnHeader.Rows.Get(0).Height     = 40F;
     this.shtView.Columns.Get(0).AllowAutoFilter      = true;
     this.shtView.Columns.Get(0).AllowAutoSort        = true;
     this.shtView.Columns.Get(0).CellType             = textCellType1;
     this.shtView.Columns.Get(0).Label           = "Part Code";
     this.shtView.Columns.Get(0).Locked          = true;
     this.shtView.Columns.Get(0).Tag             = "Part Code";
     this.shtView.Columns.Get(0).Width           = 160F;
     this.shtView.Columns.Get(1).AllowAutoFilter = true;
     this.shtView.Columns.Get(1).AllowAutoSort   = true;
     this.shtView.Columns.Get(1).CellType        = textCellType2;
     this.shtView.Columns.Get(1).Label           = "Part Desc ";
     this.shtView.Columns.Get(1).Locked          = true;
     this.shtView.Columns.Get(1).Tag             = "Part Description";
     this.shtView.Columns.Get(1).Width           = 180F;
     this.shtView.Columns.Get(2).AllowAutoFilter = true;
     this.shtView.Columns.Get(2).AllowAutoSort   = true;
     this.shtView.Columns.Get(2).CellType        = textCellType3;
     this.shtView.Columns.Get(2).Label           = "Short Name";
     this.shtView.Columns.Get(2).Locked          = true;
     this.shtView.Columns.Get(2).Tag             = "Short Name";
     this.shtView.Columns.Get(2).Width           = 140F;
     this.shtView.Columns.Get(3).AllowAutoSort   = true;
     this.shtView.Columns.Get(3).CellType        = textCellType4;
     this.shtView.Columns.Get(3).Label           = "Lot No.";
     this.shtView.Columns.Get(3).Locked          = true;
     this.shtView.Columns.Get(3).Tag             = "Lot No.";
     this.shtView.Columns.Get(3).Width           = 108F;
     this.shtView.Columns.Get(4).AllowAutoFilter = true;
     this.shtView.Columns.Get(4).AllowAutoSort   = true;
     dateTimeCellType1.Calendar                       = ((System.Globalization.Calendar)(resources.GetObject("dateTimeCellType1.Calendar")));
     dateTimeCellType1.DateDefault                    = new System.DateTime(2011, 5, 13, 16, 12, 12, 0);
     dateTimeCellType1.DateTimeFormat                 = FarPoint.Win.Spread.CellType.DateTimeFormat.UserDefined;
     dateTimeCellType1.TimeDefault                    = new System.DateTime(2011, 5, 13, 16, 12, 12, 0);
     dateTimeCellType1.TwoDigitYearMax                = 2029;
     dateTimeCellType1.UserDefinedFormat              = "dd/MM/yyyy";
     this.shtView.Columns.Get(4).CellType             = dateTimeCellType1;
     this.shtView.Columns.Get(4).Label                = "Tran Date";
     this.shtView.Columns.Get(4).Locked               = true;
     this.shtView.Columns.Get(4).Tag                  = "Tran Date";
     this.shtView.Columns.Get(4).Width                = 116F;
     this.shtView.Columns.Get(5).AllowAutoFilter      = true;
     this.shtView.Columns.Get(5).AllowAutoSort        = true;
     this.shtView.Columns.Get(5).CellType             = textCellType5;
     this.shtView.Columns.Get(5).Label                = "Shift";
     this.shtView.Columns.Get(5).Locked               = true;
     this.shtView.Columns.Get(5).Tag                  = "Shift";
     this.shtView.Columns.Get(5).Width                = 80F;
     this.shtView.Columns.Get(6).AllowAutoFilter      = true;
     this.shtView.Columns.Get(6).AllowAutoSort        = true;
     numberCellType1.DecimalPlaces                    = 6;
     numberCellType1.DecimalSeparator                 = ".";
     numberCellType1.FixedPoint                       = false;
     this.shtView.Columns.Get(6).CellType             = numberCellType1;
     this.shtView.Columns.Get(6).Label                = "NG Qty";
     this.shtView.Columns.Get(6).Locked               = true;
     this.shtView.Columns.Get(6).Tag                  = "NG Qty";
     this.shtView.Columns.Get(6).Width                = 100F;
     this.shtView.Columns.Get(7).AllowAutoFilter      = true;
     this.shtView.Columns.Get(7).AllowAutoSort        = true;
     this.shtView.Columns.Get(7).CellType             = textCellType6;
     this.shtView.Columns.Get(7).Label                = "NG Reason";
     this.shtView.Columns.Get(7).Locked               = true;
     this.shtView.Columns.Get(7).Tag                  = "NG Reason";
     this.shtView.Columns.Get(7).Width                = 130F;
     this.shtView.Columns.Get(8).AllowAutoFilter      = true;
     this.shtView.Columns.Get(8).AllowAutoSort        = true;
     this.shtView.Columns.Get(8).CellType             = textCellType7;
     this.shtView.Columns.Get(8).Label                = "WO No.";
     this.shtView.Columns.Get(8).Locked               = true;
     this.shtView.Columns.Get(8).Tag                  = "WO No.";
     this.shtView.Columns.Get(8).Width                = 101F;
     this.shtView.Columns.Get(9).AllowAutoFilter      = true;
     this.shtView.Columns.Get(9).AllowAutoSort        = true;
     this.shtView.Columns.Get(9).CellType             = textCellType8;
     this.shtView.Columns.Get(9).Label                = "Remark";
     this.shtView.Columns.Get(9).Locked               = true;
     this.shtView.Columns.Get(9).Tag                  = "Remark";
     this.shtView.Columns.Get(9).Width                = 105F;
     this.shtView.Columns.Get(10).AllowAutoFilter     = true;
     this.shtView.Columns.Get(10).AllowAutoSort       = true;
     this.shtView.Columns.Get(10).CellType            = textCellType9;
     this.shtView.Columns.Get(10).Label               = "Work Result Type";
     this.shtView.Columns.Get(10).Locked              = true;
     this.shtView.Columns.Get(10).Tag                 = "Work Result Type";
     this.shtView.Columns.Get(10).Width               = 162F;
     this.shtView.DataAutoCellTypes                   = false;
     this.shtView.DataAutoHeadings                    = false;
     this.shtView.DataAutoSizeColumns                 = false;
     this.shtView.RowHeader.Columns.Default.Resizable = true;
     this.shtView.SelectionPolicy                     = FarPoint.Win.Spread.Model.SelectionPolicy.Single;
     this.shtView.SelectionUnit                       = FarPoint.Win.Spread.Model.SelectionUnit.Row;
     this.shtView.ReferenceStyle                      = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
     this.fpView.SetActiveViewport(0, 1, 0);
     //
     // evoLabel2
     //
     this.evoLabel2.AppearanceName = "";
     this.evoLabel2.ControlID      = "";
     this.evoLabel2.Location       = new System.Drawing.Point(6, 126);
     this.evoLabel2.Name           = "evoLabel2";
     this.evoLabel2.PathString     = null;
     this.evoLabel2.PathValue      = "Lot No:";
     this.evoLabel2.Size           = new System.Drawing.Size(114, 35);
     this.evoLabel2.TabIndex       = 100017;
     this.evoLabel2.Text           = "Lot No:";
     this.evoLabel2.TextAlign      = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // TRN150_NGInquiry
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize          = new System.Drawing.Size(879, 575);
     this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name        = "TRN150_NGInquiry";
     this.Text        = "TRN150: NG Inquiry";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load       += new System.EventHandler(this.TRN150_NGInquiry_Load);
     this.pnlContainer.ResumeLayout(false);
     this.pnlContainer.PerformLayout();
     this.tlpTitle.ResumeLayout(false);
     this.tlpTitle.PerformLayout();
     this.groupBox1.ResumeLayout(false);
     this.evoPanel1.ResumeLayout(false);
     this.evoPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.fpView)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.shtView)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 36
0
        /// <summary>
        /// 列情報に従い、列の属性をセットする。
        /// </summary>
        /// <param name="pspdObj"></param>
        /// <param name="listp"></param>
        /// <returns></returns>
        public static bool setSpreadColumInfo(SheetView pspdObj, List <fspColumdata> listp)
        {
            try
            {
                foreach (fspColumdata flp in listp)
                {
                    //表示位置がマイナスのものは処理しない。
                    if (flp.colum_position < 0)
                    {
                        continue;
                    }



                    //列名
                      if(!string.IsNullOrEmpty(flp.colum_label))
                    pspdObj.ColumnHeader.Columns[flp.colum_position].Label = flp.colum_label;

                    //列の非表示設定
                    if (flp.hyouji_umu == false)
                    {
                        pspdObj.ColumnHeader.Columns[flp.colum_position].Visible = false;
                    }

                    //列幅,他の設定
                    if (flp.colum_width_size != null && flp.colum_width_size > 0)
                    {
                        pspdObj.Columns[flp.colum_position].Width = (float)flp.colum_width_size;
                    }


                    //セルの属性をセット
                    if (flp.cellType != null && (flp.cellType >= 0 && flp.cellType <= 10))
                    {
                        switch (flp.cellType)
                        {
                        case 0:       //テキスト
                            FarPoint.Win.Spread.CellType.TextCellType textZokusei = new FarPoint.Win.Spread.CellType.TextCellType();
                            if (flp.ketasu != null)
                            {
                                textZokusei.MaxLength = (int)flp.ketasu;            //最大入力文字数
                            }
                            if (flp.orikaeshi == true)
                            {
                                textZokusei.Multiline = true;             //改行の入力 Shift+Enterが可能となる。 シフト無しでもOKだった。確定はフォーカスを外すこと。
                                textZokusei.WordWrap  = true;
                            }

                            pspdObj.Columns[flp.colum_position].CellType = textZokusei;
                            break;

                        case 1:         //数値
                            FarPoint.Win.Spread.CellType.NumberCellType suuchiZokusei = new FarPoint.Win.Spread.CellType.NumberCellType();
                            //小数点、桁区切りの設定
                            if (flp.syousuu != null && flp.syousuu != 0)
                            {
                                suuchiZokusei.DecimalPlaces = (int)flp.syousuu;
                            }
                            //3桁区切り
                            if (flp.ketakugiri == true)
                            {
                                suuchiZokusei.ShowSeparator = true;
                            }
                            else
                            {
                                suuchiZokusei.ShowSeparator = false;
                            }
                            //最大値 デフォルト
                            suuchiZokusei.MaximumValue = 999999999999;

                            pspdObj.Columns[flp.colum_position].CellType = suuchiZokusei;

                            break;

                        case 2:         //通貨
                            break;

                        case 3:         //パーセント
                            break;

                        case 4:         //リッチテキスト
                            break;

                        case 5:         //チェックボックス
                            break;

                        case 6:         //コンボボックス
                            break;

                        case 7:         //日付
                            FarPoint.Win.Spread.CellType.DateTimeCellType dateZokusei = new FarPoint.Win.Spread.CellType.DateTimeCellType();
                            pspdObj.Columns[flp.colum_position].CellType = dateZokusei;
                            break;

                        case 8:         //リストボックス
                            break;

                        case 9:         //ボタン
                            break;

                        default:
                            FarPoint.Win.Spread.CellType.TextCellType defZokusei = new FarPoint.Win.Spread.CellType.TextCellType();
                            defZokusei.MaxLength = 20;           //最大入力文字数
                            pspdObj.Columns[flp.colum_position].CellType = defZokusei;
                            break;
                        }

                        //列のセルのデフォルト表示位置 垂直
                        if (flp.suicyoku_ichi != null)
                        {
                            switch ((int)flp.suicyoku_ichi)
                            {
                            case 0:
                                pspdObj.ColumnHeader.Columns[flp.colum_position].VerticalAlignment = CellVerticalAlignment.Top;
                                break;

                            case 1:
                                pspdObj.ColumnHeader.Columns[flp.colum_position].VerticalAlignment = CellVerticalAlignment.Bottom;
                                break;

                            case 2:
                                pspdObj.ColumnHeader.Columns[flp.colum_position].VerticalAlignment = CellVerticalAlignment.Center;
                                break;
                            }
                        }
                        //列のセルのデフォルト表示位置 水平
                        if (flp.suicyoku_ichi != null)
                        {
                            switch ((int)flp.suicyoku_ichi)
                            {
                            case 0:
                                pspdObj.ColumnHeader.Columns[flp.colum_position].HorizontalAlignment = CellHorizontalAlignment.Left;
                                break;

                            case 1:
                                pspdObj.ColumnHeader.Columns[flp.colum_position].HorizontalAlignment = CellHorizontalAlignment.Right;
                                break;

                            case 2:
                                pspdObj.ColumnHeader.Columns[flp.colum_position].HorizontalAlignment = CellHorizontalAlignment.Center;
                                break;
                            }
                        }
                    }
                }

                return(true);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
                return(false);
            }
        }
Ejemplo n.º 37
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMember));
     FarPoint.Win.Spread.DefaultScrollBarRenderer   defaultScrollBarRenderer1 = new FarPoint.Win.Spread.DefaultScrollBarRenderer();
     FarPoint.Win.Spread.DefaultScrollBarRenderer   defaultScrollBarRenderer2 = new FarPoint.Win.Spread.DefaultScrollBarRenderer();
     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();
     FarPoint.Win.Spread.CellType.TextCellType      textCellType3             = new FarPoint.Win.Spread.CellType.TextCellType();
     FarPoint.Win.Spread.CellType.TextCellType      textCellType4             = new FarPoint.Win.Spread.CellType.TextCellType();
     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.NumberCellType    numberCellType1           = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.Spread.CellType.NumberCellType    numberCellType2           = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.Spread.CellType.NumberCellType    numberCellType3           = new FarPoint.Win.Spread.CellType.NumberCellType();
     FarPoint.Win.Spread.CellType.TextCellType      textCellType7             = new FarPoint.Win.Spread.CellType.TextCellType();
     this.toolStrip1          = new System.Windows.Forms.ToolStrip();
     this.tsbSearch           = new System.Windows.Forms.ToolStripButton();
     this.tsbAddNew           = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbDelete           = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbPrint            = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbClose            = new System.Windows.Forms.ToolStripButton();
     this.grbSearch           = new System.Windows.Forms.GroupBox();
     this.label6                 = new System.Windows.Forms.Label();
     this.txtMemberCode          = new System.Windows.Forms.TextBox();
     this.label5                 = new System.Windows.Forms.Label();
     this.label4                 = new System.Windows.Forms.Label();
     this.label3                 = new System.Windows.Forms.Label();
     this.label2                 = new System.Windows.Forms.Label();
     this.label1                 = new System.Windows.Forms.Label();
     this.txtTelephone           = new System.Windows.Forms.TextBox();
     this.cboTumbon              = new System.Windows.Forms.ComboBox();
     this.cboAmphur              = new System.Windows.Forms.ComboBox();
     this.cboProvince            = new System.Windows.Forms.ComboBox();
     this.txtName                = new System.Windows.Forms.TextBox();
     this.fpsSearchResult        = new FarPoint.Win.Spread.FpSpread();
     this.fpsSearchResult_Sheet1 = new FarPoint.Win.Spread.SheetView();
     this.statusStrip1           = new System.Windows.Forms.StatusStrip();
     this.tssSearchCount         = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStrip1.SuspendLayout();
     this.grbSearch.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.fpsSearchResult)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.fpsSearchResult_Sheet1)).BeginInit();
     this.statusStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // toolStrip1
     //
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.tsbSearch,
         this.tsbAddNew,
         this.toolStripSeparator2,
         this.tsbDelete,
         this.toolStripSeparator3,
         this.tsbPrint,
         this.toolStripSeparator1,
         this.tsbClose
     });
     this.toolStrip1.Location = new System.Drawing.Point(0, 0);
     this.toolStrip1.Name     = "toolStrip1";
     this.toolStrip1.Size     = new System.Drawing.Size(963, 48);
     this.toolStrip1.TabIndex = 17;
     this.toolStrip1.Text     = "toolStrip1";
     //
     // tsbSearch
     //
     this.tsbSearch.AutoSize = false;
     this.tsbSearch.Image    = global::BSSoft.iBeef.Properties.Resources.magnifying_glass;
     this.tsbSearch.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbSearch.Name              = "tsbSearch";
     this.tsbSearch.Size              = new System.Drawing.Size(55, 45);
     this.tsbSearch.Text              = "ค้นหา";
     this.tsbSearch.TextAlign         = System.Drawing.ContentAlignment.BottomCenter;
     this.tsbSearch.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     //
     // tsbAddNew
     //
     this.tsbAddNew.AutoSize = false;
     this.tsbAddNew.Image    = global::BSSoft.iBeef.Properties.Resources.add_button;
     this.tsbAddNew.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbAddNew.Name              = "tsbAddNew";
     this.tsbAddNew.Size              = new System.Drawing.Size(55, 45);
     this.tsbAddNew.Text              = "เพิ่มใหม่";
     this.tsbAddNew.TextAlign         = System.Drawing.ContentAlignment.BottomCenter;
     this.tsbAddNew.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.tsbAddNew.Click            += new System.EventHandler(this.tsbAddNew_Click);
     //
     // toolStripSeparator2
     //
     this.toolStripSeparator2.Name = "toolStripSeparator2";
     this.toolStripSeparator2.Size = new System.Drawing.Size(6, 48);
     //
     // tsbDelete
     //
     this.tsbDelete.AutoSize = false;
     this.tsbDelete.Enabled  = false;
     this.tsbDelete.Image    = global::BSSoft.iBeef.Properties.Resources.garbage;
     this.tsbDelete.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbDelete.Name              = "tsbDelete";
     this.tsbDelete.Size              = new System.Drawing.Size(55, 45);
     this.tsbDelete.Text              = "ลบ";
     this.tsbDelete.TextAlign         = System.Drawing.ContentAlignment.BottomCenter;
     this.tsbDelete.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     //
     // toolStripSeparator3
     //
     this.toolStripSeparator3.Name = "toolStripSeparator3";
     this.toolStripSeparator3.Size = new System.Drawing.Size(6, 48);
     //
     // tsbPrint
     //
     this.tsbPrint.AutoSize = false;
     this.tsbPrint.Enabled  = false;
     this.tsbPrint.Image    = global::BSSoft.iBeef.Properties.Resources.printer;
     this.tsbPrint.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbPrint.Name              = "tsbPrint";
     this.tsbPrint.Size              = new System.Drawing.Size(55, 45);
     this.tsbPrint.Text              = "พิมพ์";
     this.tsbPrint.TextAlign         = System.Drawing.ContentAlignment.BottomCenter;
     this.tsbPrint.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(6, 48);
     //
     // tsbClose
     //
     this.tsbClose.AutoSize = false;
     this.tsbClose.Image    = global::BSSoft.iBeef.Properties.Resources.close;
     this.tsbClose.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbClose.Name              = "tsbClose";
     this.tsbClose.Size              = new System.Drawing.Size(55, 45);
     this.tsbClose.Text              = "ปิด";
     this.tsbClose.TextAlign         = System.Drawing.ContentAlignment.BottomCenter;
     this.tsbClose.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.tsbClose.Click            += new System.EventHandler(this.tsbClose_Click);
     //
     // grbSearch
     //
     this.grbSearch.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.grbSearch.Controls.Add(this.label6);
     this.grbSearch.Controls.Add(this.txtMemberCode);
     this.grbSearch.Controls.Add(this.label5);
     this.grbSearch.Controls.Add(this.label4);
     this.grbSearch.Controls.Add(this.label3);
     this.grbSearch.Controls.Add(this.label2);
     this.grbSearch.Controls.Add(this.label1);
     this.grbSearch.Controls.Add(this.txtTelephone);
     this.grbSearch.Controls.Add(this.cboTumbon);
     this.grbSearch.Controls.Add(this.cboAmphur);
     this.grbSearch.Controls.Add(this.cboProvince);
     this.grbSearch.Controls.Add(this.txtName);
     this.grbSearch.Location = new System.Drawing.Point(8, 66);
     this.grbSearch.Margin   = new System.Windows.Forms.Padding(4);
     this.grbSearch.Name     = "grbSearch";
     this.grbSearch.Padding  = new System.Windows.Forms.Padding(4);
     this.grbSearch.Size     = new System.Drawing.Size(945, 109);
     this.grbSearch.TabIndex = 0;
     this.grbSearch.TabStop  = false;
     this.grbSearch.Text     = "ค้นหา";
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(23, 27);
     this.label6.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(67, 16);
     this.label6.TabIndex = 11;
     this.label6.Text     = "เลขที่สมาชิก:";
     //
     // txtMemberCode
     //
     this.txtMemberCode.Location  = new System.Drawing.Point(111, 24);
     this.txtMemberCode.Margin    = new System.Windows.Forms.Padding(4);
     this.txtMemberCode.MaxLength = 50;
     this.txtMemberCode.Name      = "txtMemberCode";
     this.txtMemberCode.Size      = new System.Drawing.Size(227, 22);
     this.txtMemberCode.TabIndex  = 1;
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(397, 81);
     this.label5.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(53, 16);
     this.label5.TabIndex = 9;
     this.label5.Text     = "โทรศัพท์:";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(23, 81);
     this.label4.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(36, 16);
     this.label4.TabIndex = 8;
     this.label4.Text     = "ตำบล:";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(397, 53);
     this.label3.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(38, 16);
     this.label3.TabIndex = 7;
     this.label3.Text     = "อำเภอ:";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(23, 58);
     this.label2.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(44, 16);
     this.label2.TabIndex = 6;
     this.label2.Text     = "จังหวัด:";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(397, 27);
     this.label1.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(47, 16);
     this.label1.TabIndex = 5;
     this.label1.Text     = "ชื่อ-สกุล:";
     //
     // txtTelephone
     //
     this.txtTelephone.Location  = new System.Drawing.Point(501, 78);
     this.txtTelephone.Margin    = new System.Windows.Forms.Padding(4);
     this.txtTelephone.MaxLength = 50;
     this.txtTelephone.Name      = "txtTelephone";
     this.txtTelephone.Size      = new System.Drawing.Size(227, 22);
     this.txtTelephone.TabIndex  = 6;
     //
     // cboTumbon
     //
     this.cboTumbon.FormattingEnabled = true;
     this.cboTumbon.Location          = new System.Drawing.Point(111, 78);
     this.cboTumbon.Margin            = new System.Windows.Forms.Padding(4);
     this.cboTumbon.Name     = "cboTumbon";
     this.cboTumbon.Size     = new System.Drawing.Size(227, 24);
     this.cboTumbon.TabIndex = 5;
     //
     // cboAmphur
     //
     this.cboAmphur.FormattingEnabled = true;
     this.cboAmphur.Location          = new System.Drawing.Point(501, 50);
     this.cboAmphur.Margin            = new System.Windows.Forms.Padding(4);
     this.cboAmphur.Name     = "cboAmphur";
     this.cboAmphur.Size     = new System.Drawing.Size(227, 24);
     this.cboAmphur.TabIndex = 4;
     //
     // cboProvince
     //
     this.cboProvince.FormattingEnabled = true;
     this.cboProvince.Location          = new System.Drawing.Point(111, 50);
     this.cboProvince.Margin            = new System.Windows.Forms.Padding(4);
     this.cboProvince.Name     = "cboProvince";
     this.cboProvince.Size     = new System.Drawing.Size(227, 24);
     this.cboProvince.TabIndex = 3;
     //
     // txtName
     //
     this.txtName.Location  = new System.Drawing.Point(501, 24);
     this.txtName.Margin    = new System.Windows.Forms.Padding(4);
     this.txtName.MaxLength = 50;
     this.txtName.Name      = "txtName";
     this.txtName.Size      = new System.Drawing.Size(227, 22);
     this.txtName.TabIndex  = 2;
     //
     // fpsSearchResult
     //
     this.fpsSearchResult.About = "4.0.2001.2005";
     this.fpsSearchResult.AccessibleDescription = "fpsSearchResult, Sheet1";
     this.fpsSearchResult.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                          | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this.fpsSearchResult.BackColor     = System.Drawing.SystemColors.Control;
     this.fpsSearchResult.FocusRenderer = ((FarPoint.Win.Spread.IFocusIndicatorRenderer)(resources.GetObject("fpsSearchResult.FocusRenderer")));
     this.fpsSearchResult.HorizontalScrollBar.Buttons  = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton");
     this.fpsSearchResult.HorizontalScrollBar.Name     = "";
     this.fpsSearchResult.HorizontalScrollBar.Renderer = defaultScrollBarRenderer1;
     this.fpsSearchResult.HorizontalScrollBar.TabIndex = 11;
     this.fpsSearchResult.HorizontalScrollBarPolicy    = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
     this.fpsSearchResult.Location    = new System.Drawing.Point(8, 183);
     this.fpsSearchResult.Margin      = new System.Windows.Forms.Padding(4);
     this.fpsSearchResult.Name        = "fpsSearchResult";
     this.fpsSearchResult.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.fpsSearchResult.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
         this.fpsSearchResult_Sheet1
     });
     this.fpsSearchResult.Size     = new System.Drawing.Size(945, 249);
     this.fpsSearchResult.Skin     = FarPoint.Win.Spread.DefaultSpreadSkins.Classic;
     this.fpsSearchResult.TabIndex = 7;
     this.fpsSearchResult.VerticalScrollBar.Buttons  = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton");
     this.fpsSearchResult.VerticalScrollBar.Name     = "";
     this.fpsSearchResult.VerticalScrollBar.Renderer = defaultScrollBarRenderer2;
     this.fpsSearchResult.VerticalScrollBar.TabIndex = 12;
     this.fpsSearchResult.ButtonClicked += new FarPoint.Win.Spread.EditorNotifyEventHandler(this.fpsSearchResult_ButtonClicked);
     this.fpsSearchResult.DoubleClick   += new System.EventHandler(this.fpsSearchResult_DoubleClick);
     //
     // fpsSearchResult_Sheet1
     //
     this.fpsSearchResult_Sheet1.Reset();
     this.fpsSearchResult_Sheet1.SheetName = "Sheet1";
     // Formulas and custom names must be loaded with R1C1 reference style
     this.fpsSearchResult_Sheet1.ReferenceStyle        = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
     this.fpsSearchResult_Sheet1.ColumnCount           = 11;
     this.fpsSearchResult_Sheet1.ColumnHeader.RowCount = 2;
     this.fpsSearchResult_Sheet1.RowCount = 0;
     this.fpsSearchResult_Sheet1.ColumnHeader.Cells.Get(0, 0).RowSpan    = 2;
     this.fpsSearchResult_Sheet1.ColumnHeader.Cells.Get(0, 0).Value      = "...";
     this.fpsSearchResult_Sheet1.ColumnHeader.Cells.Get(0, 1).RowSpan    = 2;
     this.fpsSearchResult_Sheet1.ColumnHeader.Cells.Get(0, 1).Value      = "เลขที่สมาชิก";
     this.fpsSearchResult_Sheet1.ColumnHeader.Cells.Get(0, 2).RowSpan    = 2;
     this.fpsSearchResult_Sheet1.ColumnHeader.Cells.Get(0, 2).Value      = "ชื่อ-สกุล";
     this.fpsSearchResult_Sheet1.ColumnHeader.Cells.Get(0, 3).ColumnSpan = 3;
     this.fpsSearchResult_Sheet1.ColumnHeader.Cells.Get(0, 3).Value      = "ที่อยู่";
     this.fpsSearchResult_Sheet1.ColumnHeader.Cells.Get(0, 4).Value      = "อำเภอ";
     this.fpsSearchResult_Sheet1.ColumnHeader.Cells.Get(0, 5).Value      = "ตำบล";
     this.fpsSearchResult_Sheet1.ColumnHeader.Cells.Get(0, 6).RowSpan    = 2;
     this.fpsSearchResult_Sheet1.ColumnHeader.Cells.Get(0, 6).Value      = "โทรศัพท์";
     this.fpsSearchResult_Sheet1.ColumnHeader.Cells.Get(0, 7).ColumnSpan = 3;
     this.fpsSearchResult_Sheet1.ColumnHeader.Cells.Get(0, 7).Value      = "จำนวนโค(ตัว)";
     this.fpsSearchResult_Sheet1.ColumnHeader.Cells.Get(0, 8).Value      = "เชือดแล้ว";
     this.fpsSearchResult_Sheet1.ColumnHeader.Cells.Get(0, 9).Value      = "ยังไม่เชือด";
     this.fpsSearchResult_Sheet1.ColumnHeader.Cells.Get(0, 10).RowSpan   = 2;
     this.fpsSearchResult_Sheet1.ColumnHeader.Cells.Get(0, 10).Value     = "หมายเหตุ";
     this.fpsSearchResult_Sheet1.ColumnHeader.Cells.Get(1, 0).Value      = "...";
     this.fpsSearchResult_Sheet1.ColumnHeader.Cells.Get(1, 3).Value      = "จังหวัด";
     this.fpsSearchResult_Sheet1.ColumnHeader.Cells.Get(1, 4).Value      = "อำเภอ";
     this.fpsSearchResult_Sheet1.ColumnHeader.Cells.Get(1, 5).Value      = "ตำบล";
     this.fpsSearchResult_Sheet1.ColumnHeader.Cells.Get(1, 7).Value      = "ทั้งหมด";
     this.fpsSearchResult_Sheet1.ColumnHeader.Cells.Get(1, 8).Value      = "เชือดแล้ว";
     this.fpsSearchResult_Sheet1.ColumnHeader.Cells.Get(1, 9).Value      = "ยังไม่เชือด";
     this.fpsSearchResult_Sheet1.ColumnHeader.DefaultStyle.Parent        = "HeaderDefault";
     this.fpsSearchResult_Sheet1.Columns.Get(0).CellType  = checkBoxCellType1;
     this.fpsSearchResult_Sheet1.Columns.Get(0).Label     = "...";
     this.fpsSearchResult_Sheet1.Columns.Get(0).Resizable = false;
     this.fpsSearchResult_Sheet1.Columns.Get(0).Width     = 25F;
     this.fpsSearchResult_Sheet1.Columns.Get(1).CellType  = textCellType1;
     this.fpsSearchResult_Sheet1.Columns.Get(1).Locked    = true;
     this.fpsSearchResult_Sheet1.Columns.Get(1).Width     = 108F;
     this.fpsSearchResult_Sheet1.Columns.Get(2).CellType  = textCellType2;
     this.fpsSearchResult_Sheet1.Columns.Get(2).Locked    = true;
     this.fpsSearchResult_Sheet1.Columns.Get(2).Width     = 166F;
     this.fpsSearchResult_Sheet1.Columns.Get(3).CellType  = textCellType3;
     this.fpsSearchResult_Sheet1.Columns.Get(3).Label     = "จังหวัด";
     this.fpsSearchResult_Sheet1.Columns.Get(3).Locked    = true;
     this.fpsSearchResult_Sheet1.Columns.Get(3).Width     = 117F;
     this.fpsSearchResult_Sheet1.Columns.Get(4).CellType  = textCellType4;
     this.fpsSearchResult_Sheet1.Columns.Get(4).Label     = "อำเภอ";
     this.fpsSearchResult_Sheet1.Columns.Get(4).Locked    = true;
     this.fpsSearchResult_Sheet1.Columns.Get(4).Width     = 104F;
     this.fpsSearchResult_Sheet1.Columns.Get(5).CellType  = textCellType5;
     this.fpsSearchResult_Sheet1.Columns.Get(5).Label     = "ตำบล";
     this.fpsSearchResult_Sheet1.Columns.Get(5).Locked    = true;
     this.fpsSearchResult_Sheet1.Columns.Get(5).Width     = 101F;
     this.fpsSearchResult_Sheet1.Columns.Get(6).CellType  = textCellType6;
     this.fpsSearchResult_Sheet1.Columns.Get(6).Locked    = true;
     this.fpsSearchResult_Sheet1.Columns.Get(6).Width     = 106F;
     numberCellType1.DecimalPlaces = 0;
     this.fpsSearchResult_Sheet1.Columns.Get(7).CellType = numberCellType1;
     this.fpsSearchResult_Sheet1.Columns.Get(7).Label    = "ทั้งหมด";
     this.fpsSearchResult_Sheet1.Columns.Get(7).Locked   = true;
     this.fpsSearchResult_Sheet1.Columns.Get(7).Width    = 70F;
     numberCellType2.DecimalPlaces = 0;
     this.fpsSearchResult_Sheet1.Columns.Get(8).CellType = numberCellType2;
     this.fpsSearchResult_Sheet1.Columns.Get(8).Label    = "เชือดแล้ว";
     this.fpsSearchResult_Sheet1.Columns.Get(8).Locked   = true;
     this.fpsSearchResult_Sheet1.Columns.Get(8).Width    = 70F;
     numberCellType3.DecimalPlaces = 0;
     this.fpsSearchResult_Sheet1.Columns.Get(9).CellType             = numberCellType3;
     this.fpsSearchResult_Sheet1.Columns.Get(9).Label                = "ยังไม่เชือด";
     this.fpsSearchResult_Sheet1.Columns.Get(9).Locked               = true;
     this.fpsSearchResult_Sheet1.Columns.Get(9).Width                = 70F;
     this.fpsSearchResult_Sheet1.Columns.Get(10).CellType            = textCellType7;
     this.fpsSearchResult_Sheet1.Columns.Get(10).Locked              = true;
     this.fpsSearchResult_Sheet1.Columns.Get(10).Width               = 198F;
     this.fpsSearchResult_Sheet1.RowHeader.Columns.Default.Resizable = true;
     this.fpsSearchResult_Sheet1.RowHeader.DefaultStyle.Parent       = "RowHeaderDefault";
     this.fpsSearchResult_Sheet1.SheetCornerStyle.Parent             = "CornerDefault";
     this.fpsSearchResult_Sheet1.RowChanged    += new FarPoint.Win.Spread.SheetViewEventHandler(this.fpsSearchResult_Sheet1_RowChanged);
     this.fpsSearchResult_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
     this.fpsSearchResult.SetActiveViewport(0, 1, 0);
     //
     // statusStrip1
     //
     this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.tssSearchCount
     });
     this.statusStrip1.Location = new System.Drawing.Point(0, 442);
     this.statusStrip1.Name     = "statusStrip1";
     this.statusStrip1.Padding  = new System.Windows.Forms.Padding(1, 0, 19, 0);
     this.statusStrip1.Size     = new System.Drawing.Size(963, 22);
     this.statusStrip1.TabIndex = 19;
     this.statusStrip1.Text     = "statusStrip1";
     //
     // tssSearchCount
     //
     this.tssSearchCount.Name = "tssSearchCount";
     this.tssSearchCount.Size = new System.Drawing.Size(114, 17);
     this.tssSearchCount.Text = "ผลการค้นหา 0 รายการ";
     //
     // frmMember
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(963, 464);
     this.Controls.Add(this.statusStrip1);
     this.Controls.Add(this.fpsSearchResult);
     this.Controls.Add(this.grbSearch);
     this.Controls.Add(this.toolStrip1);
     this.Font        = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222)));
     this.Margin      = new System.Windows.Forms.Padding(4);
     this.Name        = "frmMember";
     this.Text        = "รายชื่อสมาชิก";
     this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.frmMember_FormClosed);
     this.Load       += new System.EventHandler(this.frmMember_Load);
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     this.grbSearch.ResumeLayout(false);
     this.grbSearch.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.fpsSearchResult)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.fpsSearchResult_Sheet1)).EndInit();
     this.statusStrip1.ResumeLayout(false);
     this.statusStrip1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 38
0
        private void Sheet_AddData(FarPoint.Win.Spread.FpSpread fpspread,FarPoint.Win.Spread.SheetView obj_sheet, int year, string ProjID, List<string[]> SxXjName, IList<double> obj_DY_List)
        {
            //其中平均单条线路配变装接容量(MVA/条) 取表3-14的数据计算,所以要选判断电压等级是否一致
            string dyflag = "";
            //查找表3-14市辖供电区的开始行号
            int SXrow = fc.Sheet_Find_Value(fpspread.Sheets[22], 0, "1");
            if (SXrow != -1)
            {
                //查3-14的电压等级数
                int sheet314dysum = fpspread.Sheets[22].Cells[SXrow, 0].RowSpan;
                if (sheet314dysum == obj_DY_List.Count)
                {
                    for (int i = 0; i < sheet314dysum; i++)
                    {
                        //看电压内容是否相同
                        if (fpspread.Sheets[22].Cells[SXrow + i, 2].Value.ToString() != obj_DY_List[i].ToString())
                        {
                            dyflag = "不同";
                        }
                    }
                }
                else
                {
                    //如果电压等级不相同,则标识不同
                    dyflag = "不同";
                }
            }

            //添加数据
            //公用还是专用
            string GorZ = "";
            //条件
            string XLtiaojian = "";
            int startrow = 3;
            int length = obj_DY_List.Count;
            if (obj_DY_List.Count > 0)
            {
                for (int i = 0; i < SxXjName.Count; i++)
                {
                    //合计部分不用计算
                    if (SxXjName[i][2].ToString() != "合计")
                    {
                        for (int j = 0; j < obj_DY_List.Count; j++)
                        {
                            //固定两次循环,一次计算公用,一次计算专用
                            for (int k = 0; k <= 1; k++)
                            {
                                if (k == 0)
                                {
                                    GorZ = "公用";
                                    //主干公用线路长度
                                    //电缆线路长度(此处用来计算线路总长度)
                                    XLtiaojian = " OperationYear!='' and  year(cast(OperationYear as datetime))<=" + year + " and ProjectID='" + ProjID + "' and Type='05' and LineType2='" + GorZ + "' and DQ='" + SxXjName[i][2] + "' and RateVolt=" + obj_DY_List[j].ToString();
                                    double ZGDLlength = 0;
                                    if (Services.BaseService.GetObject("SelectPSPDEV_SUMLength2", XLtiaojian) != null)
                                    {
                                        ZGDLlength = (double)Services.BaseService.GetObject("SelectPSPDEV_SUMLength2", XLtiaojian);
                                    }

                                    //架空线路长度(此处用来计算线路总长度)
                                    double ZGJKXLlength = 0;
                                    if (Services.BaseService.GetObject("SelectPSPDEV_SUMLineLength", XLtiaojian) != null)
                                    {
                                        ZGJKXLlength = (double)Services.BaseService.GetObject("SelectPSPDEV_SUMLineLength", XLtiaojian);
                                    }
                                    obj_sheet.SetValue(startrow + i * length + j, 10, ZGDLlength + ZGJKXLlength);
                                    //主干长度>4km条数(条)
                                    XLtiaojian = " OperationYear!='' and  year(cast(OperationYear as datetime))<=" + year + " and ProjectID='" + ProjID + "' and Type='05' and LineType2='" + GorZ + "' and (LineLength+Length2)>4 and DQ='" + SxXjName[i][2] + "' and RateVolt=" + obj_DY_List[j].ToString();
                                    int ZGXLsum1 = 0;
                                    if (Services.BaseService.GetObject("SelectPSPDEV_CountAll", XLtiaojian) != null)
                                    {
                                        ZGXLsum1 = (int)Services.BaseService.GetObject("SelectPSPDEV_CountAll", XLtiaojian);
                                    }
                                    obj_sheet.SetValue(startrow + i * length + j, 12, ZGXLsum1);
                                    //主干长度>10km条数(条)
                                    XLtiaojian = " OperationYear!='' and  year(cast(OperationYear as datetime))<=" + year + " and ProjectID='" + ProjID + "' and Type='05' and LineType2='" + GorZ + "' and (LineLength+Length2)>10 and DQ='" + SxXjName[i][2] + "' and RateVolt=" + obj_DY_List[j].ToString();
                                    int ZGXLsum2 = 0;
                                    if (Services.BaseService.GetObject("SelectPSPDEV_CountAll", XLtiaojian) != null)
                                    {
                                        ZGXLsum2 = (int)Services.BaseService.GetObject("SelectPSPDEV_CountAll", XLtiaojian);
                                    }
                                    obj_sheet.SetValue(startrow + i * length + j, 13, ZGXLsum2);
                                    //架空线绝缘导线长度(km)
                                    XLtiaojian = " OperationYear!='' and  year(cast(OperationYear as datetime))<=" + year + " and ProjectID='" + ProjID + "' and Type='05' and LineType2='" + GorZ + "' and DQ='" + SxXjName[i][2] + "' and RateVolt=" + obj_DY_List[j].ToString();
                                    double JKJYlength = 0;
                                    if (Services.BaseService.GetObject("SelectPSPDEV_SUMNum1", XLtiaojian) != null)
                                    {
                                        JKJYlength = (double)Services.BaseService.GetObject("SelectPSPDEV_SUMNum1", XLtiaojian);
                                    }
                                    obj_sheet.SetValue(startrow + i * length + j, 18, JKJYlength);

                                }
                                else
                                {
                                    GorZ = "专用";
                                }
                                //线路条数
                                XLtiaojian = " OperationYear!='' and  year(cast(OperationYear as datetime))<=" + year + " and ProjectID='" + ProjID + "' and Type='05' and LineType2='" + GorZ + "' and DQ='" + SxXjName[i][2] + "' and RateVolt=" + obj_DY_List[j].ToString();
                                int XLsum = 0;
                                if (Services.BaseService.GetObject("SelectPSPDEV_CountAll", XLtiaojian) != null)
                                {
                                    XLsum = (int)Services.BaseService.GetObject("SelectPSPDEV_CountAll", XLtiaojian);
                                }
                                obj_sheet.SetValue(startrow + i * length + j, 3 + k, XLsum);
                                //电缆线路长度
                                double DLXLlength = 0;
                                if (Services.BaseService.GetObject("SelectPSPDEV_SUMLength2", XLtiaojian) != null)
                                {
                                    DLXLlength = (double)Services.BaseService.GetObject("SelectPSPDEV_SUMLength2", XLtiaojian);
                                }
                                obj_sheet.SetValue(startrow + i * length + j, 7 + k, DLXLlength);
                                //架空线路长度(此处用来计算线路总长度)
                                double JKXLlength = 0;
                                if (Services.BaseService.GetObject("SelectPSPDEV_SUMLineLength", XLtiaojian) != null)
                                {
                                    JKXLlength = (double)Services.BaseService.GetObject("SelectPSPDEV_SUMLineLength", XLtiaojian);
                                }
                                obj_sheet.SetValue(startrow + i * length + j, 5 + k, DLXLlength + JKXLlength);

                                //平均单条线路配变装接容量(MVA/条) 取表3-14的数据计算,先查看 dyflag的值;
                                //如果电压不同,提示出错,否则写入公式
                                if (dyflag=="不同")
                                {
                                    obj_sheet.SetValue(startrow + i * length + j, 14 + k, "公式错误");
                                }
                                else
                                {
                                    string sheet314name=fpspread.Sheets[22].SheetName;
                                    FarPoint.Win.Spread.CellType.NumberCellType newcelltype = new FarPoint.Win.Spread.CellType.NumberCellType();
                                    //结果保留两位小数
                                    newcelltype.DecimalPlaces = 2;
                                    obj_sheet.Cells[startrow + i * length + j, 14 + k].CellType = newcelltype;
                                    obj_sheet.Cells[startrow + i * length + j, 14 + k].Formula = "'" + sheet314name + "'!R" + (startrow + i * length + j + 1) + "C" + (5 + 2 * k) + "/R" + (startrow + i * length + j + 1) + "C" + (4 + k);
                                }

                                //线路配变装接容量>12MVA线路条数(条)
                                XLtiaojian = " OperationYear!='' and  year(cast(OperationYear as datetime))<=" + year + " and ProjectID='" + ProjID + "' and Type='05' and LineType2='" + GorZ + "' and DQ='" + SxXjName[i][2] + "' and  Burthen*RateVolt>12 and RateVolt=" + obj_DY_List[j].ToString();
                                int RLXLsum = 0;
                                if (Services.BaseService.GetObject("SelectPSPDEV_CountAll", XLtiaojian) != null)
                                {
                                    RLXLsum = (int)Services.BaseService.GetObject("SelectPSPDEV_CountAll", XLtiaojian);
                                }
                                obj_sheet.SetValue(startrow + i * length + j, 16 + k, RLXLsum);
                            }
                        }
                    }
                    else
                    {
                        //县级合计部分公式
                        if (i == 1)
                        {
                            fc.Sheet_WriteFormula_RowSum(obj_sheet, startrow + (i + 1) * length, 3, 4, length, startrow + i * length, 3, 18);
                        }
                        //全地区合计部分公式
                        else
                        {
                            fc.Sheet_WriteFormula_RowSum(obj_sheet, startrow, 3, 2, length, startrow + i * length, 3, 18);

                        }
                    }

                }
            }
        }