Basic working program.
It will merge PDFs from a directory. Configuration is currently all manual.
This commit is contained in:
Generated
+190
@@ -0,0 +1,190 @@
|
||||
namespace PDF_Merge
|
||||
{
|
||||
partial class AboutBox1
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
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()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AboutBox1));
|
||||
tableLayoutPanel = new TableLayoutPanel();
|
||||
logoPictureBox = new PictureBox();
|
||||
labelProductName = new Label();
|
||||
labelVersion = new Label();
|
||||
labelCopyright = new Label();
|
||||
labelCompanyName = new Label();
|
||||
textBoxDescription = new TextBox();
|
||||
okButton = new Button();
|
||||
tableLayoutPanel.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)logoPictureBox).BeginInit();
|
||||
SuspendLayout();
|
||||
//
|
||||
// tableLayoutPanel
|
||||
//
|
||||
tableLayoutPanel.ColumnCount = 2;
|
||||
tableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33F));
|
||||
tableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 67F));
|
||||
tableLayoutPanel.Controls.Add(logoPictureBox, 0, 0);
|
||||
tableLayoutPanel.Controls.Add(labelProductName, 1, 0);
|
||||
tableLayoutPanel.Controls.Add(labelVersion, 1, 1);
|
||||
tableLayoutPanel.Controls.Add(labelCopyright, 1, 2);
|
||||
tableLayoutPanel.Controls.Add(labelCompanyName, 1, 3);
|
||||
tableLayoutPanel.Controls.Add(textBoxDescription, 1, 4);
|
||||
tableLayoutPanel.Controls.Add(okButton, 1, 5);
|
||||
tableLayoutPanel.Dock = DockStyle.Fill;
|
||||
tableLayoutPanel.Location = new Point(15, 17);
|
||||
tableLayoutPanel.Margin = new Padding(5, 6, 5, 6);
|
||||
tableLayoutPanel.Name = "tableLayoutPanel";
|
||||
tableLayoutPanel.RowCount = 6;
|
||||
tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 10F));
|
||||
tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 10F));
|
||||
tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 10F));
|
||||
tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 10F));
|
||||
tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 50F));
|
||||
tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 10F));
|
||||
tableLayoutPanel.Size = new Size(695, 510);
|
||||
tableLayoutPanel.TabIndex = 0;
|
||||
//
|
||||
// logoPictureBox
|
||||
//
|
||||
logoPictureBox.Dock = DockStyle.Fill;
|
||||
logoPictureBox.Image = (Image)resources.GetObject("logoPictureBox.Image");
|
||||
logoPictureBox.Location = new Point(5, 6);
|
||||
logoPictureBox.Margin = new Padding(5, 6, 5, 6);
|
||||
logoPictureBox.Name = "logoPictureBox";
|
||||
tableLayoutPanel.SetRowSpan(logoPictureBox, 6);
|
||||
logoPictureBox.Size = new Size(219, 498);
|
||||
logoPictureBox.SizeMode = PictureBoxSizeMode.StretchImage;
|
||||
logoPictureBox.TabIndex = 12;
|
||||
logoPictureBox.TabStop = false;
|
||||
//
|
||||
// labelProductName
|
||||
//
|
||||
labelProductName.Dock = DockStyle.Fill;
|
||||
labelProductName.Location = new Point(239, 0);
|
||||
labelProductName.Margin = new Padding(10, 0, 5, 0);
|
||||
labelProductName.MaximumSize = new Size(0, 33);
|
||||
labelProductName.Name = "labelProductName";
|
||||
labelProductName.Size = new Size(451, 33);
|
||||
labelProductName.TabIndex = 19;
|
||||
labelProductName.Text = "Product Name";
|
||||
labelProductName.TextAlign = ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// labelVersion
|
||||
//
|
||||
labelVersion.Dock = DockStyle.Fill;
|
||||
labelVersion.Location = new Point(239, 51);
|
||||
labelVersion.Margin = new Padding(10, 0, 5, 0);
|
||||
labelVersion.MaximumSize = new Size(0, 33);
|
||||
labelVersion.Name = "labelVersion";
|
||||
labelVersion.Size = new Size(451, 33);
|
||||
labelVersion.TabIndex = 0;
|
||||
labelVersion.Text = "Version";
|
||||
labelVersion.TextAlign = ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// labelCopyright
|
||||
//
|
||||
labelCopyright.Dock = DockStyle.Fill;
|
||||
labelCopyright.Location = new Point(239, 102);
|
||||
labelCopyright.Margin = new Padding(10, 0, 5, 0);
|
||||
labelCopyright.MaximumSize = new Size(0, 33);
|
||||
labelCopyright.Name = "labelCopyright";
|
||||
labelCopyright.Size = new Size(451, 33);
|
||||
labelCopyright.TabIndex = 21;
|
||||
labelCopyright.Text = "Copyright";
|
||||
labelCopyright.TextAlign = ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// labelCompanyName
|
||||
//
|
||||
labelCompanyName.Dock = DockStyle.Fill;
|
||||
labelCompanyName.Location = new Point(239, 153);
|
||||
labelCompanyName.Margin = new Padding(10, 0, 5, 0);
|
||||
labelCompanyName.MaximumSize = new Size(0, 33);
|
||||
labelCompanyName.Name = "labelCompanyName";
|
||||
labelCompanyName.Size = new Size(451, 33);
|
||||
labelCompanyName.TabIndex = 22;
|
||||
labelCompanyName.Text = "Company Name";
|
||||
labelCompanyName.TextAlign = ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// textBoxDescription
|
||||
//
|
||||
textBoxDescription.Dock = DockStyle.Fill;
|
||||
textBoxDescription.Location = new Point(239, 210);
|
||||
textBoxDescription.Margin = new Padding(10, 6, 5, 6);
|
||||
textBoxDescription.Multiline = true;
|
||||
textBoxDescription.Name = "textBoxDescription";
|
||||
textBoxDescription.ReadOnly = true;
|
||||
textBoxDescription.ScrollBars = ScrollBars.Both;
|
||||
textBoxDescription.Size = new Size(451, 243);
|
||||
textBoxDescription.TabIndex = 23;
|
||||
textBoxDescription.TabStop = false;
|
||||
textBoxDescription.Text = "Description";
|
||||
//
|
||||
// okButton
|
||||
//
|
||||
okButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||||
okButton.DialogResult = DialogResult.Cancel;
|
||||
okButton.Location = new Point(565, 465);
|
||||
okButton.Margin = new Padding(5, 6, 5, 6);
|
||||
okButton.Name = "okButton";
|
||||
okButton.Size = new Size(125, 39);
|
||||
okButton.TabIndex = 24;
|
||||
okButton.Text = "&OK";
|
||||
okButton.Click += okButton_Click;
|
||||
//
|
||||
// AboutBox1
|
||||
//
|
||||
AcceptButton = okButton;
|
||||
AutoScaleDimensions = new SizeF(10F, 25F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(725, 544);
|
||||
Controls.Add(tableLayoutPanel);
|
||||
FormBorderStyle = FormBorderStyle.FixedDialog;
|
||||
Margin = new Padding(5, 6, 5, 6);
|
||||
MaximizeBox = false;
|
||||
MinimizeBox = false;
|
||||
Name = "AboutBox1";
|
||||
Padding = new Padding(15, 17, 15, 17);
|
||||
ShowIcon = false;
|
||||
ShowInTaskbar = false;
|
||||
StartPosition = FormStartPosition.CenterParent;
|
||||
Text = "About PDF-Merge";
|
||||
tableLayoutPanel.ResumeLayout(false);
|
||||
tableLayoutPanel.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)logoPictureBox).EndInit();
|
||||
ResumeLayout(false);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel;
|
||||
private System.Windows.Forms.PictureBox logoPictureBox;
|
||||
private System.Windows.Forms.Label labelProductName;
|
||||
private System.Windows.Forms.Label labelVersion;
|
||||
private System.Windows.Forms.Label labelCopyright;
|
||||
private System.Windows.Forms.Label labelCompanyName;
|
||||
private System.Windows.Forms.TextBox textBoxDescription;
|
||||
private System.Windows.Forms.Button okButton;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user