mirror of
https://github.com/wmjordan/PDFPatcher.git
synced 2026-10-18 21:52:34 +08:00
125 lines
5.7 KiB
C#
125 lines
5.7 KiB
C#
namespace PDFPatcher
|
|
{
|
|
partial class TargetFileControl
|
|
{
|
|
/// <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.label1 = new System.Windows.Forms.Label();
|
|
this._SavePdfBox = new System.Windows.Forms.SaveFileDialog();
|
|
this._BrowseTargetPdfButton = new System.Windows.Forms.Button();
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this._TargetPdfBox = new PDFPatcher.HistoryComboBox();
|
|
this._FileMacroMenu = new PDFPatcher.Functions.MacroMenu(this.components);
|
|
this.panel1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(3, 6);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(95, 12);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "输出 PD&F 文件:";
|
|
//
|
|
// _SavePdfBox
|
|
//
|
|
this._SavePdfBox.DefaultExt = "pdf";
|
|
this._SavePdfBox.Filter = "PDF 文件 (*.pdf)|*.pdf";
|
|
this._SavePdfBox.OverwritePrompt = false;
|
|
this._SavePdfBox.Title = "指定输出的 PDF 文件路径";
|
|
//
|
|
// _BrowseTargetPdfButton
|
|
//
|
|
this._BrowseTargetPdfButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this._BrowseTargetPdfButton.Image = global::PDFPatcher.Properties.Resources.NewPdfFile;
|
|
this._BrowseTargetPdfButton.Location = new System.Drawing.Point(391, 1);
|
|
this._BrowseTargetPdfButton.Name = "_BrowseTargetPdfButton";
|
|
this._BrowseTargetPdfButton.Size = new System.Drawing.Size(75, 23);
|
|
this._BrowseTargetPdfButton.TabIndex = 2;
|
|
this._BrowseTargetPdfButton.Text = "浏览...";
|
|
this._BrowseTargetPdfButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
|
|
this._BrowseTargetPdfButton.UseVisualStyleBackColor = true;
|
|
this._BrowseTargetPdfButton.Click += new System.EventHandler(this._BrowseTargetPdfButton_Click);
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.Controls.Add(this._BrowseTargetPdfButton);
|
|
this.panel1.Controls.Add(this._TargetPdfBox);
|
|
this.panel1.Controls.Add(this.label1);
|
|
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(469, 25);
|
|
this.panel1.TabIndex = 3;
|
|
//
|
|
// _TargetPdfBox
|
|
//
|
|
this._TargetPdfBox.AllowDrop = true;
|
|
this._TargetPdfBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this._TargetPdfBox.Contents = null;
|
|
this._TargetPdfBox.ContextMenuStrip = this._FileMacroMenu;
|
|
this._TargetPdfBox.FormattingEnabled = true;
|
|
this._TargetPdfBox.Location = new System.Drawing.Point(104, 3);
|
|
this._TargetPdfBox.MaxItemCount = 16;
|
|
this._TargetPdfBox.Name = "_TargetPdfBox";
|
|
this._TargetPdfBox.Size = new System.Drawing.Size(281, 20);
|
|
this._TargetPdfBox.TabIndex = 1;
|
|
this._TargetPdfBox.DragDrop += new System.Windows.Forms.DragEventHandler(this._TargetPdfBox_DragDrop);
|
|
this._TargetPdfBox.DragEnter += new System.Windows.Forms.DragEventHandler(this._TargetPdfBox_DragEnter);
|
|
this._TargetPdfBox.TextChanged += new System.EventHandler(this._TargetPdfBox_TextChanged);
|
|
//
|
|
// _FileMacroMenu
|
|
//
|
|
this._FileMacroMenu.Name = "_FileMacroMenu";
|
|
this._FileMacroMenu.Size = new System.Drawing.Size(61, 4);
|
|
//
|
|
// TargetFileControl
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.Controls.Add(this.panel1);
|
|
this.Name = "TargetFileControl";
|
|
this.Size = new System.Drawing.Size(469, 25);
|
|
this.Load += new System.EventHandler(this.TargetFileControl_Show);
|
|
this.VisibleChanged += new System.EventHandler(this.TargetFileControl_Show);
|
|
this.panel1.ResumeLayout(false);
|
|
this.panel1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Button _BrowseTargetPdfButton;
|
|
private System.Windows.Forms.SaveFileDialog _SavePdfBox;
|
|
private HistoryComboBox _TargetPdfBox;
|
|
private Functions.MacroMenu _FileMacroMenu;
|
|
private System.Windows.Forms.Panel panel1;
|
|
}
|
|
}
|