Skip to content

Commit b34d6f9

Browse files
committed
V1.13.0 - Update v1.13.0
1 parent 2914b39 commit b34d6f9

File tree

994 files changed

+162710
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

994 files changed

+162710
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.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>{134CCE10-A4C7-4632-BDF9-631241EA6FB9}</ProjectGuid>
8+
<OutputType>WinExe</OutputType>
9+
<RootNamespace>AnnotationViewControl</RootNamespace>
10+
<AssemblyName>Annotations_ComPDFKit</AssemblyName>
11+
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
12+
<FileAlignment>512</FileAlignment>
13+
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
14+
<WarningLevel>4</WarningLevel>
15+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
16+
<NuGetPackageImportStamp>
17+
</NuGetPackageImportStamp>
18+
</PropertyGroup>
19+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
20+
<PlatformTarget>AnyCPU</PlatformTarget>
21+
<DebugSymbols>true</DebugSymbols>
22+
<DebugType>full</DebugType>
23+
<Optimize>false</Optimize>
24+
<OutputPath>bin\Debug\</OutputPath>
25+
<DefineConstants>DEBUG;TRACE</DefineConstants>
26+
<ErrorReport>prompt</ErrorReport>
27+
<WarningLevel>4</WarningLevel>
28+
<Prefer32bit>false</Prefer32bit>
29+
</PropertyGroup>
30+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
31+
<PlatformTarget>AnyCPU</PlatformTarget>
32+
<DebugType>pdbonly</DebugType>
33+
<Optimize>true</Optimize>
34+
<OutputPath>bin\Release\</OutputPath>
35+
<DefineConstants>TRACE</DefineConstants>
36+
<ErrorReport>prompt</ErrorReport>
37+
<WarningLevel>4</WarningLevel>
38+
<Prefer32bit>false</Prefer32bit>
39+
</PropertyGroup>
40+
<PropertyGroup>
41+
<ApplicationIcon>ComPDFKit_Logo.ico</ApplicationIcon>
42+
</PropertyGroup>
43+
<ItemGroup>
44+
<Reference Include="ComPDFKit.Desk, Version=1.13.0.0, Culture=neutral, processorArchitecture=MSIL">
45+
<HintPath>..\packages\ComPDFKit.NetFramework.1.13.0\lib\ComPDFKit.Desk.dll</HintPath>
46+
</Reference>
47+
<Reference Include="ComPDFKit.Viewer, Version=1.13.0.0, Culture=neutral, processorArchitecture=MSIL">
48+
<HintPath>..\packages\ComPDFKit.NetFramework.1.13.0\lib\ComPDFKit.Viewer.dll</HintPath>
49+
</Reference>
50+
<Reference Include="PresentationFramework.Aero2, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
51+
<HintPath>..\packages\PresentationFramework.Aero2.1.0.1\lib\PresentationFramework.Aero2.dll</HintPath>
52+
</Reference>
53+
<Reference Include="System" />
54+
<Reference Include="System.Core" />
55+
<Reference Include="System.Data" />
56+
<Reference Include="System.Drawing" />
57+
<Reference Include="System.Windows.Forms" />
58+
<Reference Include="System.Xml" />
59+
<Reference Include="System.Xaml">
60+
<RequiredTargetFramework>4.0</RequiredTargetFramework>
61+
</Reference>
62+
<Reference Include="WindowsBase" />
63+
<Reference Include="PresentationCore" />
64+
<Reference Include="PresentationFramework" />
65+
</ItemGroup>
66+
<ItemGroup>
67+
<ApplicationDefinition Include="App.xaml">
68+
<Generator>MSBuild:Compile</Generator>
69+
<SubType>Designer</SubType>
70+
</ApplicationDefinition>
71+
<Page Include="MainWindow.xaml">
72+
<Generator>MSBuild:Compile</Generator>
73+
<SubType>Designer</SubType>
74+
</Page>
75+
<Compile Include="App.xaml.cs">
76+
<DependentUpon>App.xaml</DependentUpon>
77+
<SubType>Code</SubType>
78+
</Compile>
79+
<Compile Include="MainWindow.xaml.cs">
80+
<DependentUpon>MainWindow.xaml</DependentUpon>
81+
<SubType>Code</SubType>
82+
</Compile>
83+
</ItemGroup>
84+
<ItemGroup>
85+
<Compile Include="Properties\AssemblyInfo.cs">
86+
<SubType>Code</SubType>
87+
</Compile>
88+
<Compile Include="Properties\Resources.Designer.cs">
89+
<AutoGen>True</AutoGen>
90+
<DesignTime>True</DesignTime>
91+
<DependentUpon>Resources.resx</DependentUpon>
92+
</Compile>
93+
<EmbeddedResource Include="Properties\Resources.resx">
94+
<Generator>ResXFileCodeGenerator</Generator>
95+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
96+
</EmbeddedResource>
97+
</ItemGroup>
98+
<ItemGroup>
99+
<None Include="App.config" />
100+
<None Include="packages.config" />
101+
</ItemGroup>
102+
<ItemGroup>
103+
<ProjectReference Include="..\Compdfkit_Tools\Compdfkit_Tools.csproj">
104+
<Project>{9363bcb1-3a67-446a-8093-5708b86bf418}</Project>
105+
<Name>Compdfkit_Tools</Name>
106+
</ProjectReference>
107+
</ItemGroup>
108+
<ItemGroup>
109+
<Resource Include="ComPDFKit_Logo.ico" />
110+
</ItemGroup>
111+
<ItemGroup>
112+
<None Include="..\license_key_windows.xml">
113+
<Link>license_key_windows.xml</Link>
114+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
115+
</None>
116+
<Content Include="..\TestFile\ComPDFKit_Annotations_Sample_File.pdf">
117+
<Link>ComPDFKit_Annotations_Sample_File.pdf</Link>
118+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
119+
</Content>
120+
</ItemGroup>
121+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
122+
<Import Project="..\packages\ComPDFKit.NetFramework.1.13.0\build\ComPDFKit.NetFramework.targets" Condition="Exists('..\packages\ComPDFKit.NetFramework.1.13.0\build\ComPDFKit.NetFramework.targets')" />
123+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
124+
<PropertyGroup>
125+
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
126+
</PropertyGroup>
127+
<Error Condition="!Exists('..\packages\ComPDFKit.NetFramework.1.13.0\build\ComPDFKit.NetFramework.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\ComPDFKit.NetFramework.1.13.0\build\ComPDFKit.NetFramework.targets'))" />
128+
</Target>
129+
</Project>
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.6.1" />
5+
</startup>
6+
</configuration>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Application x:Class="AnnotationViewControl.App"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:local="clr-namespace:AnnotationViewControl"
5+
StartupUri="MainWindow.xaml">
6+
<Application.Resources>
7+
8+
</Application.Resources>
9+
</Application>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
using System.Globalization;
2+
using ComPDFKit.NativeMethod;
3+
using Compdfkit_Tools.Helper;
4+
using System.Reflection;
5+
using System.Threading;
6+
using System.Windows;
7+
8+
9+
namespace AnnotationViewControl
10+
{
11+
/// <summary>
12+
/// Interaction logic for App.xaml
13+
/// </summary>
14+
public partial class App: Application
15+
{
16+
protected override void OnStartup(StartupEventArgs e)
17+
{
18+
string str = this.GetType().Assembly.Location;
19+
base.OnStartup(e);
20+
LicenseVerify();
21+
Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");
22+
Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");
23+
}
24+
25+
public static bool LicenseVerify()
26+
{
27+
if (!CPDFSDKVerifier.LoadNativeLibrary())
28+
return false;
29+
30+
LicenseErrorCode verifyResult = CPDFSDKVerifier.LicenseVerify(SDKLicenseHelper.ParseLicenseXML(), false);
31+
return (verifyResult == LicenseErrorCode.E_LICENSE_SUCCESS);
32+
}
33+
}
34+
}
Binary file not shown.

0 commit comments

Comments
 (0)