diff --git a/MergePDF.sln b/MergePDF.sln
index 7060b96..3b7fec8 100644
--- a/MergePDF.sln
+++ b/MergePDF.sln
@@ -5,6 +5,8 @@ VisualStudioVersion = 15.0.27130.2026
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MergePDF", "MergePDF\MergePDF.csproj", "{8BF6B775-F54A-4590-959B-FD6D5AEC1280}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MergePDFTests", "MergePDFTests\MergePDFTests.csproj", "{116308E4-C514-461A-B222-AEC05F1DFEFC}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -15,6 +17,10 @@ Global
{8BF6B775-F54A-4590-959B-FD6D5AEC1280}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8BF6B775-F54A-4590-959B-FD6D5AEC1280}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8BF6B775-F54A-4590-959B-FD6D5AEC1280}.Release|Any CPU.Build.0 = Release|Any CPU
+ {116308E4-C514-461A-B222-AEC05F1DFEFC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {116308E4-C514-461A-B222-AEC05F1DFEFC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {116308E4-C514-461A-B222-AEC05F1DFEFC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {116308E4-C514-461A-B222-AEC05F1DFEFC}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/MergePDF/App.config b/MergePDF/App.config
index 731f6de..ecdcf8a 100644
--- a/MergePDF/App.config
+++ b/MergePDF/App.config
@@ -1,6 +1,6 @@
-
+
-
+
-
\ No newline at end of file
+
diff --git a/MergePDF/Form1.cs b/MergePDF/Form1.cs
index ac317c6..6961bf2 100644
--- a/MergePDF/Form1.cs
+++ b/MergePDF/Form1.cs
@@ -20,10 +20,7 @@ public partial class Form1 : Form
private List Textboxes { get; set; }
private List FileDialogs { get; set; }
- private List Documents { get; set; }
-
- // Create a document for the merged result.
- private PdfDocument outDocument { get; set; }
+ private PdfMerger _pdfMerger;
private OpenFileDialog openFileDialog { get; set; }
private SaveFileDialog saveFileDialog { get; set; }
@@ -35,7 +32,7 @@ public Form1()
Buttons = new List