Skip to content

Commit 4e1ede8

Browse files
committed
898741 - Added sample to validate signature form field in hosted winforms app
1 parent 1051165 commit 4e1ede8

19 files changed

+882
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<startup>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
5+
</startup>
6+
</configuration>
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{1E372C90-E825-4BEA-8E5E-C06248940355}</ProjectGuid>
8+
<OutputType>WinExe</OutputType>
9+
<RootNamespace>CheckPDFSignatureformFieldSigned</RootNamespace>
10+
<AssemblyName>CheckPDFSignatureformFieldSigned</AssemblyName>
11+
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
12+
<FileAlignment>512</FileAlignment>
13+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
14+
<Deterministic>true</Deterministic>
15+
<TargetFrameworkProfile />
16+
</PropertyGroup>
17+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
18+
<PlatformTarget>AnyCPU</PlatformTarget>
19+
<DebugSymbols>true</DebugSymbols>
20+
<DebugType>full</DebugType>
21+
<Optimize>false</Optimize>
22+
<OutputPath>bin\Debug\</OutputPath>
23+
<DefineConstants>DEBUG;TRACE</DefineConstants>
24+
<ErrorReport>prompt</ErrorReport>
25+
<WarningLevel>4</WarningLevel>
26+
</PropertyGroup>
27+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
28+
<PlatformTarget>AnyCPU</PlatformTarget>
29+
<DebugType>pdbonly</DebugType>
30+
<Optimize>true</Optimize>
31+
<OutputPath>bin\Release\</OutputPath>
32+
<DefineConstants>TRACE</DefineConstants>
33+
<ErrorReport>prompt</ErrorReport>
34+
<WarningLevel>4</WarningLevel>
35+
</PropertyGroup>
36+
<ItemGroup>
37+
<Reference Include="PresentationCore" />
38+
<Reference Include="PresentationFramework" />
39+
<PackageReference Include="Syncfusion.PdfViewer.WPF" Version="*" />
40+
<Reference Include="System" />
41+
<Reference Include="System.Core" />
42+
<Reference Include="System.Xaml" />
43+
<Reference Include="System.Xml.Linq" />
44+
<Reference Include="System.Data.DataSetExtensions" />
45+
<Reference Include="Microsoft.CSharp" />
46+
<Reference Include="System.Data" />
47+
<Reference Include="System.Deployment" />
48+
<Reference Include="System.Drawing" />
49+
<Reference Include="System.Net.Http" />
50+
<Reference Include="System.Windows.Forms" />
51+
<Reference Include="System.Xml" />
52+
<Reference Include="WindowsBase" />
53+
<Reference Include="WindowsFormsIntegration" />
54+
</ItemGroup>
55+
<ItemGroup>
56+
<Compile Include="Form1.cs">
57+
<SubType>Form</SubType>
58+
</Compile>
59+
<Compile Include="Form1.Designer.cs">
60+
<DependentUpon>Form1.cs</DependentUpon>
61+
</Compile>
62+
<Compile Include="Program.cs" />
63+
<Compile Include="Properties\AssemblyInfo.cs" />
64+
<Compile Include="WPFuserControl.xaml.cs">
65+
<DependentUpon>WPFuserControl.xaml</DependentUpon>
66+
</Compile>
67+
<EmbeddedResource Include="Form1.resx">
68+
<DependentUpon>Form1.cs</DependentUpon>
69+
</EmbeddedResource>
70+
<EmbeddedResource Include="Properties\Resources.resx">
71+
<Generator>ResXFileCodeGenerator</Generator>
72+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
73+
<SubType>Designer</SubType>
74+
</EmbeddedResource>
75+
<Compile Include="Properties\Resources.Designer.cs">
76+
<AutoGen>True</AutoGen>
77+
<DependentUpon>Resources.resx</DependentUpon>
78+
<DesignTime>True</DesignTime>
79+
</Compile>
80+
<None Include="packages.config" />
81+
<None Include="Properties\Settings.settings">
82+
<Generator>SettingsSingleFileGenerator</Generator>
83+
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
84+
</None>
85+
<Compile Include="Properties\Settings.Designer.cs">
86+
<AutoGen>True</AutoGen>
87+
<DependentUpon>Settings.settings</DependentUpon>
88+
<DesignTimeSharedInput>True</DesignTimeSharedInput>
89+
</Compile>
90+
</ItemGroup>
91+
<ItemGroup>
92+
<None Include="App.config" />
93+
</ItemGroup>
94+
<ItemGroup>
95+
<Page Include="WPFuserControl.xaml">
96+
<SubType>Designer</SubType>
97+
<Generator>MSBuild:Compile</Generator>
98+
</Page>
99+
</ItemGroup>
100+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
101+
</Project>
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.12.35707.178 d17.12
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CheckPDFSignatureformFieldSigned", "CheckPDFSignatureformFieldSigned.csproj", "{1E372C90-E825-4BEA-8E5E-C06248940355}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{1E372C90-E825-4BEA-8E5E-C06248940355}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{1E372C90-E825-4BEA-8E5E-C06248940355}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{1E372C90-E825-4BEA-8E5E-C06248940355}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{1E372C90-E825-4BEA-8E5E-C06248940355}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
EndGlobal
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>WinExe</OutputType>
5+
<TargetFramework>net8.0-windows</TargetFramework>
6+
<Nullable>enable</Nullable>
7+
<UseWPF>true</UseWPF>
8+
<UseWindowsForms>true</UseWindowsForms>
9+
<ImplicitUsings>enable</ImplicitUsings>
10+
</PropertyGroup>
11+
12+
<ItemGroup>
13+
<PackageReference Include="Syncfusion.PdfViewer.WPF" Version="*" />
14+
</ItemGroup>
15+
16+
</Project>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.9.34622.214
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CheckPDFSignatureformFieldSigned_NET", "CheckPDFSignatureformFieldSigned_NET.csproj", "{0E7C8E61-5F9D-4317-850E-F841C21D0171}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{0E7C8E61-5F9D-4317-850E-F841C21D0171}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{0E7C8E61-5F9D-4317-850E-F841C21D0171}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{0E7C8E61-5F9D-4317-850E-F841C21D0171}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{0E7C8E61-5F9D-4317-850E-F841C21D0171}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {6EBA9397-6151-47C2-BF88-D860FE2C4795}
24+
EndGlobalSection
25+
EndGlobal
Binary file not shown.
Binary file not shown.

How-to/Validate-Signature-Form-Fields/CheckPDFSignatureformFieldSigned/Form1.Designer.cs

Lines changed: 105 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)