mirror of
https://github.com/wmjordan/PDFPatcher.git
synced 2026-10-19 06:21:06 +08:00
169 lines
7.2 KiB
C#
169 lines
7.2 KiB
C#
namespace PDFPatcher.Functions
|
|
{
|
|
partial class PageLabelEditor
|
|
{
|
|
/// <summary>
|
|
/// 必需的设计器变量。
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// 清理所有正在使用的资源。
|
|
/// </summary>
|
|
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
|
protected override void Dispose (bool disposing) {
|
|
if (disposing && (components != null)) {
|
|
components.Dispose ();
|
|
}
|
|
base.Dispose (disposing);
|
|
}
|
|
|
|
#region 组件设计器生成的代码
|
|
|
|
/// <summary>
|
|
/// 设计器支持所需的方法 - 不要
|
|
/// 使用代码编辑器修改此方法的内容。
|
|
/// </summary>
|
|
private void InitializeComponent () {
|
|
this.components = new System.ComponentModel.Container();
|
|
this._PageLabelBox = new BrightIdeasSoftware.ObjectListView();
|
|
this._SequenceColumn = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
|
this._PageNumColumn = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
|
this._LabelStyleColumn = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
|
this._LabelPrefixColumn = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
|
this._StartNumColumn = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
|
this._RemovePageLabelButton = new System.Windows.Forms.Button();
|
|
this._AddPageLabelButton = new System.Windows.Forms.Button();
|
|
this._LabelStyleMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
((System.ComponentModel.ISupportInitialize)(this._PageLabelBox)).BeginInit();
|
|
this.panel1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// _PageLabelBox
|
|
//
|
|
this._PageLabelBox.AllColumns.Add(this._SequenceColumn);
|
|
this._PageLabelBox.AllColumns.Add(this._PageNumColumn);
|
|
this._PageLabelBox.AllColumns.Add(this._LabelStyleColumn);
|
|
this._PageLabelBox.AllColumns.Add(this._LabelPrefixColumn);
|
|
this._PageLabelBox.AllColumns.Add(this._StartNumColumn);
|
|
this._PageLabelBox.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._PageLabelBox.CellEditActivation = BrightIdeasSoftware.ObjectListView.CellEditActivateMode.SingleClick;
|
|
this._PageLabelBox.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
|
this._SequenceColumn,
|
|
this._PageNumColumn,
|
|
this._LabelStyleColumn,
|
|
this._LabelPrefixColumn,
|
|
this._StartNumColumn});
|
|
this._PageLabelBox.GridLines = true;
|
|
this._PageLabelBox.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
|
|
this._PageLabelBox.HideSelection = false;
|
|
this._PageLabelBox.LabelEdit = true;
|
|
this._PageLabelBox.Location = new System.Drawing.Point(3, 32);
|
|
this._PageLabelBox.Name = "_PageLabelBox";
|
|
this._PageLabelBox.OwnerDraw = true;
|
|
this._PageLabelBox.ShowGroups = false;
|
|
this._PageLabelBox.Size = new System.Drawing.Size(432, 244);
|
|
this._PageLabelBox.TabIndex = 0;
|
|
this._PageLabelBox.UseCompatibleStateImageBehavior = false;
|
|
this._PageLabelBox.View = System.Windows.Forms.View.Details;
|
|
//
|
|
// _SequenceColumn
|
|
//
|
|
this._SequenceColumn.IsEditable = false;
|
|
this._SequenceColumn.Text = "序号";
|
|
this._SequenceColumn.Width = 40;
|
|
//
|
|
// _PageNumColumn
|
|
//
|
|
this._PageNumColumn.Text = "文档页码";
|
|
this._PageNumColumn.Width = 65;
|
|
//
|
|
// _LabelStyleColumn
|
|
//
|
|
this._LabelStyleColumn.IsEditable = false;
|
|
this._LabelStyleColumn.Text = "页码样式";
|
|
this._LabelStyleColumn.Width = 103;
|
|
//
|
|
// _LabelPrefixColumn
|
|
//
|
|
this._LabelPrefixColumn.Text = "前缀文本";
|
|
this._LabelPrefixColumn.Width = 70;
|
|
//
|
|
// _StartNumColumn
|
|
//
|
|
this._StartNumColumn.Text = "起始号码";
|
|
this._StartNumColumn.Width = 70;
|
|
//
|
|
// _RemovePageLabelButton
|
|
//
|
|
this._RemovePageLabelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this._RemovePageLabelButton.Image = global::PDFPatcher.Properties.Resources.Delete;
|
|
this._RemovePageLabelButton.Location = new System.Drawing.Point(382, 3);
|
|
this._RemovePageLabelButton.Name = "_RemovePageLabelButton";
|
|
this._RemovePageLabelButton.Size = new System.Drawing.Size(53, 23);
|
|
this._RemovePageLabelButton.TabIndex = 2;
|
|
this._RemovePageLabelButton.Text = "删除";
|
|
this._RemovePageLabelButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
|
|
this._RemovePageLabelButton.UseVisualStyleBackColor = true;
|
|
this._RemovePageLabelButton.Click += new System.EventHandler(this._RemovePageLabelButton_Click);
|
|
//
|
|
// _AddPageLabelButton
|
|
//
|
|
this._AddPageLabelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this._AddPageLabelButton.Image = global::PDFPatcher.Properties.Resources.Add;
|
|
this._AddPageLabelButton.Location = new System.Drawing.Point(323, 3);
|
|
this._AddPageLabelButton.Name = "_AddPageLabelButton";
|
|
this._AddPageLabelButton.Size = new System.Drawing.Size(53, 23);
|
|
this._AddPageLabelButton.TabIndex = 1;
|
|
this._AddPageLabelButton.Text = "添加";
|
|
this._AddPageLabelButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
|
|
this._AddPageLabelButton.UseVisualStyleBackColor = true;
|
|
this._AddPageLabelButton.Click += new System.EventHandler(this._AddPageLabelButton_Click);
|
|
//
|
|
// _LabelStyleMenu
|
|
//
|
|
this._LabelStyleMenu.Name = "_LabelStyleMenu";
|
|
this._LabelStyleMenu.Size = new System.Drawing.Size(61, 4);
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.Controls.Add(this._PageLabelBox);
|
|
this.panel1.Controls.Add(this._RemovePageLabelButton);
|
|
this.panel1.Controls.Add(this._AddPageLabelButton);
|
|
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(438, 279);
|
|
this.panel1.TabIndex = 3;
|
|
//
|
|
// PageLabelEditor
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.Controls.Add(this.panel1);
|
|
this.Name = "PageLabelEditor";
|
|
this.Size = new System.Drawing.Size(438, 279);
|
|
((System.ComponentModel.ISupportInitialize)(this._PageLabelBox)).EndInit();
|
|
this.panel1.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button _RemovePageLabelButton;
|
|
private System.Windows.Forms.Button _AddPageLabelButton;
|
|
private BrightIdeasSoftware.ObjectListView _PageLabelBox;
|
|
private BrightIdeasSoftware.OLVColumn _PageNumColumn;
|
|
private BrightIdeasSoftware.OLVColumn _LabelStyleColumn;
|
|
private BrightIdeasSoftware.OLVColumn _LabelPrefixColumn;
|
|
private BrightIdeasSoftware.OLVColumn _StartNumColumn;
|
|
private BrightIdeasSoftware.OLVColumn _SequenceColumn;
|
|
private System.Windows.Forms.ContextMenuStrip _LabelStyleMenu;
|
|
private System.Windows.Forms.Panel panel1;
|
|
}
|
|
}
|