/// <summary> /// 初始化列 /// </summary> /// <param name="fp">待初始化的FP</param> private void Initial(Neusoft.FrameWork.WinForms.Controls.NeuSpread fp) { if (fp == null || fp.Sheets.Count == 0) { return; } view = fp.Sheets[0]; //移除原有的Farpoint列 view.RemoveColumns(0, view.ColumnCount); //每行显示的药品数=pccPerRowCount view.AddColumns(0, pccPerRowCount * 11); for (int i = 0; i < pccPerRowCount; i++) { view.Columns[i * 11 + (int)Columns.drugName].Width = 83F; //名称 view.Columns[i * 11 + (int)Columns.specs].Width = 55F; //规格 view.Columns[i * 11 + (int)Columns.comboNO].Visible = false; //组合号 view.Columns[i * 11 + (int)Columns.hearbalQty].Width = 18F; //付 // view.Columns[i * 11 + (int)Columns.comboFlag].Width = 18F;//组 view.Columns[i * 11 + (int)Columns.doseOnce].Width = 37F; //剂量 view.Columns[i * 11 + (int)Columns.usage].Width = 68F; //用法 view.Columns[i * 11 + (int)Columns.frequence].Width = 70F; //频次 view.Columns[i * 11 + (int)Columns.totQty].Width = 52F; //总量 // view.Columns[i * 11 + (int)Columns.injectCount].Width = 37F;//院注 view.Columns[i * 11 + (int)Columns.memo].Width = 38F; //备注 view.Columns[i * 11 + (int)Columns.drugName].Label = "名称"; view.Columns[i * 11 + (int)Columns.hearbalQty].Visible = false; view.Columns[i * 11 + (int)Columns.doseOnce].Label = "剂量"; view.Columns[i * 11 + (int)Columns.usage].Visible = false; view.Columns[i * 11 + (int)Columns.specs].Visible = false; view.Columns[i * 11 + (int)Columns.comboFlag].Visible = false; view.Columns[i * 11 + (int)Columns.usage].Visible = false; view.Columns[i * 11 + (int)Columns.frequence].Visible = false; view.Columns[i * 11 + (int)Columns.totQty].Visible = false; view.Columns[i * 11 + (int)Columns.injectCount].Visible = false; view.Columns[i * 11 + (int)Columns.memo].Visible = false; } view.RowHeader.Visible = false; //不显示行头 view.DefaultStyle.Locked = true; //锁定,不允许修改 fp.Location = this.fpSpread1.Location; fp.Size = this.fpSpread1.Size; this.isInitial = true; }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器 /// 修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); FarPoint.Win.Spread.TipAppearance tipAppearance1 = new FarPoint.Win.Spread.TipAppearance(); this.treeView = new System.Windows.Forms.TreeView(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.splitter1 = new System.Windows.Forms.Splitter(); this.panel1 = new System.Windows.Forms.Panel(); this.fpSpread1 = new Neusoft.FrameWork.WinForms.Controls.NeuSpread(); this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.neuContextMenuStrip1 = new Neusoft.FrameWork.WinForms.Controls.NeuContextMenuStrip(); this.mnuShow = new System.Windows.Forms.ToolStripMenuItem(); this.sQL维护ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); this.neuContextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // treeView // this.treeView.Dock = System.Windows.Forms.DockStyle.Left; this.treeView.HideSelection = false; this.treeView.ImageIndex = 0; this.treeView.ImageList = this.imageList1; this.treeView.Location = new System.Drawing.Point(0, 0); this.treeView.Name = "treeView"; this.treeView.SelectedImageIndex = 0; this.treeView.Size = new System.Drawing.Size(188, 416); this.treeView.TabIndex = 0; this.treeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView_AfterSelect); this.treeView.BeforeSelect += new System.Windows.Forms.TreeViewCancelEventHandler(this.treeView_BeforeSelect); // // imageList1 // this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit; this.imageList1.ImageSize = new System.Drawing.Size(16, 16); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; // // splitter1 // this.splitter1.Location = new System.Drawing.Point(188, 0); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(4, 416); this.splitter1.TabIndex = 1; this.splitter1.TabStop = false; // // panel1 // this.panel1.Controls.Add(this.fpSpread1); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(192, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(780, 416); this.panel1.TabIndex = 3; // // fpSpread1 // this.fpSpread1.About = "2.5.2007.2005"; this.fpSpread1.AccessibleDescription = ""; this.fpSpread1.BackColor = System.Drawing.Color.White; this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill; this.fpSpread1.FileName = ""; this.fpSpread1.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded; this.fpSpread1.IsAutoSaveGridStatus = false; this.fpSpread1.IsCanCustomConfigColumn = true; this.fpSpread1.Location = new System.Drawing.Point(0, 0); this.fpSpread1.Name = "fpSpread1"; this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { this.fpSpread1_Sheet1 }); this.fpSpread1.Size = new System.Drawing.Size(780, 416); this.fpSpread1.Style = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D; this.fpSpread1.TabIndex = 0; tipAppearance1.BackColor = System.Drawing.SystemColors.Info; tipAppearance1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); tipAppearance1.ForeColor = System.Drawing.SystemColors.InfoText; this.fpSpread1.TextTipAppearance = tipAppearance1; this.fpSpread1.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded; this.fpSpread1.CellDoubleClick += new FarPoint.Win.Spread.CellClickEventHandler(this.fpSpread1_CellDoubleClick); // // fpSpread1_Sheet1 // this.fpSpread1_Sheet1.Reset(); this.fpSpread1_Sheet1.SheetName = "Sheet1"; // Formulas and custom names must be loaded with R1C1 reference style this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; this.fpSpread1_Sheet1.RowHeader.Columns.Get(0).Width = 37F; this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; // // menuItem1 // this.menuItem1.Index = -1; this.menuItem1.Text = ""; // // menuItem2 // this.menuItem2.Index = -1; this.menuItem2.Text = ""; // // neuContextMenuStrip1 // this.neuContextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mnuShow, this.sQL维护ToolStripMenuItem }); this.neuContextMenuStrip1.Name = "neuContextMenuStrip1"; this.neuContextMenuStrip1.Size = new System.Drawing.Size(153, 70); this.neuContextMenuStrip1.Style = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D; // // mnuShow // this.mnuShow.Name = "mnuShow"; this.mnuShow.Size = new System.Drawing.Size(152, 22); this.mnuShow.Text = "显示窗口"; this.mnuShow.Click += new System.EventHandler(this.mnuShow_Click_1); // // sQL维护ToolStripMenuItem // this.sQL维护ToolStripMenuItem.Name = "sQL维护ToolStripMenuItem"; this.sQL维护ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.sQL维护ToolStripMenuItem.Text = "SQL维护"; this.sQL维护ToolStripMenuItem.Click += new System.EventHandler(this.单表维护ToolStripMenuItem_Click); // // ucSysFunction // this.Controls.Add(this.panel1); this.Controls.Add(this.splitter1); this.Controls.Add(this.treeView); this.Name = "ucSysFunction"; this.Size = new System.Drawing.Size(972, 416); this.Load += new System.EventHandler(this.ucSysFunction_Load); this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); this.neuContextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ucSubtblManagement)); FarPoint.Win.Spread.TipAppearance tipAppearance1 = new FarPoint.Win.Spread.TipAppearance(); this.ucItem2 = new Neusoft.HISFC.Components.Common.Controls.ucInputItem(); this.ucItem1 = new Neusoft.HISFC.Components.Common.Controls.ucInputItem(); this.neuPanel1 = new Neusoft.FrameWork.WinForms.Controls.NeuPanel(); this.neuPanel5 = new Neusoft.FrameWork.WinForms.Controls.NeuPanel(); this.neuPanel4 = new Neusoft.FrameWork.WinForms.Controls.NeuPanel(); this.neuListView1 = new Neusoft.FrameWork.WinForms.Controls.NeuListView(); this.neuListView2 = new Neusoft.FrameWork.WinForms.Controls.NeuListView(); this.neuPanel3 = new Neusoft.FrameWork.WinForms.Controls.NeuPanel(); this.neuRadioButton2 = new Neusoft.FrameWork.WinForms.Controls.NeuRadioButton(); this.neuRadioButton1 = new Neusoft.FrameWork.WinForms.Controls.NeuRadioButton(); this.neuPanel2 = new Neusoft.FrameWork.WinForms.Controls.NeuPanel(); this.neuListBox1 = new Neusoft.FrameWork.WinForms.Controls.NeuListBox(); this.neuSplitter1 = new Neusoft.FrameWork.WinForms.Controls.NeuSplitter(); this.neuPanel6 = new Neusoft.FrameWork.WinForms.Controls.NeuPanel(); this.neuPanel7 = new Neusoft.FrameWork.WinForms.Controls.NeuPanel(); this.neuSpread1 = new Neusoft.FrameWork.WinForms.Controls.NeuSpread(); this.neuSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); this.neuSplitter2 = new Neusoft.FrameWork.WinForms.Controls.NeuSplitter(); this.neuPanel1.SuspendLayout(); this.neuPanel5.SuspendLayout(); this.neuPanel4.SuspendLayout(); this.neuPanel3.SuspendLayout(); this.neuPanel2.SuspendLayout(); this.neuPanel6.SuspendLayout(); this.neuPanel7.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.neuSpread1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.neuSpread1_Sheet1)).BeginInit(); this.SuspendLayout(); // // ucItem2 // this.ucItem2.AlCatagory = ((System.Collections.ArrayList)(resources.GetObject("ucItem2.AlCatagory"))); this.ucItem2.BackColor = System.Drawing.Color.Honeydew; this.ucItem2.Dock = System.Windows.Forms.DockStyle.Top; this.ucItem2.FeeItem = ((Neusoft.FrameWork.Models.NeuObject)(resources.GetObject("ucItem2.FeeItem"))); this.ucItem2.InputType = 0; this.ucItem2.IsIncludeMat = false; this.ucItem2.IsListShowAlways = false; this.ucItem2.IsShowCategory = false; this.ucItem2.IsShowInput = true; this.ucItem2.IsShowSelfMark = false; this.ucItem2.Location = new System.Drawing.Point(0, 0); this.ucItem2.Name = "ucItem2"; this.ucItem2.Patient = null; this.ucItem2.ShowCategory = Neusoft.HISFC.Components.Common.Controls.EnumCategoryType.SysClass; this.ucItem2.ShowItemType = Neusoft.HISFC.Components.Common.Controls.EnumShowItemType.Undrug; this.ucItem2.Size = new System.Drawing.Size(160, 41); this.ucItem2.TabIndex = 7; this.ucItem2.UndrugApplicabilityarea = Neusoft.HISFC.Components.Common.Controls.EnumUndrugApplicabilityarea.All; // // ucItem1 // this.ucItem1.AlCatagory = ((System.Collections.ArrayList)(resources.GetObject("ucItem1.AlCatagory"))); this.ucItem1.Dock = System.Windows.Forms.DockStyle.Top; this.ucItem1.FeeItem = ((Neusoft.FrameWork.Models.NeuObject)(resources.GetObject("ucItem1.FeeItem"))); this.ucItem1.InputType = 0; this.ucItem1.IsIncludeMat = false; this.ucItem1.IsListShowAlways = true; this.ucItem1.IsShowCategory = true; this.ucItem1.IsShowInput = true; this.ucItem1.IsShowSelfMark = false; this.ucItem1.Location = new System.Drawing.Point(0, 0); this.ucItem1.Name = "ucItem1"; this.ucItem1.Patient = null; this.ucItem1.ShowCategory = Neusoft.HISFC.Components.Common.Controls.EnumCategoryType.SysClass; this.ucItem1.ShowItemType = Neusoft.HISFC.Components.Common.Controls.EnumShowItemType.Undrug; this.ucItem1.Size = new System.Drawing.Size(506, 208); this.ucItem1.TabIndex = 0; this.ucItem1.UndrugApplicabilityarea = Neusoft.HISFC.Components.Common.Controls.EnumUndrugApplicabilityarea.All; this.ucItem1.SelectedItem += new Neusoft.FrameWork.WinForms.Forms.SelectedItemHandler(this.ucItem1_SelectedItem); // // neuPanel1 // this.neuPanel1.Controls.Add(this.neuPanel5); this.neuPanel1.Controls.Add(this.neuPanel3); this.neuPanel1.Controls.Add(this.neuPanel2); this.neuPanel1.Dock = System.Windows.Forms.DockStyle.Left; this.neuPanel1.Location = new System.Drawing.Point(0, 0); this.neuPanel1.Name = "neuPanel1"; this.neuPanel1.Size = new System.Drawing.Size(160, 471); this.neuPanel1.Style = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D; this.neuPanel1.TabIndex = 8; // // neuPanel5 // this.neuPanel5.Controls.Add(this.neuPanel4); this.neuPanel5.Controls.Add(this.neuListView2); this.neuPanel5.Dock = System.Windows.Forms.DockStyle.Fill; this.neuPanel5.Location = new System.Drawing.Point(0, 196); this.neuPanel5.Name = "neuPanel5"; this.neuPanel5.Size = new System.Drawing.Size(160, 275); this.neuPanel5.Style = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D; this.neuPanel5.TabIndex = 11; // // neuPanel4 // this.neuPanel4.BackColor = System.Drawing.Color.Silver; this.neuPanel4.Controls.Add(this.neuListView1); this.neuPanel4.Controls.Add(this.ucItem2); this.neuPanel4.Dock = System.Windows.Forms.DockStyle.Fill; this.neuPanel4.Location = new System.Drawing.Point(0, 0); this.neuPanel4.Name = "neuPanel4"; this.neuPanel4.Size = new System.Drawing.Size(160, 275); this.neuPanel4.Style = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D; this.neuPanel4.TabIndex = 9; // // neuListView1 // this.neuListView1.Dock = System.Windows.Forms.DockStyle.Fill; this.neuListView1.HideSelection = false; this.neuListView1.Location = new System.Drawing.Point(0, 41); this.neuListView1.Name = "neuListView1"; this.neuListView1.Size = new System.Drawing.Size(160, 234); this.neuListView1.Style = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D; this.neuListView1.TabIndex = 9; this.neuListView1.UseCompatibleStateImageBehavior = false; this.neuListView1.View = System.Windows.Forms.View.SmallIcon; this.neuListView1.SelectedIndexChanged += new System.EventHandler(this.neuListView1_SelectedIndexChanged); // // neuListView2 // this.neuListView2.Dock = System.Windows.Forms.DockStyle.Fill; this.neuListView2.HideSelection = false; this.neuListView2.Location = new System.Drawing.Point(0, 0); this.neuListView2.Name = "neuListView2"; this.neuListView2.Size = new System.Drawing.Size(160, 275); this.neuListView2.Style = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D; this.neuListView2.TabIndex = 10; this.neuListView2.UseCompatibleStateImageBehavior = false; this.neuListView2.View = System.Windows.Forms.View.List; this.neuListView2.SelectedIndexChanged += new System.EventHandler(this.neuListView2_SelectedIndexChanged); // // neuPanel3 // this.neuPanel3.Controls.Add(this.neuRadioButton2); this.neuPanel3.Controls.Add(this.neuRadioButton1); this.neuPanel3.Dock = System.Windows.Forms.DockStyle.Top; this.neuPanel3.Location = new System.Drawing.Point(0, 161); this.neuPanel3.Name = "neuPanel3"; this.neuPanel3.Size = new System.Drawing.Size(160, 35); this.neuPanel3.Style = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D; this.neuPanel3.TabIndex = 1; // // neuRadioButton2 // this.neuRadioButton2.AutoSize = true; this.neuRadioButton2.Location = new System.Drawing.Point(86, 6); this.neuRadioButton2.Name = "neuRadioButton2"; this.neuRadioButton2.Size = new System.Drawing.Size(59, 16); this.neuRadioButton2.Style = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D; this.neuRadioButton2.TabIndex = 10; this.neuRadioButton2.TabStop = true; this.neuRadioButton2.Text = "非药品"; this.neuRadioButton2.UseVisualStyleBackColor = true; this.neuRadioButton2.CheckedChanged += new System.EventHandler(this.neuRadioButton2_CheckedChanged); // // neuRadioButton1 // this.neuRadioButton1.AutoSize = true; this.neuRadioButton1.Location = new System.Drawing.Point(11, 6); this.neuRadioButton1.Name = "neuRadioButton1"; this.neuRadioButton1.Size = new System.Drawing.Size(71, 16); this.neuRadioButton1.Style = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D; this.neuRadioButton1.TabIndex = 9; this.neuRadioButton1.TabStop = true; this.neuRadioButton1.Text = "药品用法"; this.neuRadioButton1.UseVisualStyleBackColor = true; this.neuRadioButton1.CheckedChanged += new System.EventHandler(this.neuRadioButton1_CheckedChanged); // // neuPanel2 // this.neuPanel2.Controls.Add(this.neuListBox1); 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(160, 161); this.neuPanel2.Style = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D; this.neuPanel2.TabIndex = 0; // // neuListBox1 // this.neuListBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.neuListBox1.FormattingEnabled = true; this.neuListBox1.ItemHeight = 12; this.neuListBox1.Location = new System.Drawing.Point(0, 0); this.neuListBox1.Name = "neuListBox1"; this.neuListBox1.Size = new System.Drawing.Size(160, 160); this.neuListBox1.Style = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D; this.neuListBox1.TabIndex = 0; this.neuListBox1.SelectedIndexChanged += new System.EventHandler(this.neuListBox1_SelectedIndexChanged); // // neuSplitter1 // this.neuSplitter1.Location = new System.Drawing.Point(160, 0); this.neuSplitter1.Name = "neuSplitter1"; this.neuSplitter1.Size = new System.Drawing.Size(6, 471); this.neuSplitter1.Style = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D; this.neuSplitter1.TabIndex = 9; this.neuSplitter1.TabStop = false; // // neuPanel6 // this.neuPanel6.Controls.Add(this.neuPanel7); this.neuPanel6.Controls.Add(this.neuSplitter2); this.neuPanel6.Controls.Add(this.ucItem1); this.neuPanel6.Dock = System.Windows.Forms.DockStyle.Fill; this.neuPanel6.Location = new System.Drawing.Point(166, 0); this.neuPanel6.Name = "neuPanel6"; this.neuPanel6.Size = new System.Drawing.Size(506, 471); this.neuPanel6.Style = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D; this.neuPanel6.TabIndex = 10; // // neuPanel7 // this.neuPanel7.Controls.Add(this.neuSpread1); this.neuPanel7.Dock = System.Windows.Forms.DockStyle.Fill; this.neuPanel7.Location = new System.Drawing.Point(0, 214); this.neuPanel7.Name = "neuPanel7"; this.neuPanel7.Size = new System.Drawing.Size(506, 257); this.neuPanel7.Style = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D; this.neuPanel7.TabIndex = 3; // // neuSpread1 // this.neuSpread1.About = "3.0.2004.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, 0); this.neuSpread1.Name = "neuSpread1"; this.neuSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { this.neuSpread1_Sheet1 }); this.neuSpread1.Size = new System.Drawing.Size(506, 257); this.neuSpread1.Style = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D; this.neuSpread1.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.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.ActiveSkin = FarPoint.Win.Spread.DefaultSkins.Classic2; this.neuSpread1_Sheet1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(105)))), ((int)(((byte)(107))))); this.neuSpread1_Sheet1.ColumnHeader.DefaultStyle.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold); this.neuSpread1_Sheet1.ColumnHeader.DefaultStyle.ForeColor = System.Drawing.Color.White; this.neuSpread1_Sheet1.ColumnHeader.DefaultStyle.Locked = false; this.neuSpread1_Sheet1.ColumnHeader.DefaultStyle.Parent = "HeaderDefault"; this.neuSpread1_Sheet1.Columns.Get(0).Width = 200F; this.neuSpread1_Sheet1.DefaultStyle.BackColor = System.Drawing.Color.White; this.neuSpread1_Sheet1.DefaultStyle.ForeColor = System.Drawing.Color.Black; this.neuSpread1_Sheet1.DefaultStyle.Locked = false; this.neuSpread1_Sheet1.DefaultStyle.Parent = "DataAreaDefault"; this.neuSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; this.neuSpread1_Sheet1.RowHeader.Columns.Get(0).Width = 40F; this.neuSpread1_Sheet1.RowHeader.DefaultStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(105)))), ((int)(((byte)(107))))); this.neuSpread1_Sheet1.RowHeader.DefaultStyle.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold); this.neuSpread1_Sheet1.RowHeader.DefaultStyle.ForeColor = 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.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(105)))), ((int)(((byte)(107))))); this.neuSpread1_Sheet1.SheetCornerStyle.ForeColor = System.Drawing.Color.White; this.neuSpread1_Sheet1.SheetCornerStyle.Locked = false; this.neuSpread1_Sheet1.SheetCornerStyle.Parent = "HeaderDefault"; this.neuSpread1_Sheet1.VisualStyles = FarPoint.Win.VisualStyles.Off; this.neuSpread1_Sheet1.CellChanged += new FarPoint.Win.Spread.SheetViewEventHandler(this.neuSpread1_Sheet1_CellChanged); this.neuSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; // // neuSplitter2 // this.neuSplitter2.Dock = System.Windows.Forms.DockStyle.Top; this.neuSplitter2.Location = new System.Drawing.Point(0, 208); this.neuSplitter2.Name = "neuSplitter2"; this.neuSplitter2.Size = new System.Drawing.Size(506, 6); this.neuSplitter2.Style = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D; this.neuSplitter2.TabIndex = 1; this.neuSplitter2.TabStop = false; // // ucSubtblManagement // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.neuPanel6); this.Controls.Add(this.neuSplitter1); this.Controls.Add(this.neuPanel1); this.Name = "ucSubtblManagement"; this.Size = new System.Drawing.Size(672, 471); this.Load += new System.EventHandler(this.ucSubtblManagement_Load); this.neuPanel1.ResumeLayout(false); this.neuPanel5.ResumeLayout(false); this.neuPanel4.ResumeLayout(false); this.neuPanel3.ResumeLayout(false); this.neuPanel3.PerformLayout(); this.neuPanel2.ResumeLayout(false); this.neuPanel6.ResumeLayout(false); this.neuPanel7.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.neuSpread1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.neuSpread1_Sheet1)).EndInit(); this.ResumeLayout(false); }