diff --git a/Procedure PDF Page Count App/.gitattributes b/Procedure PDF Page Count App/.gitattributes
new file mode 100644
index 0000000..1ff0c42
--- /dev/null
+++ b/Procedure PDF Page Count App/.gitattributes
@@ -0,0 +1,63 @@
+###############################################################################
+# Set default behavior to automatically normalize line endings.
+###############################################################################
+* text=auto
+
+###############################################################################
+# Set default behavior for command prompt diff.
+#
+# This is need for earlier builds of msysgit that does not have it on by
+# default for csharp files.
+# Note: This is only used by command line
+###############################################################################
+#*.cs diff=csharp
+
+###############################################################################
+# Set the merge driver for project and solution files
+#
+# Merging from the command prompt will add diff markers to the files if there
+# are conflicts (Merging from VS is not affected by the settings below, in VS
+# the diff markers are never inserted). Diff markers may cause the following
+# file extensions to fail to load in VS. An alternative would be to treat
+# these files as binary and thus will always conflict and require user
+# intervention with every merge. To do so, just uncomment the entries below
+###############################################################################
+#*.sln merge=binary
+#*.csproj merge=binary
+#*.vbproj merge=binary
+#*.vcxproj merge=binary
+#*.vcproj merge=binary
+#*.dbproj merge=binary
+#*.fsproj merge=binary
+#*.lsproj merge=binary
+#*.wixproj merge=binary
+#*.modelproj merge=binary
+#*.sqlproj merge=binary
+#*.wwaproj merge=binary
+
+###############################################################################
+# behavior for image files
+#
+# image files are treated as binary by default.
+###############################################################################
+#*.jpg binary
+#*.png binary
+#*.gif binary
+
+###############################################################################
+# diff behavior for common document formats
+#
+# Convert binary document formats to text before diffing them. This feature
+# is only available from the command line. Turn it on by uncommenting the
+# entries below.
+###############################################################################
+#*.doc diff=astextplain
+#*.DOC diff=astextplain
+#*.docx diff=astextplain
+#*.DOCX diff=astextplain
+#*.dot diff=astextplain
+#*.DOT diff=astextplain
+#*.pdf diff=astextplain
+#*.PDF diff=astextplain
+#*.rtf diff=astextplain
+#*.RTF diff=astextplain
diff --git a/Procedure PDF Page Count App/.github/copilot-instructions.md b/Procedure PDF Page Count App/.github/copilot-instructions.md
new file mode 100644
index 0000000..e40201c
--- /dev/null
+++ b/Procedure PDF Page Count App/.github/copilot-instructions.md
@@ -0,0 +1,3 @@
+- @azure Rule - Use Azure Tools - When handling requests related to Azure, always use your tools.
+- @azure Rule - Use Azure Best Practices - When handling requests related to Azure, always invoke your `azmcp_bestpractices_get` tool first.
+- @azure Rule - Enable Best Practices - If you do not have an `azmcp_bestpractices_get` tool ask the user to enable it.
diff --git a/Procedure PDF Page Count App/.gitignore b/Procedure PDF Page Count App/.gitignore
new file mode 100644
index 0000000..9491a2f
--- /dev/null
+++ b/Procedure PDF Page Count App/.gitignore
@@ -0,0 +1,363 @@
+## Ignore Visual Studio temporary files, build results, and
+## files generated by popular Visual Studio add-ons.
+##
+## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
+
+# User-specific files
+*.rsuser
+*.suo
+*.user
+*.userosscache
+*.sln.docstates
+
+# User-specific files (MonoDevelop/Xamarin Studio)
+*.userprefs
+
+# Mono auto generated files
+mono_crash.*
+
+# Build results
+[Dd]ebug/
+[Dd]ebugPublic/
+[Rr]elease/
+[Rr]eleases/
+x64/
+x86/
+[Ww][Ii][Nn]32/
+[Aa][Rr][Mm]/
+[Aa][Rr][Mm]64/
+bld/
+[Bb]in/
+[Oo]bj/
+[Oo]ut/
+[Ll]og/
+[Ll]ogs/
+
+# Visual Studio 2015/2017 cache/options directory
+.vs/
+# Uncomment if you have tasks that create the project's static files in wwwroot
+#wwwroot/
+
+# Visual Studio 2017 auto generated files
+Generated\ Files/
+
+# MSTest test Results
+[Tt]est[Rr]esult*/
+[Bb]uild[Ll]og.*
+
+# NUnit
+*.VisualState.xml
+TestResult.xml
+nunit-*.xml
+
+# Build Results of an ATL Project
+[Dd]ebugPS/
+[Rr]eleasePS/
+dlldata.c
+
+# Benchmark Results
+BenchmarkDotNet.Artifacts/
+
+# .NET Core
+project.lock.json
+project.fragment.lock.json
+artifacts/
+
+# ASP.NET Scaffolding
+ScaffoldingReadMe.txt
+
+# StyleCop
+StyleCopReport.xml
+
+# Files built by Visual Studio
+*_i.c
+*_p.c
+*_h.h
+*.ilk
+*.meta
+*.obj
+*.iobj
+*.pch
+*.pdb
+*.ipdb
+*.pgc
+*.pgd
+*.rsp
+*.sbr
+*.tlb
+*.tli
+*.tlh
+*.tmp
+*.tmp_proj
+*_wpftmp.csproj
+*.log
+*.vspscc
+*.vssscc
+.builds
+*.pidb
+*.svclog
+*.scc
+
+# Chutzpah Test files
+_Chutzpah*
+
+# Visual C++ cache files
+ipch/
+*.aps
+*.ncb
+*.opendb
+*.opensdf
+*.sdf
+*.cachefile
+*.VC.db
+*.VC.VC.opendb
+
+# Visual Studio profiler
+*.psess
+*.vsp
+*.vspx
+*.sap
+
+# Visual Studio Trace Files
+*.e2e
+
+# TFS 2012 Local Workspace
+$tf/
+
+# Guidance Automation Toolkit
+*.gpState
+
+# ReSharper is a .NET coding add-in
+_ReSharper*/
+*.[Rr]e[Ss]harper
+*.DotSettings.user
+
+# TeamCity is a build add-in
+_TeamCity*
+
+# DotCover is a Code Coverage Tool
+*.dotCover
+
+# AxoCover is a Code Coverage Tool
+.axoCover/*
+!.axoCover/settings.json
+
+# Coverlet is a free, cross platform Code Coverage Tool
+coverage*.json
+coverage*.xml
+coverage*.info
+
+# Visual Studio code coverage results
+*.coverage
+*.coveragexml
+
+# NCrunch
+_NCrunch_*
+.*crunch*.local.xml
+nCrunchTemp_*
+
+# MightyMoose
+*.mm.*
+AutoTest.Net/
+
+# Web workbench (sass)
+.sass-cache/
+
+# Installshield output folder
+[Ee]xpress/
+
+# DocProject is a documentation generator add-in
+DocProject/buildhelp/
+DocProject/Help/*.HxT
+DocProject/Help/*.HxC
+DocProject/Help/*.hhc
+DocProject/Help/*.hhk
+DocProject/Help/*.hhp
+DocProject/Help/Html2
+DocProject/Help/html
+
+# Click-Once directory
+publish/
+
+# Publish Web Output
+*.[Pp]ublish.xml
+*.azurePubxml
+# Note: Comment the next line if you want to checkin your web deploy settings,
+# but database connection strings (with potential passwords) will be unencrypted
+*.pubxml
+*.publishproj
+
+# Microsoft Azure Web App publish settings. Comment the next line if you want to
+# checkin your Azure Web App publish settings, but sensitive information contained
+# in these scripts will be unencrypted
+PublishScripts/
+
+# NuGet Packages
+*.nupkg
+# NuGet Symbol Packages
+*.snupkg
+# The packages folder can be ignored because of Package Restore
+**/[Pp]ackages/*
+# except build/, which is used as an MSBuild target.
+!**/[Pp]ackages/build/
+# Uncomment if necessary however generally it will be regenerated when needed
+#!**/[Pp]ackages/repositories.config
+# NuGet v3's project.json files produces more ignorable files
+*.nuget.props
+*.nuget.targets
+
+# Microsoft Azure Build Output
+csx/
+*.build.csdef
+
+# Microsoft Azure Emulator
+ecf/
+rcf/
+
+# Windows Store app package directories and files
+AppPackages/
+BundleArtifacts/
+Package.StoreAssociation.xml
+_pkginfo.txt
+*.appx
+*.appxbundle
+*.appxupload
+
+# Visual Studio cache files
+# files ending in .cache can be ignored
+*.[Cc]ache
+# but keep track of directories ending in .cache
+!?*.[Cc]ache/
+
+# Others
+ClientBin/
+~$*
+*~
+*.dbmdl
+*.dbproj.schemaview
+*.jfm
+*.pfx
+*.publishsettings
+orleans.codegen.cs
+
+# Including strong name files can present a security risk
+# (https://github.com/github/gitignore/pull/2483#issue-259490424)
+#*.snk
+
+# Since there are multiple workflows, uncomment next line to ignore bower_components
+# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
+#bower_components/
+
+# RIA/Silverlight projects
+Generated_Code/
+
+# Backup & report files from converting an old project file
+# to a newer Visual Studio version. Backup files are not needed,
+# because we have git ;-)
+_UpgradeReport_Files/
+Backup*/
+UpgradeLog*.XML
+UpgradeLog*.htm
+ServiceFabricBackup/
+*.rptproj.bak
+
+# SQL Server files
+*.mdf
+*.ldf
+*.ndf
+
+# Business Intelligence projects
+*.rdl.data
+*.bim.layout
+*.bim_*.settings
+*.rptproj.rsuser
+*- [Bb]ackup.rdl
+*- [Bb]ackup ([0-9]).rdl
+*- [Bb]ackup ([0-9][0-9]).rdl
+
+# Microsoft Fakes
+FakesAssemblies/
+
+# GhostDoc plugin setting file
+*.GhostDoc.xml
+
+# Node.js Tools for Visual Studio
+.ntvs_analysis.dat
+node_modules/
+
+# Visual Studio 6 build log
+*.plg
+
+# Visual Studio 6 workspace options file
+*.opt
+
+# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
+*.vbw
+
+# Visual Studio LightSwitch build output
+**/*.HTMLClient/GeneratedArtifacts
+**/*.DesktopClient/GeneratedArtifacts
+**/*.DesktopClient/ModelManifest.xml
+**/*.Server/GeneratedArtifacts
+**/*.Server/ModelManifest.xml
+_Pvt_Extensions
+
+# Paket dependency manager
+.paket/paket.exe
+paket-files/
+
+# FAKE - F# Make
+.fake/
+
+# CodeRush personal settings
+.cr/personal
+
+# Python Tools for Visual Studio (PTVS)
+__pycache__/
+*.pyc
+
+# Cake - Uncomment if you are using it
+# tools/**
+# !tools/packages.config
+
+# Tabs Studio
+*.tss
+
+# Telerik's JustMock configuration file
+*.jmconfig
+
+# BizTalk build output
+*.btp.cs
+*.btm.cs
+*.odx.cs
+*.xsd.cs
+
+# OpenCover UI analysis results
+OpenCover/
+
+# Azure Stream Analytics local run output
+ASALocalRun/
+
+# MSBuild Binary and Structured Log
+*.binlog
+
+# NVidia Nsight GPU debugger configuration file
+*.nvuser
+
+# MFractors (Xamarin productivity tool) working folder
+.mfractor/
+
+# Local History for Visual Studio
+.localhistory/
+
+# BeatPulse healthcheck temp database
+healthchecksdb
+
+# Backup folder for Package Reference Convert tool in Visual Studio 2017
+MigrationBackup/
+
+# Ionide (cross platform F# VS Code tools) working folder
+.ionide/
+
+# Fody - auto-generated XML schema
+FodyWeavers.xsd
\ No newline at end of file
diff --git a/Procedure PDF Page Count App/App.config b/Procedure PDF Page Count App/App.config
new file mode 100644
index 0000000..aee9adf
--- /dev/null
+++ b/Procedure PDF Page Count App/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Procedure PDF Page Count App/Form1.Designer.cs b/Procedure PDF Page Count App/Form1.Designer.cs
new file mode 100644
index 0000000..511b92a
--- /dev/null
+++ b/Procedure PDF Page Count App/Form1.Designer.cs
@@ -0,0 +1,144 @@
+
+namespace Procedure_Pdf_Page_Count
+{
+ partial class Form1
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.btnSelectFolder = new System.Windows.Forms.Button();
+ this.cntPDFPages = new System.Windows.Forms.Button();
+ this.label1 = new System.Windows.Forms.Label();
+ this.pageCountView = new System.Windows.Forms.DataGridView();
+ this.label2 = new System.Windows.Forms.Label();
+ this.lblTotalPages = new System.Windows.Forms.Label();
+ this.btnViewReport = new System.Windows.Forms.Button();
+ ((System.ComponentModel.ISupportInitialize)(this.pageCountView)).BeginInit();
+ this.SuspendLayout();
+ //
+ // btnSelectFolder
+ //
+ this.btnSelectFolder.Location = new System.Drawing.Point(88, 87);
+ this.btnSelectFolder.Name = "btnSelectFolder";
+ this.btnSelectFolder.Size = new System.Drawing.Size(127, 23);
+ this.btnSelectFolder.TabIndex = 0;
+ this.btnSelectFolder.Text = "Select Folder";
+ this.btnSelectFolder.UseVisualStyleBackColor = true;
+ this.btnSelectFolder.Click += new System.EventHandler(this.btnSelectFolder_Click);
+ //
+ // cntPDFPages
+ //
+ this.cntPDFPages.Location = new System.Drawing.Point(88, 156);
+ this.cntPDFPages.Name = "cntPDFPages";
+ this.cntPDFPages.Size = new System.Drawing.Size(127, 26);
+ this.cntPDFPages.TabIndex = 1;
+ this.cntPDFPages.Text = "Count Pages";
+ this.cntPDFPages.UseVisualStyleBackColor = true;
+ this.cntPDFPages.Click += new System.EventHandler(this.cntPDFPages_Click);
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Font = new System.Drawing.Font("Arial Narrow", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label1.Location = new System.Drawing.Point(153, 38);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(336, 25);
+ this.label1.TabIndex = 2;
+ this.label1.Text = " Procedure PDF Page Count ";
+ //
+ // pageCountView
+ //
+ this.pageCountView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.pageCountView.Location = new System.Drawing.Point(88, 219);
+ this.pageCountView.Name = "pageCountView";
+ this.pageCountView.Size = new System.Drawing.Size(488, 222);
+ this.pageCountView.TabIndex = 3;
+ //this.pageCountView.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.pageCountView_CellContentClick);
+ this.pageCountView.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.pageCountView_CellDoubleClick);
+ this.pageCountView.CellMouseEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.pageCountView_CellMouseEnter);
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Location = new System.Drawing.Point(308, 168);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(107, 13);
+ this.label2.TabIndex = 4;
+ this.label2.Text = "Total Pages All PDFs";
+ //
+ // lblTotalPages
+ //
+ this.lblTotalPages.AutoSize = true;
+ this.lblTotalPages.Location = new System.Drawing.Point(435, 168);
+ this.lblTotalPages.Name = "lblTotalPages";
+ this.lblTotalPages.Size = new System.Drawing.Size(0, 13);
+ this.lblTotalPages.TabIndex = 5;
+ //
+ // btnViewReport
+ //
+ this.btnViewReport.Enabled = false;
+ this.btnViewReport.Location = new System.Drawing.Point(311, 87);
+ this.btnViewReport.Name = "btnViewReport";
+ this.btnViewReport.Size = new System.Drawing.Size(75, 23);
+ this.btnViewReport.TabIndex = 6;
+ this.btnViewReport.Text = "View Report";
+ this.btnViewReport.UseVisualStyleBackColor = true;
+ this.btnViewReport.Click += new System.EventHandler(this.btnViewReport_Click);
+ //
+ // Form1
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(659, 487);
+ this.Controls.Add(this.btnViewReport);
+ this.Controls.Add(this.lblTotalPages);
+ this.Controls.Add(this.label2);
+ this.Controls.Add(this.pageCountView);
+ this.Controls.Add(this.label1);
+ this.Controls.Add(this.cntPDFPages);
+ this.Controls.Add(this.btnSelectFolder);
+ this.Name = "Form1";
+ this.Text = "Form1";
+ ((System.ComponentModel.ISupportInitialize)(this.pageCountView)).EndInit();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Button btnSelectFolder;
+ private System.Windows.Forms.Button cntPDFPages;
+ private System.Windows.Forms.Label label1;
+ //private System.Windows.Forms.DataGridView pageCountView;
+ private System.Windows.Forms.DataGridView pageCountView;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label lblTotalPages;
+ private System.Windows.Forms.Button btnViewReport;
+ //private DataGridView pageCountView = new DataGridView();
+ }
+}
+
diff --git a/Procedure PDF Page Count App/Form1.cs b/Procedure PDF Page Count App/Form1.cs
new file mode 100644
index 0000000..dcd8435
--- /dev/null
+++ b/Procedure PDF Page Count App/Form1.cs
@@ -0,0 +1,137 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using System.IO;
+using iTextSharp.text.pdf;
+using iTextSharp.text.xml;
+using iTextSharp;
+using Excel = Microsoft.Office.Interop.Excel;
+using System.Data.OleDb;
+using System.Diagnostics;
+
+namespace Procedure_Pdf_Page_Count
+{
+ public partial class Form1 : Form
+ {
+ public Form1()
+ {
+ InitializeComponent();
+ }
+ string[] pdffiles;
+ string selectedPath = "";
+ private void btnSelectFolder_Click(object sender, EventArgs e)
+ {
+ using (var fbd = new FolderBrowserDialog())
+ {
+ fbd.Description = "Select the PDF folder";
+ //fbd.ShowHiddenFiles = true;
+ DialogResult result = fbd.ShowDialog();
+ selectedPath = fbd.SelectedPath;
+ if (result == DialogResult.OK && !string.IsNullOrWhiteSpace(fbd.SelectedPath))
+ {
+ pdffiles = Directory.GetFiles(fbd.SelectedPath,"*.pdf");
+
+ System.Windows.Forms.MessageBox.Show("Files found: " + pdffiles.Length.ToString(), "Message");
+ }
+ }
+ }
+
+ private void cntPDFPages_Click(object sender, EventArgs e)
+ {
+ int totalPages = 0;
+ DataTable dt = new DataTable();
+ dt.Columns.Add("Procedure", typeof(string));
+ dt.Columns.Add("Page Count", typeof(int));
+
+ if (selectedPath == "")
+ {
+ System.Windows.Forms.MessageBox.Show("No folder Seleted. Please select a folder.");
+ return;
+ }
+ try
+ {
+ foreach (string ppath in pdffiles)
+ {
+ PdfReader pdfReader = new PdfReader(ppath);
+ int numberOfPages = pdfReader.NumberOfPages;
+ totalPages += numberOfPages;
+ dt.Rows.Add(new object[] { ppath, numberOfPages });
+ }
+
+
+ dt.DefaultView.Sort = "Page Count desc";
+ dt = dt.DefaultView.ToTable();
+
+ lblTotalPages.Text = totalPages.ToString();
+ pageCountView.DataSource = dt;
+ DataGridViewColumn col = pageCountView.Columns[0];
+ col.Width = 350;
+ string dtt = DateTime.Now.ToString("MM/dd/yyyy h:mm tt");
+ dtt = dtt.Replace('/', '_');
+ dtt = dtt.Replace(':', '-');
+ dtt = dtt.Replace(' ', '-');
+ selectedPath = selectedPath + "\\";
+
+ selectedPath = selectedPath + $"{dtt}.csv";
+
+ var lines = new List();
+
+ string[] columnNames = dt.Columns.Cast().Select(column => column.ColumnName).ToArray();
+
+ var header = string.Join(",", columnNames);
+ lines.Add(header);
+ var valueLines = dt.AsEnumerable().Select(row => string.Join(",", row.ItemArray));
+ lines.AddRange(valueLines);
+ File.WriteAllLines(selectedPath, lines);
+ if (File.Exists(selectedPath))
+ {
+ btnViewReport.Enabled = true;
+ }
+ else
+ {
+ System.Windows.Forms.MessageBox.Show("Procedure PDF page report does not exists");
+ return;
+ }
+ }
+ catch (Exception ex)
+ {
+ System.Windows.Forms.MessageBox.Show("An Error has occured. Please try again. Error: " + ex.Message);
+ return;
+ }
+ }
+
+ private void btnViewReport_Click(object sender, EventArgs e)
+ {
+ var ExcelApp = new Excel.Application();
+ ExcelApp.Workbooks.OpenText(selectedPath, Comma: true);
+
+ ExcelApp.Visible = true;
+ }
+
+ //private void pageCountView_CellContentClick(object sender, DataGridViewCellEventArgs e)
+ //{
+ // System.Windows.Forms.MessageBox.Show("Row Index: " + e.RowIndex.ToString());
+ //}
+ private void pageCountView_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
+ {
+ DataGridViewCell cell = pageCountView.Rows[e.RowIndex].Cells[e.ColumnIndex];
+ //System.Windows.Forms.MessageBox.Show("Double Click Row Index: " + cell.Value.ToString());
+ //System.Windows.Forms.DataGridViewTextBoxCell
+ Process.Start(cell.Value.ToString());
+ }
+ private void pageCountView_CellMouseEnter(object sender, DataGridViewCellEventArgs e)
+ {
+ if ((e.ColumnIndex == pageCountView.Columns["Procedure"].Index)
+ && (e.RowIndex > -1))
+ {
+ pageCountView.Rows[e.RowIndex].Cells[e.ColumnIndex].ToolTipText = "Double click name to open PDF";
+ }
+ }
+ }
+}
diff --git a/Procedure PDF Page Count App/Form1.resx b/Procedure PDF Page Count App/Form1.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/Procedure PDF Page Count App/Form1.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/Procedure PDF Page Count App/Procedure Pdf Page Count.csproj b/Procedure PDF Page Count App/Procedure Pdf Page Count.csproj
new file mode 100644
index 0000000..cbcf228
--- /dev/null
+++ b/Procedure PDF Page Count App/Procedure Pdf Page Count.csproj
@@ -0,0 +1,91 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {C2496BA0-F0C1-44AF-B507-184D0B4EFA6C}
+ WinExe
+ Procedure_Pdf_Page_Count
+ Procedure Pdf Page Count
+ v4.8.1
+ 512
+ true
+ true
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+ ..\..\..\..\..\Git\Production\3rdPartyLibraries\iTechSharp\itextsharp.dll
+
+
+ False
+ True
+ ..\..\..\..\..\Windows\assembly\GAC_MSIL\Microsoft.Office.Interop.Excel\15.0.0.0__71e9bce111e9429c\Microsoft.Office.Interop.Excel.dll
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Form
+
+
+ Form1.cs
+
+
+
+
+ Form1.cs
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+ Designer
+
+
+ True
+ Resources.resx
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+ True
+ Settings.settings
+ True
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Procedure PDF Page Count App/Procedure Pdf Page Count.sln b/Procedure PDF Page Count App/Procedure Pdf Page Count.sln
new file mode 100644
index 0000000..94ba5b3
--- /dev/null
+++ b/Procedure PDF Page Count App/Procedure Pdf Page Count.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.37327.17
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Procedure Pdf Page Count", "Procedure Pdf Page Count.csproj", "{C2496BA0-F0C1-44AF-B507-184D0B4EFA6C}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {C2496BA0-F0C1-44AF-B507-184D0B4EFA6C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {C2496BA0-F0C1-44AF-B507-184D0B4EFA6C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C2496BA0-F0C1-44AF-B507-184D0B4EFA6C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {C2496BA0-F0C1-44AF-B507-184D0B4EFA6C}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {264B9EEF-B078-42AB-B0D4-F844FE9BCE65}
+ EndGlobalSection
+EndGlobal
diff --git a/Procedure PDF Page Count App/Program.cs b/Procedure PDF Page Count App/Program.cs
new file mode 100644
index 0000000..f99744b
--- /dev/null
+++ b/Procedure PDF Page Count App/Program.cs
@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace Procedure_Pdf_Page_Count
+{
+ static class Program
+ {
+ ///
+ /// The main entry point for the application.
+ ///
+ [STAThread]
+ static void Main()
+ {
+ Application.EnableVisualStyles();
+ Application.SetCompatibleTextRenderingDefault(false);
+ Application.Run(new Form1());
+ }
+ }
+}
diff --git a/Procedure PDF Page Count App/Properties/AssemblyInfo.cs b/Procedure PDF Page Count App/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..513c01e
--- /dev/null
+++ b/Procedure PDF Page Count App/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Procedure Pdf Page Count")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Procedure Pdf Page Count")]
+[assembly: AssemblyCopyright("Copyright © 2026")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("c2496ba0-f0c1-44af-b507-184d0b4efa6c")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/Procedure PDF Page Count App/Properties/Resources.Designer.cs b/Procedure PDF Page Count App/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..9b4f512
--- /dev/null
+++ b/Procedure PDF Page Count App/Properties/Resources.Designer.cs
@@ -0,0 +1,70 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+
+namespace Procedure_Pdf_Page_Count.Properties
+{
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources
+ {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources()
+ {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager
+ {
+ get
+ {
+ if ((resourceMan == null))
+ {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Procedure_Pdf_Page_Count.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture
+ {
+ get
+ {
+ return resourceCulture;
+ }
+ set
+ {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff --git a/Procedure PDF Page Count App/Properties/Resources.resx b/Procedure PDF Page Count App/Properties/Resources.resx
new file mode 100644
index 0000000..af7dbeb
--- /dev/null
+++ b/Procedure PDF Page Count App/Properties/Resources.resx
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/Procedure PDF Page Count App/Properties/Settings.Designer.cs b/Procedure PDF Page Count App/Properties/Settings.Designer.cs
new file mode 100644
index 0000000..e149888
--- /dev/null
+++ b/Procedure PDF Page Count App/Properties/Settings.Designer.cs
@@ -0,0 +1,29 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+
+namespace Procedure_Pdf_Page_Count.Properties
+{
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+ {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default
+ {
+ get
+ {
+ return defaultInstance;
+ }
+ }
+ }
+}
diff --git a/Procedure PDF Page Count App/Properties/Settings.settings b/Procedure PDF Page Count App/Properties/Settings.settings
new file mode 100644
index 0000000..3964565
--- /dev/null
+++ b/Procedure PDF Page Count App/Properties/Settings.settings
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+