Commit for development environment setup
This commit is contained in:
79
PROMS/PDFCompare/FindDifferences/FindDifferences.csproj
Normal file
79
PROMS/PDFCompare/FindDifferences/FindDifferences.csproj
Normal file
@@ -0,0 +1,79 @@
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{82A5D621-315D-4059-8F01-245349D52438}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>FindDifferences</RootNamespace>
|
||||
<AssemblyName>FindDifferences</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="frmFindDifferences.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmFindDifferences.Designer.cs">
|
||||
<DependentUpon>frmFindDifferences.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="frmFindDifferences.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>frmFindDifferences.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<None Include="app.config" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
20
PROMS/PDFCompare/FindDifferences/Program.cs
Normal file
20
PROMS/PDFCompare/FindDifferences/Program.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FindDifferences
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run(new frmFindDifferences());
|
||||
}
|
||||
}
|
||||
}
|
33
PROMS/PDFCompare/FindDifferences/Properties/AssemblyInfo.cs
Normal file
33
PROMS/PDFCompare/FindDifferences/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
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("FindDifferences")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("FindDifferences")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2010")]
|
||||
[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("c5973e59-a072-4822-b4ea-b2b47af77089")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
71
PROMS/PDFCompare/FindDifferences/Properties/Resources.Designer.cs
generated
Normal file
71
PROMS/PDFCompare/FindDifferences/Properties/Resources.Designer.cs
generated
Normal file
@@ -0,0 +1,71 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.4200
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FindDifferences.Properties
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// 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", "2.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()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </summary>
|
||||
[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("FindDifferences.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture
|
||||
{
|
||||
get
|
||||
{
|
||||
return resourceCulture;
|
||||
}
|
||||
set
|
||||
{
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
117
PROMS/PDFCompare/FindDifferences/Properties/Resources.resx
Normal file
117
PROMS/PDFCompare/FindDifferences/Properties/Resources.resx
Normal file
@@ -0,0 +1,117 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
110
PROMS/PDFCompare/FindDifferences/Properties/Settings.Designer.cs
generated
Normal file
110
PROMS/PDFCompare/FindDifferences/Properties/Settings.Designer.cs
generated
Normal file
@@ -0,0 +1,110 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.4200
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FindDifferences.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.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;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("700, 550")]
|
||||
public global::System.Drawing.Size Size {
|
||||
get {
|
||||
return ((global::System.Drawing.Size)(this["Size"]));
|
||||
}
|
||||
set {
|
||||
this["Size"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("0, 0")]
|
||||
public global::System.Drawing.Point Location {
|
||||
get {
|
||||
return ((global::System.Drawing.Point)(this["Location"]));
|
||||
}
|
||||
set {
|
||||
this["Location"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("Normal")]
|
||||
public global::System.Windows.Forms.FormWindowState WindowState {
|
||||
get {
|
||||
return ((global::System.Windows.Forms.FormWindowState)(this["WindowState"]));
|
||||
}
|
||||
set {
|
||||
this["WindowState"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string CompareFolder {
|
||||
get {
|
||||
return ((string)(this["CompareFolder"]));
|
||||
}
|
||||
set {
|
||||
this["CompareFolder"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string PdfFolder {
|
||||
get {
|
||||
return ((string)(this["PdfFolder"]));
|
||||
}
|
||||
set {
|
||||
this["PdfFolder"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("325")]
|
||||
public int SplitterDistance {
|
||||
get {
|
||||
return ((int)(this["SplitterDistance"]));
|
||||
}
|
||||
set {
|
||||
this["SplitterDistance"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool ShowFirst {
|
||||
get {
|
||||
return ((bool)(this["ShowFirst"]));
|
||||
}
|
||||
set {
|
||||
this["ShowFirst"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,27 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="FindDifferences.Properties" GeneratedClassName="Settings">
|
||||
<Profiles />
|
||||
<Settings>
|
||||
<Setting Name="Size" Type="System.Drawing.Size" Scope="User">
|
||||
<Value Profile="(Default)">700, 550</Value>
|
||||
</Setting>
|
||||
<Setting Name="Location" Type="System.Drawing.Point" Scope="User">
|
||||
<Value Profile="(Default)">0, 0</Value>
|
||||
</Setting>
|
||||
<Setting Name="WindowState" Type="System.Windows.Forms.FormWindowState" Scope="User">
|
||||
<Value Profile="(Default)">Normal</Value>
|
||||
</Setting>
|
||||
<Setting Name="CompareFolder" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="PdfFolder" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="SplitterDistance" Type="System.Int32" Scope="User">
|
||||
<Value Profile="(Default)">325</Value>
|
||||
</Setting>
|
||||
<Setting Name="ShowFirst" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
33
PROMS/PDFCompare/FindDifferences/app.config
Normal file
33
PROMS/PDFCompare/FindDifferences/app.config
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
|
||||
<section name="FindDifferences.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
<userSettings>
|
||||
<FindDifferences.Properties.Settings>
|
||||
<setting name="Size" serializeAs="String">
|
||||
<value>700, 550</value>
|
||||
</setting>
|
||||
<setting name="Location" serializeAs="String">
|
||||
<value>0, 0</value>
|
||||
</setting>
|
||||
<setting name="WindowState" serializeAs="String">
|
||||
<value>Normal</value>
|
||||
</setting>
|
||||
<setting name="CompareFolder" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="PdfFolder" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="SplitterDistance" serializeAs="String">
|
||||
<value>325</value>
|
||||
</setting>
|
||||
<setting name="ShowFirst" serializeAs="String">
|
||||
<value>True</value>
|
||||
</setting>
|
||||
</FindDifferences.Properties.Settings>
|
||||
</userSettings>
|
||||
</configuration>
|
300
PROMS/PDFCompare/FindDifferences/frmFindDifferences.Designer.cs
generated
Normal file
300
PROMS/PDFCompare/FindDifferences/frmFindDifferences.Designer.cs
generated
Normal file
@@ -0,0 +1,300 @@
|
||||
namespace FindDifferences
|
||||
{
|
||||
partial class frmFindDifferences
|
||||
{
|
||||
/// <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()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.fbd = new System.Windows.Forms.FolderBrowserDialog();
|
||||
this.tmr = new System.Windows.Forms.Timer(this.components);
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.tbPdf = new System.Windows.Forms.TextBox();
|
||||
this.tbCompare = new System.Windows.Forms.TextBox();
|
||||
this.btnPdf = new System.Windows.Forms.Button();
|
||||
this.btnCompare = new System.Windows.Forms.Button();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.btnCopy = new System.Windows.Forms.Button();
|
||||
this.cbShowFirst = new System.Windows.Forms.CheckBox();
|
||||
this.btnClosePdf = new System.Windows.Forms.Button();
|
||||
this.btnRefresh = new System.Windows.Forms.Button();
|
||||
this.lblDifferences = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.cmbWith = new System.Windows.Forms.ComboBox();
|
||||
this.cmbCompare = new System.Windows.Forms.ComboBox();
|
||||
this.lbDifferences = new System.Windows.Forms.ListBox();
|
||||
this.wb = new System.Windows.Forms.WebBrowser();
|
||||
this.panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
this.splitContainer1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// tmr
|
||||
//
|
||||
this.tmr.Tick += new System.EventHandler(this.tmr_Tick);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||
this.panel1.Controls.Add(this.tbPdf);
|
||||
this.panel1.Controls.Add(this.tbCompare);
|
||||
this.panel1.Controls.Add(this.btnPdf);
|
||||
this.panel1.Controls.Add(this.btnCompare);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(824, 72);
|
||||
this.panel1.TabIndex = 1;
|
||||
//
|
||||
// tbPdf
|
||||
//
|
||||
this.tbPdf.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.tbPdf.Location = new System.Drawing.Point(123, 41);
|
||||
this.tbPdf.Name = "tbPdf";
|
||||
this.tbPdf.Size = new System.Drawing.Size(685, 20);
|
||||
this.tbPdf.TabIndex = 9;
|
||||
//
|
||||
// tbCompare
|
||||
//
|
||||
this.tbCompare.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.tbCompare.Location = new System.Drawing.Point(123, 12);
|
||||
this.tbCompare.Name = "tbCompare";
|
||||
this.tbCompare.Size = new System.Drawing.Size(685, 20);
|
||||
this.tbCompare.TabIndex = 8;
|
||||
//
|
||||
// btnPdf
|
||||
//
|
||||
this.btnPdf.Location = new System.Drawing.Point(11, 39);
|
||||
this.btnPdf.Name = "btnPdf";
|
||||
this.btnPdf.Size = new System.Drawing.Size(106, 23);
|
||||
this.btnPdf.TabIndex = 7;
|
||||
this.btnPdf.Text = "Pdf Folder";
|
||||
this.btnPdf.UseVisualStyleBackColor = true;
|
||||
this.btnPdf.Click += new System.EventHandler(this.btnPdf_Click);
|
||||
//
|
||||
// btnCompare
|
||||
//
|
||||
this.btnCompare.Location = new System.Drawing.Point(11, 10);
|
||||
this.btnCompare.Name = "btnCompare";
|
||||
this.btnCompare.Size = new System.Drawing.Size(106, 23);
|
||||
this.btnCompare.TabIndex = 6;
|
||||
this.btnCompare.Text = "Compare Folder";
|
||||
this.btnCompare.UseVisualStyleBackColor = true;
|
||||
this.btnCompare.Click += new System.EventHandler(this.btnCompare_Click);
|
||||
//
|
||||
// splitContainer1
|
||||
//
|
||||
this.splitContainer1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer1.Location = new System.Drawing.Point(0, 72);
|
||||
this.splitContainer1.Name = "splitContainer1";
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnCopy);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.cbShowFirst);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnClosePdf);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnRefresh);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.lblDifferences);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label2);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.cmbWith);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.cmbCompare);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.lbDifferences);
|
||||
//
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
this.splitContainer1.Panel2.Controls.Add(this.wb);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(824, 502);
|
||||
this.splitContainer1.SplitterDistance = 324;
|
||||
this.splitContainer1.TabIndex = 4;
|
||||
//
|
||||
// btnCopy
|
||||
//
|
||||
this.btnCopy.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnCopy.Location = new System.Drawing.Point(204, 60);
|
||||
this.btnCopy.Name = "btnCopy";
|
||||
this.btnCopy.Size = new System.Drawing.Size(113, 21);
|
||||
this.btnCopy.TabIndex = 27;
|
||||
this.btnCopy.Text = "Copy List";
|
||||
this.btnCopy.UseVisualStyleBackColor = true;
|
||||
this.btnCopy.Click += new System.EventHandler(this.btnCopy_Click);
|
||||
//
|
||||
// cbShowFirst
|
||||
//
|
||||
this.cbShowFirst.AutoSize = true;
|
||||
this.cbShowFirst.Checked = true;
|
||||
this.cbShowFirst.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.cbShowFirst.Location = new System.Drawing.Point(10, 63);
|
||||
this.cbShowFirst.Name = "cbShowFirst";
|
||||
this.cbShowFirst.Size = new System.Drawing.Size(173, 17);
|
||||
this.cbShowFirst.TabIndex = 26;
|
||||
this.cbShowFirst.Text = "Only show first for each section";
|
||||
this.cbShowFirst.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btnClosePdf
|
||||
//
|
||||
this.btnClosePdf.Location = new System.Drawing.Point(3, 32);
|
||||
this.btnClosePdf.Name = "btnClosePdf";
|
||||
this.btnClosePdf.Size = new System.Drawing.Size(88, 21);
|
||||
this.btnClosePdf.TabIndex = 25;
|
||||
this.btnClosePdf.Text = "Close Pdf";
|
||||
this.btnClosePdf.UseVisualStyleBackColor = true;
|
||||
this.btnClosePdf.Click += new System.EventHandler(this.btnClosePdf_Click);
|
||||
//
|
||||
// btnRefresh
|
||||
//
|
||||
this.btnRefresh.Location = new System.Drawing.Point(3, 5);
|
||||
this.btnRefresh.Name = "btnRefresh";
|
||||
this.btnRefresh.Size = new System.Drawing.Size(88, 21);
|
||||
this.btnRefresh.TabIndex = 24;
|
||||
this.btnRefresh.Text = "Refresh";
|
||||
this.btnRefresh.UseVisualStyleBackColor = true;
|
||||
this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
|
||||
//
|
||||
// lblDifferences
|
||||
//
|
||||
this.lblDifferences.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lblDifferences.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
||||
this.lblDifferences.Location = new System.Drawing.Point(0, 94);
|
||||
this.lblDifferences.Name = "lblDifferences";
|
||||
this.lblDifferences.Size = new System.Drawing.Size(322, 25);
|
||||
this.lblDifferences.TabIndex = 23;
|
||||
this.lblDifferences.Text = "Differences";
|
||||
this.lblDifferences.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Location = new System.Drawing.Point(105, 36);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(49, 13);
|
||||
this.label2.TabIndex = 22;
|
||||
this.label2.Text = "With";
|
||||
this.label2.TextAlign = System.Drawing.ContentAlignment.TopRight;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Location = new System.Drawing.Point(105, 9);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(49, 16);
|
||||
this.label1.TabIndex = 21;
|
||||
this.label1.Text = "Compare";
|
||||
//
|
||||
// cmbWith
|
||||
//
|
||||
this.cmbWith.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbWith.Enabled = false;
|
||||
this.cmbWith.FormattingEnabled = true;
|
||||
this.cmbWith.Location = new System.Drawing.Point(160, 33);
|
||||
this.cmbWith.Name = "cmbWith";
|
||||
this.cmbWith.Size = new System.Drawing.Size(157, 21);
|
||||
this.cmbWith.TabIndex = 20;
|
||||
//
|
||||
// cmbCompare
|
||||
//
|
||||
this.cmbCompare.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbCompare.Enabled = false;
|
||||
this.cmbCompare.FormattingEnabled = true;
|
||||
this.cmbCompare.Location = new System.Drawing.Point(160, 6);
|
||||
this.cmbCompare.Name = "cmbCompare";
|
||||
this.cmbCompare.Size = new System.Drawing.Size(157, 21);
|
||||
this.cmbCompare.TabIndex = 19;
|
||||
//
|
||||
// lbDifferences
|
||||
//
|
||||
this.lbDifferences.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lbDifferences.Enabled = false;
|
||||
this.lbDifferences.FormattingEnabled = true;
|
||||
this.lbDifferences.Location = new System.Drawing.Point(0, 119);
|
||||
this.lbDifferences.Name = "lbDifferences";
|
||||
this.lbDifferences.Size = new System.Drawing.Size(322, 381);
|
||||
this.lbDifferences.TabIndex = 18;
|
||||
//
|
||||
// wb
|
||||
//
|
||||
this.wb.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.wb.Location = new System.Drawing.Point(0, 0);
|
||||
this.wb.MinimumSize = new System.Drawing.Size(20, 20);
|
||||
this.wb.Name = "wb";
|
||||
this.wb.Size = new System.Drawing.Size(492, 498);
|
||||
this.wb.TabIndex = 4;
|
||||
//
|
||||
// frmFindDifferences
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(824, 574);
|
||||
this.Controls.Add(this.splitContainer1);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "frmFindDifferences";
|
||||
this.Text = "Find Differences";
|
||||
this.Load += new System.EventHandler(this.frmFindDifferences_Load);
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmFindDifferences_FormClosing);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.splitContainer1.Panel1.ResumeLayout(false);
|
||||
this.splitContainer1.Panel1.PerformLayout();
|
||||
this.splitContainer1.Panel2.ResumeLayout(false);
|
||||
this.splitContainer1.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.FolderBrowserDialog fbd;
|
||||
private System.Windows.Forms.Timer tmr;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.TextBox tbPdf;
|
||||
private System.Windows.Forms.TextBox tbCompare;
|
||||
private System.Windows.Forms.Button btnPdf;
|
||||
private System.Windows.Forms.Button btnCompare;
|
||||
private System.Windows.Forms.SplitContainer splitContainer1;
|
||||
private System.Windows.Forms.Label lblDifferences;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.ComboBox cmbWith;
|
||||
private System.Windows.Forms.ComboBox cmbCompare;
|
||||
private System.Windows.Forms.ListBox lbDifferences;
|
||||
private System.Windows.Forms.WebBrowser wb;
|
||||
private System.Windows.Forms.Button btnClosePdf;
|
||||
private System.Windows.Forms.Button btnRefresh;
|
||||
private System.Windows.Forms.CheckBox cbShowFirst;
|
||||
private System.Windows.Forms.Button btnCopy;
|
||||
|
||||
}
|
||||
}
|
||||
|
259
PROMS/PDFCompare/FindDifferences/frmFindDifferences.cs
Normal file
259
PROMS/PDFCompare/FindDifferences/frmFindDifferences.cs
Normal file
@@ -0,0 +1,259 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.IO;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace FindDifferences
|
||||
{
|
||||
public partial class frmFindDifferences : Form
|
||||
{
|
||||
public frmFindDifferences()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
private void frmFindDifferences_Load(object sender, EventArgs e)
|
||||
{
|
||||
LoadSettings();
|
||||
SetupComboBoxes();
|
||||
}
|
||||
private void LoadSettings()
|
||||
{
|
||||
Size = Properties.Settings.Default.Size;
|
||||
Resize += new EventHandler(frmFindDifferences_Resize);
|
||||
Location = Properties.Settings.Default.Location;
|
||||
Move += new EventHandler(frmFindDifferences_Move);
|
||||
tbCompare.Text = Properties.Settings.Default.CompareFolder;
|
||||
tbCompare.TextChanged += new EventHandler(tbCompare_TextChanged);
|
||||
tbPdf.Text = Properties.Settings.Default.PdfFolder;
|
||||
tbPdf.TextChanged += new EventHandler(tbPdf_TextChanged);
|
||||
splitContainer1.SplitterDistance = Properties.Settings.Default.SplitterDistance;
|
||||
splitContainer1.SplitterMoved +=new SplitterEventHandler(splitContainer1_SplitterMoved);
|
||||
WindowState = Properties.Settings.Default.WindowState;
|
||||
cbShowFirst.Checked = Properties.Settings.Default.ShowFirst;
|
||||
cbShowFirst.CheckedChanged += new EventHandler(cbShowFirst_CheckedChanged);
|
||||
}
|
||||
void cbShowFirst_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
Properties.Settings.Default.ShowFirst = cbShowFirst.Checked;
|
||||
SetupDifferences();
|
||||
}
|
||||
void tbPdf_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
Properties.Settings.Default.PdfFolder = tbPdf.Text;
|
||||
}
|
||||
void tbCompare_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
Properties.Settings.Default.CompareFolder = tbCompare.Text;
|
||||
SetupComboBoxes();
|
||||
}
|
||||
void frmFindDifferences_Move(object sender, EventArgs e)
|
||||
{
|
||||
Properties.Settings.Default.WindowState = WindowState;
|
||||
if (WindowState == FormWindowState.Normal)
|
||||
Properties.Settings.Default.Location = Location;
|
||||
}
|
||||
void frmFindDifferences_Resize(object sender, EventArgs e)
|
||||
{
|
||||
Properties.Settings.Default.WindowState = WindowState;
|
||||
if (WindowState == FormWindowState.Normal)
|
||||
Properties.Settings.Default.Size = Size;
|
||||
}
|
||||
private void SetupComboBoxes()
|
||||
{
|
||||
if (tbCompare.Text != string.Empty)
|
||||
LoadComboBoxes();
|
||||
else
|
||||
DisableComboBoxes();
|
||||
}
|
||||
private void LoadComboBoxes()
|
||||
{
|
||||
DirectoryInfo di = new DirectoryInfo(tbCompare.Text);
|
||||
if (di.Exists)
|
||||
{
|
||||
List<string> myFiles1 = new List<string>();
|
||||
List<string> myFiles2 = new List<string>();
|
||||
foreach (FileInfo myFile in di.GetFiles("*.txt"))
|
||||
{
|
||||
myFiles1.Add(myFile.Name);
|
||||
myFiles2.Add(myFile.Name);
|
||||
}
|
||||
cmbCompare.SelectedIndexChanged -= new EventHandler(cmbCompare_SelectedIndexChanged);
|
||||
cmbWith.SelectedIndexChanged -= new EventHandler(cmbCompare_SelectedIndexChanged);
|
||||
cmbCompare.DataSource = myFiles1;
|
||||
cmbWith.DataSource = myFiles2;
|
||||
cmbCompare.Enabled = true;
|
||||
cmbWith.Enabled = true;
|
||||
cmbCompare.SelectedIndex = -1;
|
||||
cmbWith.SelectedIndex = -1;
|
||||
cmbCompare.SelectedIndexChanged += new EventHandler(cmbCompare_SelectedIndexChanged);
|
||||
cmbWith.SelectedIndexChanged += new EventHandler(cmbCompare_SelectedIndexChanged);
|
||||
}
|
||||
else
|
||||
DisableComboBoxes();
|
||||
}
|
||||
void cmbCompare_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
SetupDifferences();
|
||||
}
|
||||
private void DisableComboBoxes()
|
||||
{
|
||||
lbDifferences.Enabled = false;
|
||||
cmbCompare.Enabled = false;
|
||||
cmbWith.Enabled = false;
|
||||
}
|
||||
private void SetupDifferences()
|
||||
{
|
||||
if (cmbCompare.Text != string.Empty && cmbWith.Text != string.Empty)
|
||||
{
|
||||
List<string> compareList = BuildList(cmbCompare.Text);
|
||||
List<string> withList = BuildList(cmbWith.Text);
|
||||
RemoveMatches(withList, compareList);
|
||||
if (cbShowFirst.Checked) RemoveMultiples(withList);
|
||||
lbDifferences.Click -= new EventHandler(lbDifferences_Click);
|
||||
//lbDifferences.SelectedIndexChanged -= new EventHandler(lbDifferences_SelectedIndexChanged);
|
||||
lblDifferences.Text = withList.Count.ToString() + " Differences";
|
||||
lbDifferences.DataSource = withList;
|
||||
lbDifferences.Enabled = true;
|
||||
//lbDifferences.SelectedIndexChanged += new EventHandler(lbDifferences_SelectedIndexChanged);
|
||||
lbDifferences.Click += new EventHandler(lbDifferences_Click);
|
||||
}
|
||||
else
|
||||
{
|
||||
lbDifferences.DataSource = null;
|
||||
lbDifferences.Enabled = false;
|
||||
}
|
||||
}
|
||||
|
||||
void lbDifferences_Click(object sender, EventArgs e)
|
||||
{
|
||||
wb.Navigate("about:blank");
|
||||
Clipboard.Clear();
|
||||
if (lbDifferences.SelectedValue != null)
|
||||
{
|
||||
Clipboard.SetText(lbDifferences.SelectedValue.ToString());
|
||||
tmr.Enabled = true;
|
||||
}
|
||||
}
|
||||
Regex myRegExpMult = new Regex("'([^']*?)','([^']*)?',([0-9]*,'[^']*?)'");
|
||||
private void RemoveMultiples(List<string> withList)
|
||||
{
|
||||
List<string> multList = new List<string>();
|
||||
string last = string.Empty;
|
||||
foreach (string str in withList)
|
||||
{
|
||||
string found = myRegExpMult.Replace(str, "$1.$2");
|
||||
if (found == last) multList.Add(str);
|
||||
last = found;
|
||||
}
|
||||
foreach (string str in multList)
|
||||
withList.Remove(str);
|
||||
}
|
||||
void lbDifferences_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
wb.Navigate("about:blank");
|
||||
Clipboard.Clear();
|
||||
if (lbDifferences.SelectedValue != null)
|
||||
{
|
||||
Clipboard.SetText(lbDifferences.SelectedValue.ToString());
|
||||
tmr.Enabled = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void RemoveMatches(List<string> withList, List<string> compareList)
|
||||
{
|
||||
foreach (string str in compareList)
|
||||
if (withList.Contains(str))
|
||||
withList.Remove(str);
|
||||
}
|
||||
|
||||
private List<string> BuildList(string fileName)
|
||||
{
|
||||
List<string> myList = new List<string>();
|
||||
FileInfo myFile = new FileInfo(tbCompare.Text + "\\" + fileName);
|
||||
using (StreamReader sr = myFile.OpenText())
|
||||
{
|
||||
while (!sr.EndOfStream)
|
||||
{
|
||||
string str = sr.ReadLine();
|
||||
if(str != string.Empty)
|
||||
myList.Add(str);
|
||||
}
|
||||
sr.Close();
|
||||
}
|
||||
return myList;
|
||||
}
|
||||
private string CompareFolder
|
||||
{
|
||||
get
|
||||
{
|
||||
if (tbCompare.Text == string.Empty)
|
||||
return Environment.GetFolderPath(Environment.SpecialFolder.MyComputer);
|
||||
return tbCompare.Text;
|
||||
}
|
||||
}
|
||||
private string PdfFolder
|
||||
{
|
||||
get
|
||||
{
|
||||
if (tbPdf.Text == string.Empty)
|
||||
return Environment.GetFolderPath(Environment.SpecialFolder.MyComputer);
|
||||
return tbPdf.Text;
|
||||
}
|
||||
}
|
||||
private void btnCompare_Click(object sender, EventArgs e)
|
||||
{
|
||||
fbd.SelectedPath = CompareFolder;
|
||||
if (fbd.ShowDialog() == DialogResult.OK)
|
||||
tbCompare.Text = fbd.SelectedPath;
|
||||
}
|
||||
private void btnPdf_Click(object sender, EventArgs e)
|
||||
{
|
||||
fbd.SelectedPath = PdfFolder;
|
||||
if (fbd.ShowDialog() == DialogResult.OK)
|
||||
tbPdf.Text = fbd.SelectedPath;
|
||||
}
|
||||
private void frmFindDifferences_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
Properties.Settings.Default.Save();
|
||||
}
|
||||
Regex myRegExp = new Regex("'([^']*?)','[^']*?',([0-9]*,'[^']*?)'");
|
||||
private void tmr_Tick(object sender, EventArgs e)
|
||||
{
|
||||
tmr.Enabled = false;
|
||||
string url = myRegExp.Replace(lbDifferences.SelectedValue.ToString(), tbPdf.Text + @"\$1.pdf#search=""$2""");
|
||||
wb.Navigate(url);
|
||||
}
|
||||
private void btnClosePdf_Click(object sender, EventArgs e)
|
||||
{
|
||||
wb.Navigate("about:blank");
|
||||
}
|
||||
private void btnRefresh_Click(object sender, EventArgs e)
|
||||
{
|
||||
int indCompare = cmbCompare.SelectedIndex;
|
||||
int indWith = cmbWith.SelectedIndex;
|
||||
LoadComboBoxes();
|
||||
cmbCompare.SelectedIndex = indCompare;
|
||||
cmbWith.SelectedIndex = indWith;
|
||||
}
|
||||
private void splitContainer1_SplitterMoved(object sender, SplitterEventArgs e)
|
||||
{
|
||||
Properties.Settings.Default.SplitterDistance = splitContainer1.SplitterDistance;
|
||||
}
|
||||
|
||||
private void btnCopy_Click(object sender, EventArgs e)
|
||||
{
|
||||
Clipboard.Clear();
|
||||
StringBuilder sb = new StringBuilder();
|
||||
foreach(string str in lbDifferences.DataSource as List<string>)
|
||||
{
|
||||
sb.Append(str + "\r\n");
|
||||
}
|
||||
Clipboard.SetText(sb.ToString());
|
||||
}
|
||||
}
|
||||
}
|
126
PROMS/PDFCompare/FindDifferences/frmFindDifferences.resx
Normal file
126
PROMS/PDFCompare/FindDifferences/frmFindDifferences.resx
Normal file
@@ -0,0 +1,126 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="fbd.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="tmr.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>87, 17</value>
|
||||
</metadata>
|
||||
</root>
|
82
PROMS/PDFCompare/MergePDFs/MergePDFs.csproj
Normal file
82
PROMS/PDFCompare/MergePDFs/MergePDFs.csproj
Normal file
@@ -0,0 +1,82 @@
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{EDE182A0-5D65-48E4-909D-04902B462AF8}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>MergePDFs</RootNamespace>
|
||||
<AssemblyName>MergePDFs</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="itextsharp, Version=4.1.2.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\..\..\..\Development\Proms3rdPartyLibraries\itextsharp.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="frmMergePDFs.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmMergePDFs.Designer.cs">
|
||||
<DependentUpon>frmMergePDFs.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="frmMergePDFs.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>frmMergePDFs.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
20
PROMS/PDFCompare/MergePDFs/Program.cs
Normal file
20
PROMS/PDFCompare/MergePDFs/Program.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace MergePDFs
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run(new frmMergePDFs());
|
||||
}
|
||||
}
|
||||
}
|
33
PROMS/PDFCompare/MergePDFs/Properties/AssemblyInfo.cs
Normal file
33
PROMS/PDFCompare/MergePDFs/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
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("MergePDFs")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("MergePDFs")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2010")]
|
||||
[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("ce6e320c-6ea1-4c2a-acb8-51868a35a484")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
71
PROMS/PDFCompare/MergePDFs/Properties/Resources.Designer.cs
generated
Normal file
71
PROMS/PDFCompare/MergePDFs/Properties/Resources.Designer.cs
generated
Normal file
@@ -0,0 +1,71 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.4200
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MergePDFs.Properties
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// 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", "2.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()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </summary>
|
||||
[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("MergePDFs.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture
|
||||
{
|
||||
get
|
||||
{
|
||||
return resourceCulture;
|
||||
}
|
||||
set
|
||||
{
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
117
PROMS/PDFCompare/MergePDFs/Properties/Resources.resx
Normal file
117
PROMS/PDFCompare/MergePDFs/Properties/Resources.resx
Normal file
@@ -0,0 +1,117 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
30
PROMS/PDFCompare/MergePDFs/Properties/Settings.Designer.cs
generated
Normal file
30
PROMS/PDFCompare/MergePDFs/Properties/Settings.Designer.cs
generated
Normal file
@@ -0,0 +1,30 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.4200
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MergePDFs.Properties
|
||||
{
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
7
PROMS/PDFCompare/MergePDFs/Properties/Settings.settings
Normal file
7
PROMS/PDFCompare/MergePDFs/Properties/Settings.settings
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
123
PROMS/PDFCompare/MergePDFs/frmMergePDFs.Designer.cs
generated
Normal file
123
PROMS/PDFCompare/MergePDFs/frmMergePDFs.Designer.cs
generated
Normal file
@@ -0,0 +1,123 @@
|
||||
namespace MergePDFs
|
||||
{
|
||||
partial class frmMergePDFs
|
||||
{
|
||||
/// <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()
|
||||
{
|
||||
this.tbFolder = new System.Windows.Forms.TextBox();
|
||||
this.btnFolder = new System.Windows.Forms.Button();
|
||||
this.btnMerge = new System.Windows.Forms.Button();
|
||||
this.fbd = new System.Windows.Forms.FolderBrowserDialog();
|
||||
this.sfd = new System.Windows.Forms.SaveFileDialog();
|
||||
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
||||
this.tsslStatus = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.statusStrip1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// tbFolder
|
||||
//
|
||||
this.tbFolder.Location = new System.Drawing.Point(140, 15);
|
||||
this.tbFolder.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.tbFolder.Name = "tbFolder";
|
||||
this.tbFolder.Size = new System.Drawing.Size(729, 22);
|
||||
this.tbFolder.TabIndex = 0;
|
||||
this.tbFolder.Text = "c:\\TEMP";
|
||||
//
|
||||
// btnFolder
|
||||
//
|
||||
this.btnFolder.Location = new System.Drawing.Point(16, 12);
|
||||
this.btnFolder.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.btnFolder.Name = "btnFolder";
|
||||
this.btnFolder.Size = new System.Drawing.Size(100, 28);
|
||||
this.btnFolder.TabIndex = 1;
|
||||
this.btnFolder.Text = "Folder";
|
||||
this.btnFolder.UseVisualStyleBackColor = true;
|
||||
this.btnFolder.Click += new System.EventHandler(this.btnFolder_Click);
|
||||
//
|
||||
// btnMerge
|
||||
//
|
||||
this.btnMerge.Location = new System.Drawing.Point(377, 50);
|
||||
this.btnMerge.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.btnMerge.Name = "btnMerge";
|
||||
this.btnMerge.Size = new System.Drawing.Size(116, 28);
|
||||
this.btnMerge.TabIndex = 2;
|
||||
this.btnMerge.Text = "Merge";
|
||||
this.btnMerge.UseVisualStyleBackColor = true;
|
||||
this.btnMerge.Click += new System.EventHandler(this.btnMerge_Click);
|
||||
//
|
||||
// sfd
|
||||
//
|
||||
this.sfd.FileName = "merge.pdf";
|
||||
this.sfd.Filter = "pdf Files|*.pdf";
|
||||
//
|
||||
// statusStrip1
|
||||
//
|
||||
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.tsslStatus});
|
||||
this.statusStrip1.Location = new System.Drawing.Point(0, 89);
|
||||
this.statusStrip1.Name = "statusStrip1";
|
||||
this.statusStrip1.Size = new System.Drawing.Size(887, 25);
|
||||
this.statusStrip1.TabIndex = 3;
|
||||
this.statusStrip1.Text = "statusStrip1";
|
||||
//
|
||||
// tsslStatus
|
||||
//
|
||||
this.tsslStatus.Name = "tsslStatus";
|
||||
this.tsslStatus.Size = new System.Drawing.Size(50, 20);
|
||||
this.tsslStatus.Text = "Ready";
|
||||
//
|
||||
// frmMergePDFs
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(887, 114);
|
||||
this.Controls.Add(this.statusStrip1);
|
||||
this.Controls.Add(this.btnMerge);
|
||||
this.Controls.Add(this.btnFolder);
|
||||
this.Controls.Add(this.tbFolder);
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.Name = "frmMergePDFs";
|
||||
this.Text = "MergePDFs";
|
||||
this.statusStrip1.ResumeLayout(false);
|
||||
this.statusStrip1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.TextBox tbFolder;
|
||||
private System.Windows.Forms.Button btnFolder;
|
||||
private System.Windows.Forms.Button btnMerge;
|
||||
private System.Windows.Forms.FolderBrowserDialog fbd;
|
||||
private System.Windows.Forms.SaveFileDialog sfd;
|
||||
private System.Windows.Forms.StatusStrip statusStrip1;
|
||||
private System.Windows.Forms.ToolStripStatusLabel tsslStatus;
|
||||
}
|
||||
}
|
||||
|
72
PROMS/PDFCompare/MergePDFs/frmMergePDFs.cs
Normal file
72
PROMS/PDFCompare/MergePDFs/frmMergePDFs.cs
Normal file
@@ -0,0 +1,72 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.IO;
|
||||
using iTextSharp.text.pdf;
|
||||
using iTextSharp.text;
|
||||
|
||||
namespace MergePDFs
|
||||
{
|
||||
public partial class frmMergePDFs : Form
|
||||
{
|
||||
public string Status
|
||||
{
|
||||
get { return tsslStatus.Text; }
|
||||
set { tsslStatus.Text = value; Application.DoEvents(); }
|
||||
}
|
||||
public frmMergePDFs()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void btnFolder_Click(object sender, EventArgs e)
|
||||
{
|
||||
fbd.SelectedPath = tbFolder.Text;
|
||||
if (fbd.ShowDialog() == DialogResult.OK)
|
||||
tbFolder.Text = fbd.SelectedPath;
|
||||
}
|
||||
private void btnMerge_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (sfd.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
Document doc = new Document();
|
||||
PdfWriter writer = PdfWriter.GetInstance(doc, new FileStream(sfd.FileName, FileMode.Create));
|
||||
//writer.PageEvent = new MyPageHelper("Merge2", new Color(System.Drawing.Color.CornflowerBlue));
|
||||
doc.Open();
|
||||
PdfContentByte canvas = writer.DirectContent;
|
||||
DirectoryInfo pdfFolder = new DirectoryInfo(tbFolder.Text);
|
||||
FileInfo[] myFiles = pdfFolder.GetFiles("*.pdf");
|
||||
foreach (FileInfo myFile in myFiles)
|
||||
{
|
||||
PdfReader reader = new PdfReader(myFile.FullName);
|
||||
int numPages = reader.NumberOfPages;
|
||||
int currentPageNumber = 0;
|
||||
PdfOutline outline = null;
|
||||
do
|
||||
{
|
||||
currentPageNumber += 1;
|
||||
Status = string.Format("Processing {0} page {1}", myFile.Name, currentPageNumber);
|
||||
doc.SetPageSize(PageSize.LETTER);
|
||||
doc.NewPage();
|
||||
PdfImportedPage page = writer.GetImportedPage(reader, currentPageNumber);
|
||||
PdfDestination dest = new PdfDestination(PdfDestination.FIT);
|
||||
if (currentPageNumber == 1)
|
||||
outline = new PdfOutline(canvas.RootOutline, dest, myFile.Name, false);
|
||||
else
|
||||
new PdfOutline(outline, dest, "Page " + currentPageNumber.ToString(), false);
|
||||
canvas.AddTemplate(page, 0, 0);
|
||||
//DrawOutlines(canvas);
|
||||
} while (currentPageNumber < numPages);
|
||||
}
|
||||
doc.Close();
|
||||
if (MessageBox.Show("Do you want to open the merged file?", "Merging Complete", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
|
||||
System.Diagnostics.Process.Start(sfd.FileName);
|
||||
}
|
||||
Status = "Processing Complete";
|
||||
}
|
||||
}
|
||||
}
|
129
PROMS/PDFCompare/MergePDFs/frmMergePDFs.resx
Normal file
129
PROMS/PDFCompare/MergePDFs/frmMergePDFs.resx
Normal file
@@ -0,0 +1,129 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="fbd.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="sfd.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>186, 17</value>
|
||||
</metadata>
|
||||
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>259, 17</value>
|
||||
</metadata>
|
||||
</root>
|
34
PROMS/PDFCompare/PDFCompare.sln
Normal file
34
PROMS/PDFCompare/PDFCompare.sln
Normal file
@@ -0,0 +1,34 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 9.00
|
||||
# Visual Studio 2005
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FindDifferences", "FindDifferences\FindDifferences.csproj", "{82A5D621-315D-4059-8F01-245349D52438}"
|
||||
ProjectSection(WebsiteProperties) = preProject
|
||||
Debug.AspNetCompiler.Debug = "True"
|
||||
Release.AspNetCompiler.Debug = "False"
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MergePDFs", "MergePDFs\MergePDFs.csproj", "{EDE182A0-5D65-48E4-909D-04902B462AF8}"
|
||||
ProjectSection(WebsiteProperties) = preProject
|
||||
Debug.AspNetCompiler.Debug = "True"
|
||||
Release.AspNetCompiler.Debug = "False"
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{82A5D621-315D-4059-8F01-245349D52438}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{82A5D621-315D-4059-8F01-245349D52438}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{82A5D621-315D-4059-8F01-245349D52438}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{82A5D621-315D-4059-8F01-245349D52438}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{EDE182A0-5D65-48E4-909D-04902B462AF8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{EDE182A0-5D65-48E4-909D-04902B462AF8}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{EDE182A0-5D65-48E4-909D-04902B462AF8}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{EDE182A0-5D65-48E4-909D-04902B462AF8}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
Reference in New Issue
Block a user