Basic working program.
It will merge PDFs from a directory. Configuration is currently all manual.
This commit is contained in:
140
MainForm.Designer.cs
generated
Normal file
140
MainForm.Designer.cs
generated
Normal file
@@ -0,0 +1,140 @@
|
||||
namespace PDF_Merge
|
||||
{
|
||||
partial class MainForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
components = new System.ComponentModel.Container();
|
||||
mergeButton = new Button();
|
||||
contextMenuStrip1 = new ContextMenuStrip(components);
|
||||
menuStrip1 = new MenuStrip();
|
||||
fileToolStripMenuItem = new ToolStripMenuItem();
|
||||
aboutToolStripMenuItem = new ToolStripMenuItem();
|
||||
configureToolStripMenuItem = new ToolStripMenuItem();
|
||||
exitToolStripMenuItem = new ToolStripMenuItem();
|
||||
pathLable = new Label();
|
||||
menuStrip1.SuspendLayout();
|
||||
SuspendLayout();
|
||||
//
|
||||
// mergeButton
|
||||
//
|
||||
mergeButton.Location = new Point(107, 193);
|
||||
mergeButton.Name = "mergeButton";
|
||||
mergeButton.Size = new Size(211, 100);
|
||||
mergeButton.TabIndex = 0;
|
||||
mergeButton.Text = "Merge";
|
||||
mergeButton.UseVisualStyleBackColor = true;
|
||||
mergeButton.Click += button1_Click;
|
||||
//
|
||||
// contextMenuStrip1
|
||||
//
|
||||
contextMenuStrip1.ImageScalingSize = new Size(24, 24);
|
||||
contextMenuStrip1.Name = "contextMenuStrip1";
|
||||
contextMenuStrip1.Size = new Size(61, 4);
|
||||
//
|
||||
// menuStrip1
|
||||
//
|
||||
menuStrip1.ImageScalingSize = new Size(24, 24);
|
||||
menuStrip1.Items.AddRange(new ToolStripItem[] { fileToolStripMenuItem });
|
||||
menuStrip1.Location = new Point(0, 0);
|
||||
menuStrip1.Name = "menuStrip1";
|
||||
menuStrip1.Size = new Size(421, 33);
|
||||
menuStrip1.TabIndex = 2;
|
||||
menuStrip1.Text = "menuStrip1";
|
||||
//
|
||||
// fileToolStripMenuItem
|
||||
//
|
||||
fileToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { aboutToolStripMenuItem, configureToolStripMenuItem, exitToolStripMenuItem });
|
||||
fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
||||
fileToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.F;
|
||||
fileToolStripMenuItem.Size = new Size(54, 29);
|
||||
fileToolStripMenuItem.Text = "File";
|
||||
//
|
||||
// aboutToolStripMenuItem
|
||||
//
|
||||
aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
|
||||
aboutToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.A;
|
||||
aboutToolStripMenuItem.Size = new Size(302, 34);
|
||||
aboutToolStripMenuItem.Text = "About";
|
||||
aboutToolStripMenuItem.Click += aboutToolStripMenuItem_Click;
|
||||
//
|
||||
// configureToolStripMenuItem
|
||||
//
|
||||
configureToolStripMenuItem.Name = "configureToolStripMenuItem";
|
||||
configureToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.Shift | Keys.C;
|
||||
configureToolStripMenuItem.Size = new Size(302, 34);
|
||||
configureToolStripMenuItem.Text = "Configure";
|
||||
configureToolStripMenuItem.Click += configureToolStripMenuItem_Click;
|
||||
//
|
||||
// exitToolStripMenuItem
|
||||
//
|
||||
exitToolStripMenuItem.Name = "exitToolStripMenuItem";
|
||||
exitToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.X;
|
||||
exitToolStripMenuItem.Size = new Size(302, 34);
|
||||
exitToolStripMenuItem.Text = "Exit";
|
||||
exitToolStripMenuItem.Click += exitToolStripMenuItem_Click;
|
||||
//
|
||||
// pathLable
|
||||
//
|
||||
pathLable.AutoSize = true;
|
||||
pathLable.Location = new Point(59, 109);
|
||||
pathLable.Name = "pathLable";
|
||||
pathLable.Size = new Size(55, 25);
|
||||
pathLable.TabIndex = 3;
|
||||
pathLable.Text = "Path: ";
|
||||
pathLable.Click += label1_Click;
|
||||
//
|
||||
// MainForm
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(10F, 25F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(421, 387);
|
||||
Controls.Add(pathLable);
|
||||
Controls.Add(menuStrip1);
|
||||
Controls.Add(mergeButton);
|
||||
MainMenuStrip = menuStrip1;
|
||||
Name = "MainForm";
|
||||
Text = "PDF-Merge";
|
||||
Load += Form1_Load;
|
||||
menuStrip1.ResumeLayout(false);
|
||||
menuStrip1.PerformLayout();
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Button mergeButton;
|
||||
private ContextMenuStrip contextMenuStrip1;
|
||||
private MenuStrip menuStrip1;
|
||||
private ToolStripMenuItem fileToolStripMenuItem;
|
||||
private ToolStripMenuItem aboutToolStripMenuItem;
|
||||
private ToolStripMenuItem configureToolStripMenuItem;
|
||||
private ToolStripMenuItem exitToolStripMenuItem;
|
||||
private Label pathLable;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user