mirror of
https://github.com/wmjordan/PDFPatcher.git
synced 2026-10-18 21:52:34 +08:00
127 lines
4.9 KiB
C#
127 lines
4.9 KiB
C#
namespace PDFPatcher.Functions
|
|
{
|
|
partial class BookmarkEditorView
|
|
{
|
|
/// <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._BookmarkNameColumn = new BrightIdeasSoftware.OLVColumn ();
|
|
this._BookmarkOpenColumn = new BrightIdeasSoftware.OLVColumn ();
|
|
this._BookmarkPageColumn = new BrightIdeasSoftware.OLVColumn ();
|
|
this._ActionColumn = new BrightIdeasSoftware.OLVColumn ();
|
|
((System.ComponentModel.ISupportInitialize)(this)).BeginInit ();
|
|
this.SuspendLayout ();
|
|
//
|
|
// _BookmarkBox
|
|
//
|
|
this.AllColumns.Add (this._BookmarkNameColumn);
|
|
this.AllColumns.Add (this._BookmarkOpenColumn);
|
|
this.AllColumns.Add (this._BookmarkPageColumn);
|
|
this.AllColumns.Add (this._ActionColumn);
|
|
this.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.CellEditActivation = BrightIdeasSoftware.ObjectListView.CellEditActivateMode.SingleClick;
|
|
this.Columns.AddRange (new System.Windows.Forms.ColumnHeader[] {
|
|
this._BookmarkNameColumn,
|
|
this._BookmarkOpenColumn,
|
|
this._BookmarkPageColumn,
|
|
this._ActionColumn});
|
|
this.CopySelectionOnControlC = false;
|
|
this.Cursor = System.Windows.Forms.Cursors.Default;
|
|
this.GridLines = true;
|
|
this.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
|
|
this.HideSelection = false;
|
|
this.IsSimpleDragSource = true;
|
|
this.IsSimpleDropSink = true;
|
|
this.LabelEdit = true;
|
|
this.Location = new System.Drawing.Point (0, 0);
|
|
this.Name = "_BookmarkBox";
|
|
this.OwnerDraw = true;
|
|
this.RevealAfterExpand = false;
|
|
this.ShowGroups = false;
|
|
this.Size = new System.Drawing.Size (408, 208);
|
|
this.TabIndex = 0;
|
|
this.UseCellFormatEvents = false;
|
|
this.UseHotItem = false;
|
|
this.UseCompatibleStateImageBehavior = false;
|
|
this.UseHyperlinks = true;
|
|
this.View = System.Windows.Forms.View.Details;
|
|
this.VirtualMode = true;
|
|
this.BeforeLabelEdit += new System.Windows.Forms.LabelEditEventHandler(this.BookmarkEditorView_BeforeLabelEdit);
|
|
this.AfterLabelEdit += new System.Windows.Forms.LabelEditEventHandler (this._BookmarkBox_AfterLabelEdit);
|
|
this.FormatRow += new System.EventHandler<BrightIdeasSoftware.FormatRowEventArgs> (this._BookmarkBox_FormatRow);
|
|
this.HyperlinkClicked += new System.EventHandler<BrightIdeasSoftware.HyperlinkClickedEventArgs>(BookmarkEditor_CellClick);
|
|
this.HotItemChanged += new System.EventHandler<BrightIdeasSoftware.HotItemChangedEventArgs> (BookmarkEditor_HotItemChanged);
|
|
//
|
|
// _BookmarkNameColumn
|
|
//
|
|
this._BookmarkNameColumn.AspectName = "";
|
|
this._BookmarkNameColumn.Text = "书签文本";
|
|
this._BookmarkNameColumn.Width = 160;
|
|
//
|
|
// _BookmarkOpenColumn
|
|
//
|
|
this._BookmarkOpenColumn.AspectName = "";
|
|
this._BookmarkOpenColumn.CheckBoxes = true;
|
|
this._BookmarkOpenColumn.DisplayIndex = 2;
|
|
this._BookmarkOpenColumn.HeaderTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
this._BookmarkOpenColumn.Text = "打开";
|
|
this._BookmarkOpenColumn.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
this._BookmarkOpenColumn.Width = 40;
|
|
//
|
|
// _BookmarkPageColumn
|
|
//
|
|
this._BookmarkPageColumn.AspectName = "";
|
|
this._BookmarkPageColumn.DisplayIndex = 1;
|
|
this._BookmarkPageColumn.HeaderTextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
|
this._BookmarkPageColumn.Text = "页码";
|
|
this._BookmarkPageColumn.Width = 42;
|
|
//
|
|
// _ActionColumn
|
|
//
|
|
this._ActionColumn.AspectName = "";
|
|
this._ActionColumn.Hyperlink = true;
|
|
this._ActionColumn.IsEditable = false;
|
|
this._ActionColumn.Text = "书签动作";
|
|
this._ActionColumn.Width = 100;
|
|
//
|
|
// Editor
|
|
//
|
|
this.Name = "BookmarkEditor";
|
|
this.Size = new System.Drawing.Size (408, 208);
|
|
((System.ComponentModel.ISupportInitialize)(this)).EndInit ();
|
|
this.ResumeLayout (false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private BrightIdeasSoftware.OLVColumn _BookmarkNameColumn;
|
|
private BrightIdeasSoftware.OLVColumn _BookmarkOpenColumn;
|
|
private BrightIdeasSoftware.OLVColumn _BookmarkPageColumn;
|
|
private BrightIdeasSoftware.OLVColumn _ActionColumn;
|
|
}
|
|
}
|