private void initFP() { //<PAD NAME="科室患者" PARENT="MAINTOP" DLLNAME="WorkStation" CONTROLNAME="WorkStation.Controls.ucPatientList" ISALLOWMOVE="false" TITLECOLOR="" BACKCOLOR=""> // <PROPERTY ID ="name">value</PROPERTY> //</PAD> this.fpSpread1_Sheet1.ColumnCount = 9; this.fpSpread1_Sheet1.RowCount = 4; FarPoint.Win.Spread.CellType.ComboBoxCellType combo = new FarPoint.Win.Spread.CellType.ComboBoxCellType(); FarPoint.Win.Spread.CellType.ButtonCellType button = new FarPoint.Win.Spread.CellType.ButtonCellType(); FarPoint.Win.Spread.CellType.RichTextCellType rich = new FarPoint.Win.Spread.CellType.RichTextCellType(); rich.Multiline = true; String[] ss = new String[7]; ss[0] = "MAIN"; ss[1] = "MAINTOP"; ss[2] = "MAINTOP.LEFT"; ss[3] = "MAINTOP.RIGHT"; ss[4] = "MAINBOTTOM"; ss[5] = "MAINBOTTOM.LEFT"; ss[6] = "MAINBOTTOM.RIGHT"; combo.Items = ss; this.fpSpread1_Sheet1.Rows.Default.Height = 150; this.fpSpread1_Sheet1.Columns[1].CellType = combo; this.fpSpread1_Sheet1.Columns[0].Label = "NAME"; this.fpSpread1_Sheet1.Columns[0].Width = 80; this.fpSpread1_Sheet1.Columns[1].Label = "PARENT"; this.fpSpread1_Sheet1.Columns[1].Width = 80; this.fpSpread1_Sheet1.Columns[2].Label = "DLLNAME"; this.fpSpread1_Sheet1.Columns[2].Width = 80; this.fpSpread1_Sheet1.Columns[3].Label = "CONTROLNAME"; this.fpSpread1_Sheet1.Columns[3].Width = 150; this.fpSpread1_Sheet1.Columns[4].Label = "ISALLOWMOVE"; this.fpSpread1_Sheet1.Columns[5].Label = "TITLECOLOR"; this.fpSpread1_Sheet1.Columns[5].Width = 80; this.fpSpread1_Sheet1.Columns[6].Label = "BACKCOLOR"; this.fpSpread1_Sheet1.Columns[6].Width = 80; this.fpSpread1_Sheet1.Columns[7].Label = "PROPERTY"; //属性 this.fpSpread1_Sheet1.Columns[7].CellType = rich; this.fpSpread1_Sheet1.Columns[7].Width = 200; this.fpSpread1_Sheet1.Columns[8].Label = "属性"; //属性 this.fpSpread1_Sheet1.Columns[8].CellType = button; }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { FarPoint.Win.Spread.TipAppearance tipAppearance1 = new FarPoint.Win.Spread.TipAppearance(); FarPoint.Win.Spread.CellType.DateTimeCellType dateTimeCellType1 = new FarPoint.Win.Spread.CellType.DateTimeCellType(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ucCalendar)); FarPoint.Win.Spread.CellType.RichTextCellType richTextCellType1 = new FarPoint.Win.Spread.CellType.RichTextCellType(); FarPoint.Win.Spread.CellType.DateTimeCellType dateTimeCellType2 = new FarPoint.Win.Spread.CellType.DateTimeCellType(); this.neuSpread1 = new Neusoft.FrameWork.WinForms.Controls.NeuSpread(); this.neuSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.endDate = new Neusoft.FrameWork.WinForms.Controls.NeuDateTimePicker(); this.beginDate = new Neusoft.FrameWork.WinForms.Controls.NeuDateTimePicker(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.neuSpread1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.neuSpread1_Sheet1)).BeginInit(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // neuSpread1 // this.neuSpread1.About = "2.5.2007.2005"; this.neuSpread1.AccessibleDescription = "neuSpread1, Sheet1, Row 0, Column 0, "; this.neuSpread1.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.neuSpread1.BackColor = System.Drawing.Color.White; 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(24, 68); this.neuSpread1.Name = "neuSpread1"; this.neuSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { this.neuSpread1_Sheet1 }); this.neuSpread1.Size = new System.Drawing.Size(686, 270); this.neuSpread1.Style = Neusoft.FrameWork.WinForms.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 = 5; 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 = "操作日期"; dateTimeCellType1.Calendar = ((System.Globalization.Calendar)(resources.GetObject("dateTimeCellType1.Calendar"))); dateTimeCellType1.DateDefault = new System.DateTime(2007, 10, 17, 15, 28, 46, 0); dateTimeCellType1.TimeDefault = new System.DateTime(2007, 10, 17, 15, 28, 46, 0); this.neuSpread1_Sheet1.Columns.Get(0).CellType = dateTimeCellType1; this.neuSpread1_Sheet1.Columns.Get(0).Label = "日期"; this.neuSpread1_Sheet1.Columns.Get(0).Width = 118F; richTextCellType1.Multiline = true; this.neuSpread1_Sheet1.Columns.Get(1).CellType = richTextCellType1; this.neuSpread1_Sheet1.Columns.Get(1).Label = "内容"; this.neuSpread1_Sheet1.Columns.Get(1).Width = 249F; this.neuSpread1_Sheet1.Columns.Get(3).Label = "操作员"; this.neuSpread1_Sheet1.Columns.Get(3).Width = 71F; dateTimeCellType2.Calendar = ((System.Globalization.Calendar)(resources.GetObject("dateTimeCellType2.Calendar"))); dateTimeCellType2.DateDefault = new System.DateTime(2007, 10, 17, 15, 28, 40, 0); dateTimeCellType2.TimeDefault = new System.DateTime(2007, 10, 17, 15, 28, 40, 0); this.neuSpread1_Sheet1.Columns.Get(4).CellType = dateTimeCellType2; this.neuSpread1_Sheet1.Columns.Get(4).Label = "操作日期"; this.neuSpread1_Sheet1.Columns.Get(4).Width = 127F; this.neuSpread1_Sheet1.GrayAreaBackColor = System.Drawing.SystemColors.ActiveCaptionText; this.neuSpread1_Sheet1.OperationMode = FarPoint.Win.Spread.OperationMode.ReadOnly; this.neuSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; this.neuSpread1_Sheet1.RowHeader.Columns.Get(0).Width = 37F; this.neuSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.endDate); this.groupBox1.Controls.Add(this.beginDate); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Location = new System.Drawing.Point(24, 19); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(686, 43); this.groupBox1.TabIndex = 5; this.groupBox1.TabStop = false; // // endDate // this.endDate.Location = new System.Drawing.Point(264, 16); this.endDate.Name = "endDate"; this.endDate.Size = new System.Drawing.Size(117, 21); this.endDate.Style = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D; this.endDate.TabIndex = 12; // // beginDate // this.beginDate.Location = new System.Drawing.Point(71, 15); this.beginDate.Name = "beginDate"; this.beginDate.Size = new System.Drawing.Size(117, 21); this.beginDate.Style = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D; this.beginDate.TabIndex = 11; // this.beginDate.ValueChanged += new System.EventHandler(this.beginDate_ValueChanged); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(194, 20); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(65, 12); this.label2.TabIndex = 10; this.label2.Text = "结束时间:"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(5, 20); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(65, 12); this.label1.TabIndex = 9; this.label1.Text = "开始时间:"; // // ucCalendar // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.groupBox1); this.Controls.Add(this.neuSpread1); this.Name = "ucCalendar"; this.Size = new System.Drawing.Size(746, 377); this.Load += new System.EventHandler(this.ucCalendar_Load); ((System.ComponentModel.ISupportInitialize)(this.neuSpread1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.neuSpread1_Sheet1)).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.ResumeLayout(false); }
/// <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); }