diff --git a/FormFields/FormFillingSample/App.config b/FormFields/FormFillingSample/App.config new file mode 100644 index 0000000..193aecc --- /dev/null +++ b/FormFields/FormFillingSample/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/FormFields/FormFillingSample/App.xaml b/FormFields/FormFillingSample/App.xaml new file mode 100644 index 0000000..e689a46 --- /dev/null +++ b/FormFields/FormFillingSample/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/FormFields/FormFillingSample/App.xaml.cs b/FormFields/FormFillingSample/App.xaml.cs new file mode 100644 index 0000000..825c40c --- /dev/null +++ b/FormFields/FormFillingSample/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace FormFillingSample +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/FormFields/FormFillingSample/Data/FormFillingDocument.pdf b/FormFields/FormFillingSample/Data/FormFillingDocument.pdf new file mode 100644 index 0000000..a3346fd Binary files /dev/null and b/FormFields/FormFillingSample/Data/FormFillingDocument.pdf differ diff --git a/FormFields/FormFillingSample/FormFillingSample.csproj b/FormFields/FormFillingSample/FormFillingSample.csproj new file mode 100644 index 0000000..85e3ffe --- /dev/null +++ b/FormFields/FormFillingSample/FormFillingSample.csproj @@ -0,0 +1,102 @@ + + + + + Debug + AnyCPU + {2E199F2C-5FE2-4FAC-AD4B-E4CA63035676} + WinExe + FormFillingSample + FormFillingSample + v4.8 + 512 + {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + 4 + true + true + + + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + 4.0 + + + + + + + + MSBuild:Compile + Designer + + + MSBuild:Compile + Designer + + + App.xaml + Code + + + MainWindow.xaml + Code + + + + + Code + + + True + True + Resources.resx + + + True + Settings.settings + True + + + ResXFileCodeGenerator + Resources.Designer.cs + + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + + + + \ No newline at end of file diff --git a/FormFields/FormFillingSample/FormFillingSample.sln b/FormFields/FormFillingSample/FormFillingSample.sln new file mode 100644 index 0000000..941dc0a --- /dev/null +++ b/FormFields/FormFillingSample/FormFillingSample.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.14.36119.2 d17.14 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FormFillingSample", "FormFillingSample.csproj", "{2E199F2C-5FE2-4FAC-AD4B-E4CA63035676}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2E199F2C-5FE2-4FAC-AD4B-E4CA63035676}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2E199F2C-5FE2-4FAC-AD4B-E4CA63035676}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2E199F2C-5FE2-4FAC-AD4B-E4CA63035676}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2E199F2C-5FE2-4FAC-AD4B-E4CA63035676}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {FA42AD08-0C94-48B6-B2B2-965AC32C07EA} + EndGlobalSection +EndGlobal diff --git a/FormFields/FormFillingSample/FormFillingSample_NET.csproj b/FormFields/FormFillingSample/FormFillingSample_NET.csproj new file mode 100644 index 0000000..cbe86a2 --- /dev/null +++ b/FormFields/FormFillingSample/FormFillingSample_NET.csproj @@ -0,0 +1,18 @@ + + + + WinExe + net8.0-windows + enable + enable + true + false + false + false + + + + + + + diff --git a/FormFields/FormFillingSample/FormFillingSample_NET.sln b/FormFields/FormFillingSample/FormFillingSample_NET.sln new file mode 100644 index 0000000..db01f39 --- /dev/null +++ b/FormFields/FormFillingSample/FormFillingSample_NET.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.14.36119.2 d17.14 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FormFillingSample_NET", "FormFillingSample_NET.csproj", "{FCA21A2D-FA7B-45F5-A9D3-1253494280EF}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {FCA21A2D-FA7B-45F5-A9D3-1253494280EF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FCA21A2D-FA7B-45F5-A9D3-1253494280EF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FCA21A2D-FA7B-45F5-A9D3-1253494280EF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FCA21A2D-FA7B-45F5-A9D3-1253494280EF}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {63E88937-E742-4C85-A3FA-9F75B3556250} + EndGlobalSection +EndGlobal diff --git a/FormFields/FormFillingSample/MainWindow.xaml b/FormFields/FormFillingSample/MainWindow.xaml new file mode 100644 index 0000000..8974b56 --- /dev/null +++ b/FormFields/FormFillingSample/MainWindow.xaml @@ -0,0 +1,12 @@ + + + + + diff --git a/FormFields/FormFillingSample/MainWindow.xaml.cs b/FormFields/FormFillingSample/MainWindow.xaml.cs new file mode 100644 index 0000000..d13f897 --- /dev/null +++ b/FormFields/FormFillingSample/MainWindow.xaml.cs @@ -0,0 +1,20 @@ +using System.Windows; + +namespace FormFillingSample +{ + /// + /// Interaction logic for MainWindow.xaml + /// + public partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); +#if NETCOREAPP + pdfViewer.Load("../../../Data/FormFillingDocument.pdf"); +#else + pdfViewer.Load("../../Data/FormFillingDocument.pdf"); +#endif + } + } +} diff --git a/FormFields/FormFillingSample/Properties/AssemblyInfo.cs b/FormFields/FormFillingSample/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..194e011 --- /dev/null +++ b/FormFields/FormFillingSample/Properties/AssemblyInfo.cs @@ -0,0 +1,49 @@ +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Windows; + +// 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: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("FormFillingSample")] +[assembly: AssemblyCopyright("Copyright © 2025")] +[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)] + +//In order to begin building localizable applications, set +//CultureYouAreCodingWith in your .csproj file +//inside a . For example, if you are using US english +//in your source files, set the to en-US. Then uncomment +//the NeutralResourceLanguage attribute below. Update the "en-US" in +//the line below to match the UICulture setting in the project file. + +//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] + + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] + + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// diff --git a/FormFields/FormFillingSample/Properties/Resources.Designer.cs b/FormFields/FormFillingSample/Properties/Resources.Designer.cs new file mode 100644 index 0000000..b90e3fb --- /dev/null +++ b/FormFields/FormFillingSample/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// 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 FormFillingSample.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("FormFillingSample.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/FormFields/FormFillingSample/Properties/Resources.resx b/FormFields/FormFillingSample/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/FormFields/FormFillingSample/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/FormFields/FormFillingSample/Properties/Settings.Designer.cs b/FormFields/FormFillingSample/Properties/Settings.Designer.cs new file mode 100644 index 0000000..4353640 --- /dev/null +++ b/FormFields/FormFillingSample/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// 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 FormFillingSample.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/FormFields/FormFillingSample/Properties/Settings.settings b/FormFields/FormFillingSample/Properties/Settings.settings new file mode 100644 index 0000000..033d7a5 --- /dev/null +++ b/FormFields/FormFillingSample/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/FormFields/FormFillingSample/packages.config b/FormFields/FormFillingSample/packages.config new file mode 100644 index 0000000..a3a112d --- /dev/null +++ b/FormFields/FormFillingSample/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Signature/HandwrittenSignature/App.config b/Signature/HandwrittenSignature/App.config new file mode 100644 index 0000000..193aecc --- /dev/null +++ b/Signature/HandwrittenSignature/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Signature/HandwrittenSignature/App.xaml b/Signature/HandwrittenSignature/App.xaml new file mode 100644 index 0000000..e7ba452 --- /dev/null +++ b/Signature/HandwrittenSignature/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/Signature/HandwrittenSignature/App.xaml.cs b/Signature/HandwrittenSignature/App.xaml.cs new file mode 100644 index 0000000..374e8d6 --- /dev/null +++ b/Signature/HandwrittenSignature/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace HandwrittenSignature +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/Signature/HandwrittenSignature/HandwrittenSignature.csproj b/Signature/HandwrittenSignature/HandwrittenSignature.csproj new file mode 100644 index 0000000..57dc3f8 --- /dev/null +++ b/Signature/HandwrittenSignature/HandwrittenSignature.csproj @@ -0,0 +1,102 @@ + + + + + Debug + AnyCPU + {5C498BBA-9D8F-485B-871C-2ADF912F92A9} + WinExe + HandwrittenSignature + HandwrittenSignature + v4.8 + 512 + {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + 4 + true + true + + + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + 4.0 + + + + + + + + MSBuild:Compile + Designer + + + MSBuild:Compile + Designer + + + App.xaml + Code + + + MainWindow.xaml + Code + + + + + Code + + + True + True + Resources.resx + + + True + Settings.settings + True + + + ResXFileCodeGenerator + Resources.Designer.cs + + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + + + + \ No newline at end of file diff --git a/Signature/HandwrittenSignature/HandwrittenSignature.sln b/Signature/HandwrittenSignature/HandwrittenSignature.sln new file mode 100644 index 0000000..6f9eff2 --- /dev/null +++ b/Signature/HandwrittenSignature/HandwrittenSignature.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.14.36119.2 d17.14 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HandwrittenSignature", "HandwrittenSignature.csproj", "{5C498BBA-9D8F-485B-871C-2ADF912F92A9}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {5C498BBA-9D8F-485B-871C-2ADF912F92A9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5C498BBA-9D8F-485B-871C-2ADF912F92A9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5C498BBA-9D8F-485B-871C-2ADF912F92A9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5C498BBA-9D8F-485B-871C-2ADF912F92A9}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {B59B3DC0-F254-4F50-ADAA-B158916BD438} + EndGlobalSection +EndGlobal diff --git a/Signature/HandwrittenSignature/HandwrittenSignature_NET.csproj b/Signature/HandwrittenSignature/HandwrittenSignature_NET.csproj new file mode 100644 index 0000000..cbe86a2 --- /dev/null +++ b/Signature/HandwrittenSignature/HandwrittenSignature_NET.csproj @@ -0,0 +1,18 @@ + + + + WinExe + net8.0-windows + enable + enable + true + false + false + false + + + + + + + diff --git a/Signature/HandwrittenSignature/HandwrittenSignature_NET.sln b/Signature/HandwrittenSignature/HandwrittenSignature_NET.sln new file mode 100644 index 0000000..4fddcfe --- /dev/null +++ b/Signature/HandwrittenSignature/HandwrittenSignature_NET.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.14.36119.2 d17.14 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HandwrittenSignature_NET", "HandwrittenSignature_NET.csproj", "{FB946F51-D994-42F8-AE91-93EB2A54C83E}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {FB946F51-D994-42F8-AE91-93EB2A54C83E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FB946F51-D994-42F8-AE91-93EB2A54C83E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FB946F51-D994-42F8-AE91-93EB2A54C83E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FB946F51-D994-42F8-AE91-93EB2A54C83E}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {978F2BCC-6F85-4FDB-9A38-B79301BA47B7} + EndGlobalSection +EndGlobal diff --git a/Signature/HandwrittenSignature/MainWindow.xaml b/Signature/HandwrittenSignature/MainWindow.xaml new file mode 100644 index 0000000..667a4fd --- /dev/null +++ b/Signature/HandwrittenSignature/MainWindow.xaml @@ -0,0 +1,19 @@ + + + + + + + +