Update code to reflect change in config file.

The configuration now seperates the output path and filename into
seperate componentants.
This commit is contained in:
2024-08-05 14:32:13 -04:00
parent f85361ed27
commit 1d332927d6
5 changed files with 56 additions and 7 deletions

29
ConfForm.Designer.cs generated
View File

@@ -40,11 +40,13 @@ namespace PDF_Merge
overrideCBox = new CheckBox();
sourceDirBtn = new Button();
outPathBtn = new Button();
FileLable = new Label();
FileNameBox = new TextBox();
SuspendLayout();
//
// saveBtn
//
saveBtn.Location = new Point(327, 175);
saveBtn.Location = new Point(327, 227);
saveBtn.Name = "saveBtn";
saveBtn.Size = new Size(112, 34);
saveBtn.TabIndex = 0;
@@ -54,7 +56,7 @@ namespace PDF_Merge
//
// cancelBtn
//
cancelBtn.Location = new Point(193, 175);
cancelBtn.Location = new Point(193, 227);
cancelBtn.Name = "cancelBtn";
cancelBtn.Size = new Size(112, 34);
cancelBtn.TabIndex = 1;
@@ -99,7 +101,7 @@ namespace PDF_Merge
overrideCBox.AutoSize = true;
overrideCBox.Checked = true;
overrideCBox.CheckState = CheckState.Checked;
overrideCBox.Location = new Point(171, 105);
overrideCBox.Location = new Point(171, 152);
overrideCBox.Name = "overrideCBox";
overrideCBox.Size = new Size(179, 29);
overrideCBox.TabIndex = 6;
@@ -124,12 +126,31 @@ namespace PDF_Merge
outPathBtn.TabIndex = 8;
outPathBtn.Text = "...";
outPathBtn.UseVisualStyleBackColor = true;
outPathBtn.Click += outPathBtn_Click;
//
// FileLable
//
FileLable.AutoSize = true;
FileLable.Location = new Point(25, 108);
FileLable.Name = "FileLable";
FileLable.Size = new Size(82, 25);
FileLable.TabIndex = 9;
FileLable.Text = "Filename";
//
// FileNameBox
//
FileNameBox.Location = new Point(171, 108);
FileNameBox.Name = "FileNameBox";
FileNameBox.Size = new Size(150, 31);
FileNameBox.TabIndex = 10;
//
// ConfForm
//
AutoScaleDimensions = new SizeF(10F, 25F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(500, 282);
Controls.Add(FileNameBox);
Controls.Add(FileLable);
Controls.Add(outPathBtn);
Controls.Add(sourceDirBtn);
Controls.Add(overrideCBox);
@@ -157,5 +178,7 @@ namespace PDF_Merge
private CheckBox overrideCBox;
private Button sourceDirBtn;
private Button outPathBtn;
private Label FileLable;
private TextBox FileNameBox;
}
}