tablepropertyform.cs
来自「一个很好用的html编辑器。带源码」· CS 代码 · 共 493 行 · 第 1/2 页
CS
493 行
this.groupCaption.TabIndex = 2;
this.groupCaption.TabStop = false;
this.groupCaption.Text = "Caption Properties";
//
// listCaptionLocation
//
this.listCaptionLocation.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.listCaptionLocation.Location = new System.Drawing.Point(264, 56);
this.listCaptionLocation.Name = "listCaptionLocation";
this.listCaptionLocation.Size = new System.Drawing.Size(104, 21);
this.listCaptionLocation.TabIndex = 8;
//
// labelLocation
//
this.labelLocation.Location = new System.Drawing.Point(200, 56);
this.labelLocation.Name = "labelLocation";
this.labelLocation.Size = new System.Drawing.Size(64, 23);
this.labelLocation.TabIndex = 7;
this.labelLocation.Text = "Location :";
//
// listCaptionAlignment
//
this.listCaptionAlignment.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.listCaptionAlignment.Location = new System.Drawing.Point(80, 56);
this.listCaptionAlignment.Name = "listCaptionAlignment";
this.listCaptionAlignment.Size = new System.Drawing.Size(104, 21);
this.listCaptionAlignment.TabIndex = 6;
//
// labelCaptionAlign
//
this.labelCaptionAlign.Location = new System.Drawing.Point(8, 56);
this.labelCaptionAlign.Name = "labelCaptionAlign";
this.labelCaptionAlign.Size = new System.Drawing.Size(64, 23);
this.labelCaptionAlign.TabIndex = 5;
this.labelCaptionAlign.Text = "Alignment :";
//
// labelCaption
//
this.labelCaption.Location = new System.Drawing.Point(8, 24);
this.labelCaption.Name = "labelCaption";
this.labelCaption.Size = new System.Drawing.Size(64, 23);
this.labelCaption.TabIndex = 1;
this.labelCaption.Text = "Caption :";
//
// textTableCaption
//
this.textTableCaption.Location = new System.Drawing.Point(80, 24);
this.textTableCaption.Name = "textTableCaption";
this.textTableCaption.Size = new System.Drawing.Size(288, 20);
this.textTableCaption.TabIndex = 0;
this.textTableCaption.Text = "";
//
// groupLayout
//
this.groupLayout.Controls.Add(this.numericCellSpacing);
this.groupLayout.Controls.Add(this.labelSpacing);
this.groupLayout.Controls.Add(this.numericCellPadding);
this.groupLayout.Controls.Add(this.labelPadding);
this.groupLayout.Controls.Add(this.numericColumns);
this.groupLayout.Controls.Add(this.numericRows);
this.groupLayout.Controls.Add(this.labelRowColumn);
this.groupLayout.Location = new System.Drawing.Point(8, 200);
this.groupLayout.Name = "groupLayout";
this.groupLayout.Size = new System.Drawing.Size(384, 96);
this.groupLayout.TabIndex = 3;
this.groupLayout.TabStop = false;
this.groupLayout.Text = "Cell Properties";
//
// numericCellSpacing
//
this.numericCellSpacing.Location = new System.Drawing.Point(256, 64);
this.numericCellSpacing.Name = "numericCellSpacing";
this.numericCellSpacing.Size = new System.Drawing.Size(56, 20);
this.numericCellSpacing.TabIndex = 6;
//
// labelSpacing
//
this.labelSpacing.Location = new System.Drawing.Point(168, 64);
this.labelSpacing.Name = "labelSpacing";
this.labelSpacing.Size = new System.Drawing.Size(80, 23);
this.labelSpacing.TabIndex = 5;
this.labelSpacing.Text = "Cell Spacing :";
//
// numericCellPadding
//
this.numericCellPadding.Location = new System.Drawing.Point(96, 64);
this.numericCellPadding.Name = "numericCellPadding";
this.numericCellPadding.Size = new System.Drawing.Size(56, 20);
this.numericCellPadding.TabIndex = 4;
//
// labelPadding
//
this.labelPadding.Location = new System.Drawing.Point(8, 64);
this.labelPadding.Name = "labelPadding";
this.labelPadding.Size = new System.Drawing.Size(80, 23);
this.labelPadding.TabIndex = 3;
this.labelPadding.Text = "Cell Padding :";
//
// numericColumns
//
this.numericColumns.Location = new System.Drawing.Point(192, 24);
this.numericColumns.Name = "numericColumns";
this.numericColumns.Size = new System.Drawing.Size(56, 20);
this.numericColumns.TabIndex = 2;
//
// numericRows
//
this.numericRows.Location = new System.Drawing.Point(128, 24);
this.numericRows.Name = "numericRows";
this.numericRows.Size = new System.Drawing.Size(56, 20);
this.numericRows.TabIndex = 1;
//
// labelRowColumn
//
this.labelRowColumn.Location = new System.Drawing.Point(8, 24);
this.labelRowColumn.Name = "labelRowColumn";
this.labelRowColumn.Size = new System.Drawing.Size(112, 23);
this.labelRowColumn.TabIndex = 0;
this.labelRowColumn.Text = "Rows and Columns :";
//
// groupPercentPixel
//
this.groupPercentPixel.Controls.Add(this.radioWidthPixel);
this.groupPercentPixel.Controls.Add(this.radioWidthPercent);
this.groupPercentPixel.Location = new System.Drawing.Point(152, 48);
this.groupPercentPixel.Name = "groupPercentPixel";
this.groupPercentPixel.Size = new System.Drawing.Size(144, 32);
this.groupPercentPixel.TabIndex = 9;
//
// radioWidthPixel
//
this.radioWidthPixel.Location = new System.Drawing.Point(80, 8);
this.radioWidthPixel.Name = "radioWidthPixel";
this.radioWidthPixel.Size = new System.Drawing.Size(56, 24);
this.radioWidthPixel.TabIndex = 1;
this.radioWidthPixel.Text = "Pixels";
this.radioWidthPixel.CheckedChanged += new System.EventHandler(this.MeasurementOptionChanged);
//
// radioWidthPercent
//
this.radioWidthPercent.Location = new System.Drawing.Point(8, 8);
this.radioWidthPercent.Name = "radioWidthPercent";
this.radioWidthPercent.Size = new System.Drawing.Size(64, 24);
this.radioWidthPercent.TabIndex = 0;
this.radioWidthPercent.Text = "Percent";
this.radioWidthPercent.CheckedChanged += new System.EventHandler(this.MeasurementOptionChanged);
//
// numericTableWidth
//
this.numericTableWidth.Location = new System.Drawing.Point(72, 56);
this.numericTableWidth.Name = "numericTableWidth";
this.numericTableWidth.Size = new System.Drawing.Size(64, 20);
this.numericTableWidth.TabIndex = 8;
//
// labelWidth
//
this.labelWidth.Location = new System.Drawing.Point(8, 56);
this.labelWidth.Name = "labelWidth";
this.labelWidth.Size = new System.Drawing.Size(56, 23);
this.labelWidth.TabIndex = 7;
this.labelWidth.Text = "Width :";
//
// groupTable
//
this.groupTable.Controls.Add(this.listTextAlignment);
this.groupTable.Controls.Add(this.labelBorderAlign);
this.groupTable.Controls.Add(this.labelBorderSize);
this.groupTable.Controls.Add(this.numericBorderSize);
this.groupTable.Controls.Add(this.labelWidth);
this.groupTable.Controls.Add(this.numericTableWidth);
this.groupTable.Controls.Add(this.groupPercentPixel);
this.groupTable.Location = new System.Drawing.Point(8, 104);
this.groupTable.Name = "groupTable";
this.groupTable.Size = new System.Drawing.Size(384, 88);
this.groupTable.TabIndex = 4;
this.groupTable.TabStop = false;
this.groupTable.Text = "Table Properties";
//
// listTextAlignment
//
this.listTextAlignment.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.listTextAlignment.Location = new System.Drawing.Point(256, 24);
this.listTextAlignment.Name = "listTextAlignment";
this.listTextAlignment.Size = new System.Drawing.Size(104, 21);
this.listTextAlignment.TabIndex = 6;
//
// labelBorderAlign
//
this.labelBorderAlign.Location = new System.Drawing.Point(192, 24);
this.labelBorderAlign.Name = "labelBorderAlign";
this.labelBorderAlign.Size = new System.Drawing.Size(64, 23);
this.labelBorderAlign.TabIndex = 5;
this.labelBorderAlign.Text = "Alignment :";
//
// labelBorderSize
//
this.labelBorderSize.Location = new System.Drawing.Point(8, 24);
this.labelBorderSize.Name = "labelBorderSize";
this.labelBorderSize.Size = new System.Drawing.Size(56, 23);
this.labelBorderSize.TabIndex = 4;
this.labelBorderSize.Text = "Border :";
//
// numericBorderSize
//
this.numericBorderSize.Location = new System.Drawing.Point(72, 24);
this.numericBorderSize.Name = "numericBorderSize";
this.numericBorderSize.Size = new System.Drawing.Size(104, 20);
this.numericBorderSize.TabIndex = 3;
//
// TablePropertyForm
//
this.AcceptButton = this.bInsert;
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.CancelButton = this.bCancel;
this.ClientSize = new System.Drawing.Size(402, 336);
this.Controls.Add(this.groupTable);
this.Controls.Add(this.groupLayout);
this.Controls.Add(this.groupCaption);
this.Controls.Add(this.bInsert);
this.Controls.Add(this.bCancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "TablePropertyForm";
this.ShowInTaskbar = false;
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
this.Text = "Table Properties";
this.groupCaption.ResumeLayout(false);
this.groupLayout.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.numericCellSpacing)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericCellPadding)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericColumns)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericRows)).EndInit();
this.groupPercentPixel.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.numericTableWidth)).EndInit();
this.groupTable.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.numericBorderSize)).EndInit();
this.ResumeLayout(false);
}
#endregion
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?