/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { FarPoint.Win.Spread.CellType.ColumnHeaderRenderer columnHeaderRenderer2 = new FarPoint.Win.Spread.CellType.ColumnHeaderRenderer(); FarPoint.Win.Spread.CellType.RowHeaderRenderer rowHeaderRenderer2 = new FarPoint.Win.Spread.CellType.RowHeaderRenderer(); FarPoint.Win.Spread.CellType.ColumnHeaderRenderer columnHeaderRenderer1 = new FarPoint.Win.Spread.CellType.ColumnHeaderRenderer(); FarPoint.Win.Spread.CellType.RowHeaderRenderer rowHeaderRenderer1 = new FarPoint.Win.Spread.CellType.RowHeaderRenderer(); FarPoint.Win.Spread.CellType.ColumnHeaderRenderer columnHeaderRenderer3 = new FarPoint.Win.Spread.CellType.ColumnHeaderRenderer(); FarPoint.Win.Spread.CellType.RowHeaderRenderer rowHeaderRenderer3 = new FarPoint.Win.Spread.CellType.RowHeaderRenderer(); FarPoint.Win.Spread.CellType.ColumnHeaderRenderer columnHeaderRenderer4 = new FarPoint.Win.Spread.CellType.ColumnHeaderRenderer(); FarPoint.Win.Spread.CellType.RowHeaderRenderer rowHeaderRenderer4 = new FarPoint.Win.Spread.CellType.RowHeaderRenderer(); FarPoint.Win.Spread.DefaultFocusIndicatorRenderer defaultFocusIndicatorRenderer1 = new FarPoint.Win.Spread.DefaultFocusIndicatorRenderer(); FarPoint.Win.Spread.DefaultScrollBarRenderer defaultScrollBarRenderer1 = new FarPoint.Win.Spread.DefaultScrollBarRenderer(); FarPoint.Win.Spread.NamedStyle namedStyle1 = new FarPoint.Win.Spread.NamedStyle("HeaderDefault"); FarPoint.Win.Spread.NamedStyle namedStyle2 = new FarPoint.Win.Spread.NamedStyle("RowHeaderDefault"); FarPoint.Win.Spread.NamedStyle namedStyle3 = new FarPoint.Win.Spread.NamedStyle("CornerDefault"); FarPoint.Win.Spread.CellType.CornerRenderer cornerRenderer1 = new FarPoint.Win.Spread.CellType.CornerRenderer(); FarPoint.Win.Spread.NamedStyle namedStyle4 = new FarPoint.Win.Spread.NamedStyle("DataAreaDefault"); FarPoint.Win.Spread.CellType.GeneralCellType generalCellType1 = new FarPoint.Win.Spread.CellType.GeneralCellType(); FarPoint.Win.Spread.DefaultScrollBarRenderer defaultScrollBarRenderer2 = new FarPoint.Win.Spread.DefaultScrollBarRenderer(); 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.ComboBoxCellType comboBoxCellType1 = new FarPoint.Win.Spread.CellType.ComboBoxCellType(); 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.CheckBoxCellType checkBoxCellType3 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType4 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType5 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType6 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); this.Button_deletetable = new System.Windows.Forms.Button(); this.DataItems = new FarPoint.Win.Spread.FpSpread(); this.DataItems_Sheet1 = new FarPoint.Win.Spread.SheetView(); this.Button_cancel = new System.Windows.Forms.Button(); this.label2 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.DataItems)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.DataItems_Sheet1)).BeginInit(); this.SuspendLayout(); columnHeaderRenderer2.BackColor = System.Drawing.SystemColors.Control; columnHeaderRenderer2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); columnHeaderRenderer2.ForeColor = System.Drawing.SystemColors.ControlText; columnHeaderRenderer2.Name = "columnHeaderRenderer2"; columnHeaderRenderer2.RightToLeft = System.Windows.Forms.RightToLeft.No; columnHeaderRenderer2.TextRotationAngle = 0; rowHeaderRenderer2.BackColor = System.Drawing.SystemColors.Control; rowHeaderRenderer2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); rowHeaderRenderer2.ForeColor = System.Drawing.SystemColors.ControlText; rowHeaderRenderer2.Name = "rowHeaderRenderer2"; rowHeaderRenderer2.RightToLeft = System.Windows.Forms.RightToLeft.No; rowHeaderRenderer2.TextRotationAngle = 0; columnHeaderRenderer1.BackColor = System.Drawing.SystemColors.Control; columnHeaderRenderer1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); columnHeaderRenderer1.ForeColor = System.Drawing.SystemColors.ControlText; columnHeaderRenderer1.Name = "columnHeaderRenderer1"; columnHeaderRenderer1.RightToLeft = System.Windows.Forms.RightToLeft.No; columnHeaderRenderer1.TextRotationAngle = 0; rowHeaderRenderer1.BackColor = System.Drawing.SystemColors.Control; rowHeaderRenderer1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); rowHeaderRenderer1.ForeColor = System.Drawing.SystemColors.ControlText; rowHeaderRenderer1.Name = "rowHeaderRenderer1"; rowHeaderRenderer1.RightToLeft = System.Windows.Forms.RightToLeft.No; rowHeaderRenderer1.TextRotationAngle = 0; columnHeaderRenderer3.BackColor = System.Drawing.SystemColors.Control; columnHeaderRenderer3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); columnHeaderRenderer3.ForeColor = System.Drawing.SystemColors.ControlText; columnHeaderRenderer3.Name = "columnHeaderRenderer3"; columnHeaderRenderer3.RightToLeft = System.Windows.Forms.RightToLeft.No; columnHeaderRenderer3.TextRotationAngle = 0; rowHeaderRenderer3.BackColor = System.Drawing.SystemColors.Control; rowHeaderRenderer3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); rowHeaderRenderer3.ForeColor = System.Drawing.SystemColors.ControlText; rowHeaderRenderer3.Name = "rowHeaderRenderer3"; rowHeaderRenderer3.RightToLeft = System.Windows.Forms.RightToLeft.No; rowHeaderRenderer3.TextRotationAngle = 0; columnHeaderRenderer4.BackColor = System.Drawing.SystemColors.Control; columnHeaderRenderer4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); columnHeaderRenderer4.ForeColor = System.Drawing.SystemColors.ControlText; columnHeaderRenderer4.Name = "columnHeaderRenderer4"; columnHeaderRenderer4.RightToLeft = System.Windows.Forms.RightToLeft.No; columnHeaderRenderer4.TextRotationAngle = 0; rowHeaderRenderer4.BackColor = System.Drawing.SystemColors.Control; rowHeaderRenderer4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); rowHeaderRenderer4.ForeColor = System.Drawing.SystemColors.ControlText; rowHeaderRenderer4.Name = "rowHeaderRenderer4"; rowHeaderRenderer4.RightToLeft = System.Windows.Forms.RightToLeft.No; rowHeaderRenderer4.TextRotationAngle = 0; // // Button_deletetable // this.Button_deletetable.FlatStyle = System.Windows.Forms.FlatStyle.System; this.Button_deletetable.Location = new System.Drawing.Point(12, 513); this.Button_deletetable.Name = "Button_deletetable"; this.Button_deletetable.Size = new System.Drawing.Size(108, 23); this.Button_deletetable.TabIndex = 3; this.Button_deletetable.Text = "删除所选行"; this.Button_deletetable.UseVisualStyleBackColor = true; this.Button_deletetable.Click += new System.EventHandler(this.Button_deletetable_Click); // // DataItems // this.DataItems.AccessibleDescription = "DataItems, Sheet1"; this.DataItems.BackColor = System.Drawing.SystemColors.Control; this.DataItems.FocusRenderer = defaultFocusIndicatorRenderer1; this.DataItems.HorizontalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton"); this.DataItems.HorizontalScrollBar.Name = ""; this.DataItems.HorizontalScrollBar.Renderer = defaultScrollBarRenderer1; this.DataItems.HorizontalScrollBar.TabIndex = 14; this.DataItems.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded; this.DataItems.Location = new System.Drawing.Point(12, 26); this.DataItems.Name = "DataItems"; namedStyle1.BackColor = System.Drawing.SystemColors.Control; namedStyle1.ForeColor = System.Drawing.SystemColors.ControlText; namedStyle1.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; namedStyle1.Renderer = columnHeaderRenderer4; namedStyle1.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; namedStyle2.BackColor = System.Drawing.SystemColors.Control; namedStyle2.ForeColor = System.Drawing.SystemColors.ControlText; namedStyle2.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; namedStyle2.Renderer = rowHeaderRenderer4; namedStyle2.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; namedStyle3.BackColor = System.Drawing.SystemColors.Control; namedStyle3.ForeColor = System.Drawing.SystemColors.ControlText; namedStyle3.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; namedStyle3.Renderer = cornerRenderer1; namedStyle3.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; namedStyle4.BackColor = System.Drawing.SystemColors.Window; namedStyle4.CellType = generalCellType1; namedStyle4.ForeColor = System.Drawing.SystemColors.WindowText; namedStyle4.Renderer = generalCellType1; this.DataItems.NamedStyles.AddRange(new FarPoint.Win.Spread.NamedStyle[] { namedStyle1, namedStyle2, namedStyle3, namedStyle4 }); this.DataItems.RightToLeft = System.Windows.Forms.RightToLeft.No; this.DataItems.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { this.DataItems_Sheet1 }); this.DataItems.Size = new System.Drawing.Size(767, 472); this.DataItems.Skin = FarPoint.Win.Spread.DefaultSpreadSkins.Classic; this.DataItems.TabIndex = 4; this.DataItems.VerticalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton"); this.DataItems.VerticalScrollBar.Name = ""; this.DataItems.VerticalScrollBar.Renderer = defaultScrollBarRenderer2; this.DataItems.VerticalScrollBar.TabIndex = 15; this.DataItems.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded; // // DataItems_Sheet1 // this.DataItems_Sheet1.Reset(); this.DataItems_Sheet1.SheetName = "Sheet1"; // Formulas and custom names must be loaded with R1C1 reference style this.DataItems_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; this.DataItems_Sheet1.ColumnCount = 9; this.DataItems_Sheet1.RowCount = 0; this.DataItems_Sheet1.ColumnHeader.DefaultStyle.Parent = "HeaderDefault"; this.DataItems_Sheet1.Columns.Get(0).CellType = textCellType1; this.DataItems_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.DataItems_Sheet1.Columns.Get(0).Locked = true; this.DataItems_Sheet1.Columns.Get(0).Width = 120F; this.DataItems_Sheet1.Columns.Get(1).CellType = textCellType2; this.DataItems_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.DataItems_Sheet1.Columns.Get(1).Locked = false; this.DataItems_Sheet1.Columns.Get(1).Width = 120F; comboBoxCellType1.ButtonAlign = FarPoint.Win.ButtonAlign.Right; comboBoxCellType1.Items = new string[] { "文本", "长文本", "数字", "掩码", "日期时间", "下拉框", "百分号", "图片", "超链接", "货币", "复选框", "上下标", "条形码" }; this.DataItems_Sheet1.Columns.Get(2).CellType = comboBoxCellType1; this.DataItems_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.DataItems_Sheet1.Columns.Get(2).Locked = false; this.DataItems_Sheet1.Columns.Get(2).Width = 100F; this.DataItems_Sheet1.Columns.Get(3).CellType = checkBoxCellType1; this.DataItems_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.DataItems_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.DataItems_Sheet1.Columns.Get(3).Width = 72F; this.DataItems_Sheet1.Columns.Get(4).CellType = checkBoxCellType2; this.DataItems_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.DataItems_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.DataItems_Sheet1.Columns.Get(5).CellType = checkBoxCellType3; this.DataItems_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.DataItems_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.DataItems_Sheet1.Columns.Get(6).CellType = checkBoxCellType4; this.DataItems_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.DataItems_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.DataItems_Sheet1.Columns.Get(7).CellType = checkBoxCellType5; this.DataItems_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.DataItems_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.DataItems_Sheet1.Columns.Get(8).CellType = checkBoxCellType6; this.DataItems_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.DataItems_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.DataItems_Sheet1.RowHeader.Columns.Default.Resizable = false; this.DataItems_Sheet1.RowHeader.DefaultStyle.Parent = "RowHeaderDefault"; this.DataItems_Sheet1.RowHeader.Visible = false; this.DataItems_Sheet1.SheetCornerStyle.Parent = "CornerDefault"; this.DataItems_Sheet1.VisualStyles = FarPoint.Win.VisualStyles.Off; this.DataItems_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; this.DataItems.SetActiveViewport(0, 1, 0); // // Button_cancel // this.Button_cancel.FlatStyle = System.Windows.Forms.FlatStyle.System; this.Button_cancel.Location = new System.Drawing.Point(704, 513); this.Button_cancel.Name = "Button_cancel"; this.Button_cancel.Size = new System.Drawing.Size(75, 23); this.Button_cancel.TabIndex = 7; this.Button_cancel.Text = "关闭"; this.Button_cancel.UseVisualStyleBackColor = true; this.Button_cancel.Click += new System.EventHandler(this.Button_cancel_Click); // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("宋体", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label2.Location = new System.Drawing.Point(14, 8); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(617, 12); this.label2.TabIndex = 10; this.label2.Text = "说明:选中行后点击删除按钮即可,如需完全恢复删除自定义前的单元格样式,请从模板库重新发布该表单。"; // // CellStyleShowDialog // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(790, 554); this.Controls.Add(this.DataItems); this.Controls.Add(this.label2); this.Controls.Add(this.Button_cancel); this.Controls.Add(this.Button_deletetable); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "CellStyleShowDialog"; this.ShowIcon = false; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "查看自定义单元格样式"; this.Load += new System.EventHandler(this.DetailDataItems_Load); ((System.ComponentModel.ISupportInitialize)(this.DataItems)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.DataItems_Sheet1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { FarPoint.Win.Spread.CellType.ColumnHeaderRenderer columnHeaderRenderer2 = new FarPoint.Win.Spread.CellType.ColumnHeaderRenderer(); FarPoint.Win.Spread.CellType.RowHeaderRenderer rowHeaderRenderer2 = new FarPoint.Win.Spread.CellType.RowHeaderRenderer(); FarPoint.Win.Spread.CellType.ColumnHeaderRenderer columnHeaderRenderer1 = new FarPoint.Win.Spread.CellType.ColumnHeaderRenderer(); FarPoint.Win.Spread.CellType.RowHeaderRenderer rowHeaderRenderer1 = new FarPoint.Win.Spread.CellType.RowHeaderRenderer(); FarPoint.Win.Spread.DefaultFocusIndicatorRenderer defaultFocusIndicatorRenderer1 = new FarPoint.Win.Spread.DefaultFocusIndicatorRenderer(); FarPoint.Win.Spread.DefaultScrollBarRenderer defaultScrollBarRenderer1 = new FarPoint.Win.Spread.DefaultScrollBarRenderer(); FarPoint.Win.Spread.NamedStyle namedStyle1 = new FarPoint.Win.Spread.NamedStyle("HeaderDefault"); FarPoint.Win.Spread.CellType.ColumnHeaderRenderer columnHeaderRenderer3 = new FarPoint.Win.Spread.CellType.ColumnHeaderRenderer(); FarPoint.Win.Spread.NamedStyle namedStyle2 = new FarPoint.Win.Spread.NamedStyle("RowHeaderDefault"); FarPoint.Win.Spread.CellType.RowHeaderRenderer rowHeaderRenderer3 = new FarPoint.Win.Spread.CellType.RowHeaderRenderer(); FarPoint.Win.Spread.NamedStyle namedStyle3 = new FarPoint.Win.Spread.NamedStyle("CornerDefault"); FarPoint.Win.Spread.CellType.CornerRenderer cornerRenderer1 = new FarPoint.Win.Spread.CellType.CornerRenderer(); FarPoint.Win.Spread.NamedStyle namedStyle4 = new FarPoint.Win.Spread.NamedStyle("DataAreaDefault"); FarPoint.Win.Spread.CellType.GeneralCellType generalCellType1 = new FarPoint.Win.Spread.CellType.GeneralCellType(); FarPoint.Win.Spread.DefaultScrollBarRenderer defaultScrollBarRenderer2 = new FarPoint.Win.Spread.DefaultScrollBarRenderer(); 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.ComboBoxCellType comboBoxCellType1 = new FarPoint.Win.Spread.CellType.ComboBoxCellType(); 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.CheckBoxCellType checkBoxCellType3 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType4 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType5 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType6 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.DataItems = new FarPoint.Win.Spread.FpSpread(); this.DataItems_Sheet1 = new FarPoint.Win.Spread.SheetView(); this.Button_ok = new System.Windows.Forms.Button(); this.Button_cancel = new System.Windows.Forms.Button(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.DataItems)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.DataItems_Sheet1)).BeginInit(); this.SuspendLayout(); columnHeaderRenderer2.BackColor = System.Drawing.SystemColors.Control; columnHeaderRenderer2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); columnHeaderRenderer2.ForeColor = System.Drawing.SystemColors.ControlText; columnHeaderRenderer2.Name = "columnHeaderRenderer2"; columnHeaderRenderer2.RightToLeft = System.Windows.Forms.RightToLeft.No; columnHeaderRenderer2.TextRotationAngle = 0; rowHeaderRenderer2.BackColor = System.Drawing.SystemColors.Control; rowHeaderRenderer2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); rowHeaderRenderer2.ForeColor = System.Drawing.SystemColors.ControlText; rowHeaderRenderer2.Name = "rowHeaderRenderer2"; rowHeaderRenderer2.RightToLeft = System.Windows.Forms.RightToLeft.No; rowHeaderRenderer2.TextRotationAngle = 0; columnHeaderRenderer1.BackColor = System.Drawing.SystemColors.Control; columnHeaderRenderer1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); columnHeaderRenderer1.ForeColor = System.Drawing.SystemColors.ControlText; columnHeaderRenderer1.Name = "columnHeaderRenderer1"; columnHeaderRenderer1.RightToLeft = System.Windows.Forms.RightToLeft.No; columnHeaderRenderer1.TextRotationAngle = 0; rowHeaderRenderer1.BackColor = System.Drawing.SystemColors.Control; rowHeaderRenderer1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); rowHeaderRenderer1.ForeColor = System.Drawing.SystemColors.ControlText; rowHeaderRenderer1.Name = "rowHeaderRenderer1"; rowHeaderRenderer1.RightToLeft = System.Windows.Forms.RightToLeft.No; rowHeaderRenderer1.TextRotationAngle = 0; // // groupBox2 // this.groupBox2.Controls.Add(this.DataItems); this.groupBox2.Location = new System.Drawing.Point(8, 12); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(774, 331); this.groupBox2.TabIndex = 1; this.groupBox2.TabStop = false; this.groupBox2.Text = "数据项属性"; // // DataItems // this.DataItems.AccessibleDescription = "DataItems, Sheet_DataItems"; this.DataItems.BackColor = System.Drawing.SystemColors.Control; this.DataItems.Dock = System.Windows.Forms.DockStyle.Fill; this.DataItems.FocusRenderer = defaultFocusIndicatorRenderer1; this.DataItems.HorizontalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton"); this.DataItems.HorizontalScrollBar.Name = ""; this.DataItems.HorizontalScrollBar.Renderer = defaultScrollBarRenderer1; this.DataItems.HorizontalScrollBar.TabIndex = 8; this.DataItems.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded; this.DataItems.Location = new System.Drawing.Point(3, 17); this.DataItems.Name = "DataItems"; namedStyle1.BackColor = System.Drawing.SystemColors.Control; namedStyle1.ForeColor = System.Drawing.SystemColors.ControlText; namedStyle1.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; columnHeaderRenderer3.BackColor = System.Drawing.SystemColors.Control; columnHeaderRenderer3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); columnHeaderRenderer3.ForeColor = System.Drawing.SystemColors.ControlText; columnHeaderRenderer3.Name = ""; columnHeaderRenderer3.RightToLeft = System.Windows.Forms.RightToLeft.No; columnHeaderRenderer3.TextRotationAngle = 0; namedStyle1.Renderer = columnHeaderRenderer3; namedStyle1.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; namedStyle2.BackColor = System.Drawing.SystemColors.Control; namedStyle2.ForeColor = System.Drawing.SystemColors.ControlText; namedStyle2.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; rowHeaderRenderer3.BackColor = System.Drawing.SystemColors.Control; rowHeaderRenderer3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); rowHeaderRenderer3.ForeColor = System.Drawing.SystemColors.ControlText; rowHeaderRenderer3.Name = ""; rowHeaderRenderer3.RightToLeft = System.Windows.Forms.RightToLeft.No; rowHeaderRenderer3.TextRotationAngle = 0; namedStyle2.Renderer = rowHeaderRenderer3; namedStyle2.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; namedStyle3.BackColor = System.Drawing.SystemColors.Control; namedStyle3.ForeColor = System.Drawing.SystemColors.ControlText; namedStyle3.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; namedStyle3.Renderer = cornerRenderer1; namedStyle3.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; namedStyle4.BackColor = System.Drawing.SystemColors.Window; namedStyle4.CellType = generalCellType1; namedStyle4.ForeColor = System.Drawing.SystemColors.WindowText; namedStyle4.Renderer = generalCellType1; this.DataItems.NamedStyles.AddRange(new FarPoint.Win.Spread.NamedStyle[] { namedStyle1, namedStyle2, namedStyle3, namedStyle4 }); this.DataItems.RightToLeft = System.Windows.Forms.RightToLeft.No; this.DataItems.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { this.DataItems_Sheet1 }); this.DataItems.Size = new System.Drawing.Size(768, 311); this.DataItems.Skin = FarPoint.Win.Spread.DefaultSpreadSkins.Classic; this.DataItems.TabIndex = 0; this.DataItems.VerticalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton"); this.DataItems.VerticalScrollBar.Name = ""; this.DataItems.VerticalScrollBar.Renderer = defaultScrollBarRenderer2; this.DataItems.VerticalScrollBar.TabIndex = 9; this.DataItems.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded; // // DataItems_Sheet1 // this.DataItems_Sheet1.Reset(); this.DataItems_Sheet1.SheetName = "Sheet_DataItems"; // Formulas and custom names must be loaded with R1C1 reference style this.DataItems_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; this.DataItems_Sheet1.ColumnCount = 9; this.DataItems_Sheet1.RowCount = 0; this.DataItems_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "区域"; this.DataItems_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "名称"; this.DataItems_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "类型"; this.DataItems_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "值唯一"; this.DataItems_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "不允许空"; this.DataItems_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "不可复制"; this.DataItems_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "可平行"; this.DataItems_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "只读"; this.DataItems_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "关键值"; this.DataItems_Sheet1.ColumnHeader.DefaultStyle.Parent = "HeaderDefault"; this.DataItems_Sheet1.Columns.Get(0).CellType = textCellType1; this.DataItems_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.DataItems_Sheet1.Columns.Get(0).Label = "区域"; this.DataItems_Sheet1.Columns.Get(0).Width = 120F; this.DataItems_Sheet1.Columns.Get(1).CellType = textCellType2; this.DataItems_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.DataItems_Sheet1.Columns.Get(1).Label = "名称"; this.DataItems_Sheet1.Columns.Get(1).Width = 157F; comboBoxCellType1.ButtonAlign = FarPoint.Win.ButtonAlign.Right; comboBoxCellType1.Items = new string[] { "文本", "长文本", "数字", "掩码", "日期时间", "下拉框", "百分号", "图片", "超链接", "货币", "复选框", "上下标", "条形码", "删除线" }; this.DataItems_Sheet1.Columns.Get(2).CellType = comboBoxCellType1; this.DataItems_Sheet1.Columns.Get(2).Font = new System.Drawing.Font("宋体", 10.5F); this.DataItems_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.DataItems_Sheet1.Columns.Get(2).Label = "类型"; this.DataItems_Sheet1.Columns.Get(2).Width = 96F; this.DataItems_Sheet1.Columns.Get(3).CellType = checkBoxCellType1; this.DataItems_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.DataItems_Sheet1.Columns.Get(3).Label = "值唯一"; this.DataItems_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.DataItems_Sheet1.Columns.Get(3).Width = 71F; this.DataItems_Sheet1.Columns.Get(4).CellType = checkBoxCellType2; this.DataItems_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.DataItems_Sheet1.Columns.Get(4).Label = "不允许空"; this.DataItems_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.DataItems_Sheet1.Columns.Get(4).Width = 69F; this.DataItems_Sheet1.Columns.Get(5).CellType = checkBoxCellType3; this.DataItems_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.DataItems_Sheet1.Columns.Get(5).Label = "不可复制"; this.DataItems_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.DataItems_Sheet1.Columns.Get(5).Width = 61F; this.DataItems_Sheet1.Columns.Get(6).CellType = checkBoxCellType4; this.DataItems_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.DataItems_Sheet1.Columns.Get(6).Label = "可平行"; this.DataItems_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.DataItems_Sheet1.Columns.Get(6).Width = 57F; this.DataItems_Sheet1.Columns.Get(7).CellType = checkBoxCellType5; this.DataItems_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.DataItems_Sheet1.Columns.Get(7).Label = "只读"; this.DataItems_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.DataItems_Sheet1.Columns.Get(8).CellType = checkBoxCellType6; this.DataItems_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.DataItems_Sheet1.Columns.Get(8).Label = "关键值"; this.DataItems_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.DataItems_Sheet1.RowHeader.Columns.Default.Resizable = false; this.DataItems_Sheet1.RowHeader.DefaultStyle.Parent = "RowHeaderDefault"; this.DataItems_Sheet1.RowHeader.Visible = false; this.DataItems_Sheet1.SheetCornerStyle.Parent = "CornerDefault"; this.DataItems_Sheet1.VisualStyles = FarPoint.Win.VisualStyles.Off; this.DataItems_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; this.DataItems.SetActiveViewport(0, 1, 0); // // Button_ok // this.Button_ok.Location = new System.Drawing.Point(608, 357); this.Button_ok.Name = "Button_ok"; this.Button_ok.Size = new System.Drawing.Size(75, 23); this.Button_ok.TabIndex = 6; this.Button_ok.Text = "确定"; this.Button_ok.UseVisualStyleBackColor = true; this.Button_ok.Click += new System.EventHandler(this.Button_ok_Click); // // Button_cancel // this.Button_cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.Button_cancel.Location = new System.Drawing.Point(701, 357); this.Button_cancel.Name = "Button_cancel"; this.Button_cancel.Size = new System.Drawing.Size(75, 23); this.Button_cancel.TabIndex = 7; this.Button_cancel.Text = "取消"; this.Button_cancel.UseVisualStyleBackColor = true; this.Button_cancel.Click += new System.EventHandler(this.Button_cancel_Click); // // SheetDataItemDialog // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(794, 390); this.Controls.Add(this.Button_cancel); this.Controls.Add(this.Button_ok); this.Controls.Add(this.groupBox2); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "SheetDataItemDialog"; this.ShowIcon = false; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Load += new System.EventHandler(this.DataItemForm_Load); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.DataItems)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.DataItems_Sheet1)).EndInit(); this.ResumeLayout(false); }