Remove old projects
This commit is contained in:
parent
08148c54a6
commit
f76b37a772
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
|
@ -0,0 +1,115 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{0C720C54-D779-4204-B529-81360C796B32}</ProjectGuid>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<RootNamespace>GeneratorCode</RootNamespace>
|
||||||
|
<AssemblyName>GeneratorCode</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
|
<Deterministic>true</Deterministic>
|
||||||
|
<TargetFrameworkProfile />
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<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' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="itextsharp">
|
||||||
|
<HintPath>Libs\itextsharp.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL" />
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Drawing" />
|
||||||
|
<Reference Include="System.Windows.Forms" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Net.Http" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Program.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<Compile Include="TmatrixSDK\OIDPublishImageGenerator.cs" />
|
||||||
|
<Compile Include="TmatrixSDK\TmatrixClass.cs" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="App.config" />
|
||||||
|
<Content Include="OIDPublishImageGenerator\AppVersionType.ini">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="OIDPublishImageGenerator\OID PG.ini">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="OIDPublishImageGenerator\oida.bin">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="OIDPublishImageGenerator\OIDPatternGenerator.bin">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Folder Include="Libs\" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="OIDPublishImageGenerator\certifyforDll.dll">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="OIDPublishImageGenerator\libeay32.dll">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="OIDPublishImageGenerator\OIDPatternGenerator.dll">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="OIDPublishImageGenerator\OIDPDFFileGenerator.dll">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="OIDPublishImageGenerator\OIDPGHelper.dll">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="OIDPublishImageGenerator\OIDPublishImageGenerator.dll">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="OIDPublishImageGenerator\OIDScanConverter.dll">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="OIDPublishImageGenerator\OIDTiffConvertor.dll">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="OIDPublishImageGenerator\OIDVectorDiagramGenerator.dll">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="OIDPublishImageGenerator\PDFReader.dll">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="OIDPublishImageGenerator\PluginEntry.xml">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="OIDPublishImageGenerator\ssleay32.dll">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
</Project>
|
Binary file not shown.
|
@ -0,0 +1,3 @@
|
||||||
|
[General]
|
||||||
|
VertionType=TQL
|
||||||
|
CodeType=OID4
|
|
@ -0,0 +1,3 @@
|
||||||
|
[General]
|
||||||
|
Product = IW.6.COM-SONIX.STD0
|
||||||
|
CodeType = OID4.0
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,10 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
|
<File Version="1.0">
|
||||||
|
<ExtensionPoint ID="I_OIDPGHelper" Enable="1">
|
||||||
|
<Plugin ID="OIDPGHelper" Bundle="OIDPGHelper.dll" Enable="1"/>
|
||||||
|
</ExtensionPoint>
|
||||||
|
<ExtensionPoint ID="I_OIDTiffConvertor" Enable="1">
|
||||||
|
<Plugin ID="OIDTiffConvertor" Bundle="OIDTiffConvertor.dll" Enable="1"/>
|
||||||
|
</ExtensionPoint>
|
||||||
|
</File>
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,20 @@
|
||||||
|
-----BEGIN CERTIFICATE-----
|
||||||
|
MIIDTTCCAjWgAwIBAgIJALSlTPHWayS7MA0GCSqGSIb3DQEBCwUAMB4xHDAaBgNV
|
||||||
|
BAMTE1NPTmlYIENsb3VkIFNlcnZpY2UwHhcNMTUwMTA5MDg1OTAzWhcNMjUwMTA2
|
||||||
|
MDg1OTAzWjAeMRwwGgYDVQQDExNTT05pWCBDbG91ZCBTZXJ2aWNlMIIBIjANBgkq
|
||||||
|
hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzZ3v3VyrPlkaUhdHXGuklJ67m9wrb0My
|
||||||
|
RBLRCo9Z0x7FAKMfyXolSPT4KpdGYTbJOhMhxt3j3DiVCklUjHuoGTMDj7vKqCQ8
|
||||||
|
eqtTIBz7LUOPAAOdUU/0mIFEu0rdOXDk31qNYGnwqjOiY5HOSSFgFh3jE46YlN/P
|
||||||
|
6r23QL0IIymOkZfl6GJsT7IJ5lM2P1esezc81dM/PqFi3712Vyuk3p8GJcC2OqPT
|
||||||
|
D68wKhOgxcJQ2sgPx+uAUNV6WgzKijT/59mmmSbm98srGSECjx+G1oHfUUIqlB2l
|
||||||
|
t3aAjExNNtUHCXMEcd14ynwZML3b1bm1TB6/k7lNAKctRn0+DiW3SQIDAQABo4GN
|
||||||
|
MIGKMB0GA1UdDgQWBBQhOz3/VjYsb/6r4KjenczQjRiMCzBOBgNVHSMERzBFgBQh
|
||||||
|
Oz3/VjYsb/6r4KjenczQjRiMC6EipCAwHjEcMBoGA1UEAxMTU09OaVggQ2xvdWQg
|
||||||
|
U2VydmljZYIJALSlTPHWayS7MAwGA1UdEwQFMAMBAf8wCwYDVR0PBAQDAgEGMA0G
|
||||||
|
CSqGSIb3DQEBCwUAA4IBAQDHvbfp+1CSGD6XQJ3ULk+wKOmTr7r7rGT0HOQQOCYp
|
||||||
|
Fw4mKHmgYUlASdcP5YMbJM+UmOhJKu6uOAhRNt+0S3luf3udhjc56UrMkbdAyS7W
|
||||||
|
KrYoVb8b+iSym72T9uQ6ADlsq7W+I6O0Eiju8gsBYQL9P2Q6dATz4ZaUW4/1fgpL
|
||||||
|
pqSF8LnC42n7uwlLuve94renNv/duqBy1StilbNFD6GzPJX+bRxffzmBEE6nAUzD
|
||||||
|
h2QZyVWBXAkKOmjKClqWmKhkfDsNks60rzvypikQynLhi/Ik4NYs5B/m3XfD964E
|
||||||
|
ZGYfpFCbcSp/s3wjDa83mC4HFtBHUE1AgcmJVXfdl1t4
|
||||||
|
-----END CERTIFICATE-----
|
Binary file not shown.
|
@ -0,0 +1,230 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
using TmatrixLibrary;
|
||||||
|
using OIDModule.Generator;
|
||||||
|
|
||||||
|
namespace GeneratorCode
|
||||||
|
{
|
||||||
|
public class GeneratorParams
|
||||||
|
{
|
||||||
|
public GeneratorParams()
|
||||||
|
{
|
||||||
|
dpi = new int[] { 0, 0, 0, 0};
|
||||||
|
point_type = new int[] { 0, 0, 0, 0 };
|
||||||
|
image_type = new bool[] { true, true, true, true};
|
||||||
|
StartPageID = 0;
|
||||||
|
key = "S0,O000,B0000,P000-255,D2018/12/31;CCAFBQMXYPOAOCIRK52S8QC8SO4A0AGA8Y";
|
||||||
|
filePath = "E:\\NetEase\\轨迹笔\\Sample\\123.pdf";//"C:\\Works\\pdf\\123.pdf";
|
||||||
|
sessionId = "4BD5D923-47EA-4DEF-A1CD-9B85B515B191";
|
||||||
|
}
|
||||||
|
|
||||||
|
public int[] dpi { get; set; }
|
||||||
|
|
||||||
|
public int[] point_type { get; set; }
|
||||||
|
|
||||||
|
public bool[] image_type { get; set; }
|
||||||
|
|
||||||
|
public string key { get; set; }
|
||||||
|
|
||||||
|
public string filePath { get; set; }
|
||||||
|
|
||||||
|
public int StartPageID { get; set; }
|
||||||
|
|
||||||
|
public string sessionId { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class GenerCodeRet
|
||||||
|
{
|
||||||
|
public GenerCodeRet(string sId, int prg)
|
||||||
|
{
|
||||||
|
sessionId = sId;
|
||||||
|
progress = prg;
|
||||||
|
}
|
||||||
|
|
||||||
|
public string sessionId { get; set; }
|
||||||
|
|
||||||
|
public int progress { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class RspMessage
|
||||||
|
{
|
||||||
|
public int err { get; set; }
|
||||||
|
|
||||||
|
public string msg { get; set; }
|
||||||
|
|
||||||
|
public GenerCodeRet data { get; set; }
|
||||||
|
|
||||||
|
public RspMessage(string sId)
|
||||||
|
{
|
||||||
|
err = 0;
|
||||||
|
msg = "";
|
||||||
|
data = new GenerCodeRet(sId, 0);
|
||||||
|
}
|
||||||
|
public RspMessage(string sId, int prg)
|
||||||
|
{
|
||||||
|
err = 0;
|
||||||
|
msg = "";
|
||||||
|
data = new GenerCodeRet(sId, prg);
|
||||||
|
}
|
||||||
|
|
||||||
|
public string FormatRspMessage(int errCode, string readme, int prg)
|
||||||
|
{
|
||||||
|
RspMessage rsp = new RspMessage(data.sessionId, prg);
|
||||||
|
rsp.err = errCode;
|
||||||
|
rsp.msg = readme;
|
||||||
|
|
||||||
|
return JsonConvert.SerializeObject(rsp);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static int SendRspMessage(string msg)
|
||||||
|
{
|
||||||
|
Console.WriteLine(msg);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void ProgressMessage(int step)
|
||||||
|
{
|
||||||
|
RspMessage rsp = new RspMessage(data.sessionId, step);
|
||||||
|
rsp.err = 0;
|
||||||
|
rsp.msg = "Progress";
|
||||||
|
|
||||||
|
msg = JsonConvert.SerializeObject(rsp);
|
||||||
|
|
||||||
|
RspMessage.SendRspMessage(msg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class Program
|
||||||
|
{
|
||||||
|
enum ErrCode
|
||||||
|
{
|
||||||
|
ERR_INPUT_PARAMS = 1,
|
||||||
|
ERR_FILE_NOTEXISTS,
|
||||||
|
ERR_EXCEPT_THROW,
|
||||||
|
ERR_JSON_DECODE
|
||||||
|
};
|
||||||
|
|
||||||
|
static int Main(string[] args)
|
||||||
|
{
|
||||||
|
GeneratorParams inParams;
|
||||||
|
RspMessage rspMsg;
|
||||||
|
|
||||||
|
//string inputArg =
|
||||||
|
// "eyJkcGkiOlswLDAsMCwwXSwicG9pbnRfdHlwZSI6WzAsMCwwLDBdLCJpbWFnZV90eXBlI" +
|
||||||
|
// "jpbZmFsc2UsZmFsc2UsZmFsc2UsdHJ1ZV0sImtleSI6IlMwLE8wMDAsQjAwMDAsUDAwMC0" +
|
||||||
|
// "yNTUsRDIwMTgvMTIvMzE7Q0NBRkJRTVhZUE9BT0NJUks1MlM4UUM4U080QTBBR0E4WSIsIm" +
|
||||||
|
// "ZpbGVQYXRoIjoiRTpcXE5ldEVhc2VcXLnsvKOxylxcU2FtcGxlXFwxMjMucGRmIiwiU3Rhcn" +
|
||||||
|
// "RQYWdlSUQiOjAsInNlc3Npb25JZCI6IjRCRDVEOTIzLTQ3RUEtNERFRi1BMUNELTlCODVCNT" +
|
||||||
|
// "E1QjE5MSJ9";
|
||||||
|
//string inputArg2 = "eyJkcGkiOlswLDAsMCwwXSwicG9pbnRfdHlwZSI6WzAsMCwwLDBdLCJpb" +
|
||||||
|
// "WFnZV90eXBlIjpbZmFsc2UsZmFsc2UsZmFsc2UsdHJ1ZV0sImtleSI6Il" +
|
||||||
|
// "MwLE8wMDAsQjAwMDAsUDAwMC0yNTUsRDIwMTgvMTIvMzE7Q0NBRkJRTVh" +
|
||||||
|
// "ZUE9BT0NJUks1MlM4UUM4U080QTBBR0E4WSIsImZpbGVQYXRoIjoiQzpc" +
|
||||||
|
// "XFdvcmtzXFxwZGZcXDEyMy5wZGYiLCJTdGFydFBhZ2VJRCI6MCwic2Vzc" +
|
||||||
|
// "2lvbklkIjoiNEJENUQ5MjMtNDdFQS00REVGLUExQ0QtOUI4NUI1MTVCMTkxIn0=";
|
||||||
|
|
||||||
|
|
||||||
|
TmatrixClass tmObj = new TmatrixClass();
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
if (args.Length == 1)
|
||||||
|
{
|
||||||
|
byte[] deCode = Convert.FromBase64String(args[1]);
|
||||||
|
string strParams = System.Text.Encoding.Default.GetString(deCode);
|
||||||
|
inParams = JsonConvert.DeserializeObject<GeneratorParams>(strParams);
|
||||||
|
}
|
||||||
|
else if (args.Length == 2)
|
||||||
|
{
|
||||||
|
byte[] deCode = Convert.FromBase64String(args[1]);
|
||||||
|
string strParams = System.Text.Encoding.Default.GetString(deCode);
|
||||||
|
inParams = JsonConvert.DeserializeObject<GeneratorParams>(strParams);
|
||||||
|
inParams.sessionId = args[0];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
inParams = new GeneratorParams();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
rspMsg = new RspMessage("");
|
||||||
|
string msg = rspMsg.FormatRspMessage(10, e.Message, 0);
|
||||||
|
RspMessage.SendRspMessage(msg);
|
||||||
|
return -(int)ErrCode.ERR_JSON_DECODE;
|
||||||
|
}
|
||||||
|
|
||||||
|
rspMsg = new RspMessage(inParams.sessionId);
|
||||||
|
|
||||||
|
tmObj.ProgressChange += new TmatrixClass.ProgressChangedEvent(rspMsg.ProgressMessage);
|
||||||
|
|
||||||
|
string jsInput = JsonConvert.SerializeObject(inParams);
|
||||||
|
|
||||||
|
Console.WriteLine("Input:\n" + jsInput);
|
||||||
|
//Console.WriteLine("Input:\n" + Convert.ToBase64String(Encoding.Default.GetBytes(jsInput)));
|
||||||
|
|
||||||
|
if (!File.Exists(inParams.filePath))
|
||||||
|
{
|
||||||
|
return -(int) ErrCode.ERR_FILE_NOTEXISTS;
|
||||||
|
}
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
tmObj.TmatrixInitialize();
|
||||||
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
string msg = rspMsg.FormatRspMessage(7, e.Message, 0);
|
||||||
|
RspMessage.SendRspMessage(msg);
|
||||||
|
return -(int)ErrCode.ERR_EXCEPT_THROW;
|
||||||
|
}
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
string ret = tmObj.GenerateTmatrixCode_OID4(inParams.key,
|
||||||
|
inParams.filePath, inParams.StartPageID, inParams.point_type,
|
||||||
|
inParams.image_type, inParams.dpi);
|
||||||
|
|
||||||
|
if (ret.Substring(0, 1) != "0")
|
||||||
|
{
|
||||||
|
string msg = rspMsg.FormatRspMessage(Int32.Parse(ret.Substring(0, 1)),
|
||||||
|
ret.Substring(1, ret.Length - 1), tmObj.GetProgerss());
|
||||||
|
|
||||||
|
RspMessage.SendRspMessage(msg);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
string msg = rspMsg.FormatRspMessage(Int32.Parse(ret.Substring(0, 1)),
|
||||||
|
ret.Substring(1, ret.Length - 1), 100);
|
||||||
|
|
||||||
|
RspMessage.SendRspMessage(msg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
string msg = rspMsg.FormatRspMessage(8, e.Message, tmObj.GetProgerss());
|
||||||
|
RspMessage.SendRspMessage(msg);
|
||||||
|
return -(int)ErrCode.ERR_EXCEPT_THROW;
|
||||||
|
}
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
tmObj.TmatrixUninitialize();
|
||||||
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
string msg = rspMsg.FormatRspMessage(9, e.Message, 0);
|
||||||
|
RspMessage.SendRspMessage(msg);
|
||||||
|
return -(int)ErrCode.ERR_EXCEPT_THROW;
|
||||||
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,36 @@
|
||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// 有关程序集的一般信息由以下
|
||||||
|
// 控制。更改这些特性值可修改
|
||||||
|
// 与程序集关联的信息。
|
||||||
|
[assembly: AssemblyTitle("GeneratorCode")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("")]
|
||||||
|
[assembly: AssemblyProduct("GeneratorCode")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © 2019")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
// 将 ComVisible 设置为 false 会使此程序集中的类型
|
||||||
|
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
|
||||||
|
//请将此类型的 ComVisible 特性设置为 true。
|
||||||
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
|
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
|
||||||
|
[assembly: Guid("0c720c54-d779-4204-b529-81360c796b32")]
|
||||||
|
|
||||||
|
// 程序集的版本信息由下列四个值组成:
|
||||||
|
//
|
||||||
|
// 主版本
|
||||||
|
// 次版本
|
||||||
|
// 生成号
|
||||||
|
// 修订号
|
||||||
|
//
|
||||||
|
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
|
||||||
|
// 方法是按如下所示使用“*”: :
|
||||||
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
[assembly: AssemblyVersion("1.0.0.0")]
|
||||||
|
[assembly: AssemblyFileVersion("1.0.0.0")]
|
|
@ -1,4 +1,3 @@
|
||||||
// Generated by .NET Reflector from E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator\TmatrixCodeGenerator\bin\Release\TmatrixLibrary_OID4.dll
|
|
||||||
namespace OIDModule.Generator
|
namespace OIDModule.Generator
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
|
@ -5,6 +5,8 @@ VisualStudioVersion = 15.0.28307.271
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TmatrixSDK_OID4", "TmatrixCodeGenerator\TmatrixSDK_OID4.csproj", "{657EF1B5-592E-4D99-B2D6-E2A1BDAD6DEA}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TmatrixSDK_OID4", "TmatrixCodeGenerator\TmatrixSDK_OID4.csproj", "{657EF1B5-592E-4D99-B2D6-E2A1BDAD6DEA}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GeneratorCode", "GeneratorCode\GeneratorCode.csproj", "{0C720C54-D779-4204-B529-81360C796B32}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
@ -15,6 +17,10 @@ Global
|
||||||
{657EF1B5-592E-4D99-B2D6-E2A1BDAD6DEA}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{657EF1B5-592E-4D99-B2D6-E2A1BDAD6DEA}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{657EF1B5-592E-4D99-B2D6-E2A1BDAD6DEA}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{657EF1B5-592E-4D99-B2D6-E2A1BDAD6DEA}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{657EF1B5-592E-4D99-B2D6-E2A1BDAD6DEA}.Release|Any CPU.Build.0 = Release|Any CPU
|
{657EF1B5-592E-4D99-B2D6-E2A1BDAD6DEA}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{0C720C54-D779-4204-B529-81360C796B32}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{0C720C54-D779-4204-B529-81360C796B32}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{0C720C54-D779-4204-B529-81360C796B32}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{0C720C54-D779-4204-B529-81360C796B32}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
|
||||||
|
<s:Boolean x:Key="/Default/CodeStyle/Naming/CSharpAutoNaming/IsNotificationDisabled/@EntryValue">True</s:Boolean>
|
||||||
|
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/AutoDetectedNamingRules/=Method/@EntryIndexedValue"><Policy Inspect="False" Prefix="" Suffix="" Style="AaBb" /></s:String>
|
||||||
|
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/AutoDetectedNamingRules/=Parameters/@EntryIndexedValue"><Policy Inspect="False" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
||||||
|
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/AutoDetectedNamingRules/=TypesAndNamespaces/@EntryIndexedValue"><Policy Inspect="False" Prefix="" Suffix="" Style="AaBb" /></s:String>
|
||||||
|
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/AutoDetectedNamingRules/=Locals/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
||||||
|
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/AutoDetectedNamingRules/=Property/@EntryIndexedValue"><Policy Inspect="False" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
||||||
|
<s:Boolean x:Key="/Default/CodeStyle/Naming/CSharpNaming/ApplyAutoDetectedRules/@EntryValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/CodeStyle/Naming/CSharpAutoNaming/IsNamingAutoDetectionCompleted/@EntryValue">True</s:Boolean></wpf:ResourceDictionary>
|
|
@ -108,7 +108,7 @@
|
||||||
this.label7.AutoSize = true;
|
this.label7.AutoSize = true;
|
||||||
this.label7.Location = new System.Drawing.Point(469, 140);
|
this.label7.Location = new System.Drawing.Point(469, 140);
|
||||||
this.label7.Name = "label7";
|
this.label7.Name = "label7";
|
||||||
this.label7.Size = new System.Drawing.Size(37, 20);
|
this.label7.Size = new System.Drawing.Size(31, 17);
|
||||||
this.label7.TabIndex = 19;
|
this.label7.TabIndex = 19;
|
||||||
this.label7.Text = "DPI:";
|
this.label7.Text = "DPI:";
|
||||||
//
|
//
|
||||||
|
@ -117,7 +117,7 @@
|
||||||
this.label8.AutoSize = true;
|
this.label8.AutoSize = true;
|
||||||
this.label8.Location = new System.Drawing.Point(339, 140);
|
this.label8.Location = new System.Drawing.Point(339, 140);
|
||||||
this.label8.Name = "label8";
|
this.label8.Name = "label8";
|
||||||
this.label8.Size = new System.Drawing.Size(49, 20);
|
this.label8.Size = new System.Drawing.Size(39, 17);
|
||||||
this.label8.TabIndex = 18;
|
this.label8.TabIndex = 18;
|
||||||
this.label8.Text = "Type:";
|
this.label8.Text = "Type:";
|
||||||
//
|
//
|
||||||
|
@ -130,7 +130,7 @@
|
||||||
"1200"});
|
"1200"});
|
||||||
this.BGWithImage_DPI_comboBox.Location = new System.Drawing.Point(511, 137);
|
this.BGWithImage_DPI_comboBox.Location = new System.Drawing.Point(511, 137);
|
||||||
this.BGWithImage_DPI_comboBox.Name = "BGWithImage_DPI_comboBox";
|
this.BGWithImage_DPI_comboBox.Name = "BGWithImage_DPI_comboBox";
|
||||||
this.BGWithImage_DPI_comboBox.Size = new System.Drawing.Size(68, 28);
|
this.BGWithImage_DPI_comboBox.Size = new System.Drawing.Size(68, 25);
|
||||||
this.BGWithImage_DPI_comboBox.TabIndex = 17;
|
this.BGWithImage_DPI_comboBox.TabIndex = 17;
|
||||||
this.BGWithImage_DPI_comboBox.Text = "1200";
|
this.BGWithImage_DPI_comboBox.Text = "1200";
|
||||||
this.BGWithImage_DPI_comboBox.SelectedIndexChanged += new System.EventHandler(this.BGWithImage_DPI_comboBox_SelectedIndexChanged);
|
this.BGWithImage_DPI_comboBox.SelectedIndexChanged += new System.EventHandler(this.BGWithImage_DPI_comboBox_SelectedIndexChanged);
|
||||||
|
@ -145,7 +145,7 @@
|
||||||
"4x4"});
|
"4x4"});
|
||||||
this.BGWithImage_Type_comboBox.Location = new System.Drawing.Point(394, 137);
|
this.BGWithImage_Type_comboBox.Location = new System.Drawing.Point(394, 137);
|
||||||
this.BGWithImage_Type_comboBox.Name = "BGWithImage_Type_comboBox";
|
this.BGWithImage_Type_comboBox.Name = "BGWithImage_Type_comboBox";
|
||||||
this.BGWithImage_Type_comboBox.Size = new System.Drawing.Size(55, 28);
|
this.BGWithImage_Type_comboBox.Size = new System.Drawing.Size(55, 25);
|
||||||
this.BGWithImage_Type_comboBox.TabIndex = 16;
|
this.BGWithImage_Type_comboBox.TabIndex = 16;
|
||||||
this.BGWithImage_Type_comboBox.Text = "3x3";
|
this.BGWithImage_Type_comboBox.Text = "3x3";
|
||||||
this.BGWithImage_Type_comboBox.SelectedIndexChanged += new System.EventHandler(this.BGWithImage_Type_comboBox_SelectedIndexChanged);
|
this.BGWithImage_Type_comboBox.SelectedIndexChanged += new System.EventHandler(this.BGWithImage_Type_comboBox_SelectedIndexChanged);
|
||||||
|
@ -156,7 +156,7 @@
|
||||||
this.label5.AutoSize = true;
|
this.label5.AutoSize = true;
|
||||||
this.label5.Location = new System.Drawing.Point(469, 105);
|
this.label5.Location = new System.Drawing.Point(469, 105);
|
||||||
this.label5.Name = "label5";
|
this.label5.Name = "label5";
|
||||||
this.label5.Size = new System.Drawing.Size(37, 20);
|
this.label5.Size = new System.Drawing.Size(31, 17);
|
||||||
this.label5.TabIndex = 15;
|
this.label5.TabIndex = 15;
|
||||||
this.label5.Text = "DPI:";
|
this.label5.Text = "DPI:";
|
||||||
//
|
//
|
||||||
|
@ -165,7 +165,7 @@
|
||||||
this.label6.AutoSize = true;
|
this.label6.AutoSize = true;
|
||||||
this.label6.Location = new System.Drawing.Point(339, 105);
|
this.label6.Location = new System.Drawing.Point(339, 105);
|
||||||
this.label6.Name = "label6";
|
this.label6.Name = "label6";
|
||||||
this.label6.Size = new System.Drawing.Size(49, 20);
|
this.label6.Size = new System.Drawing.Size(39, 17);
|
||||||
this.label6.TabIndex = 14;
|
this.label6.TabIndex = 14;
|
||||||
this.label6.Text = "Type:";
|
this.label6.Text = "Type:";
|
||||||
//
|
//
|
||||||
|
@ -178,7 +178,7 @@
|
||||||
"1200"});
|
"1200"});
|
||||||
this.BGWOVImage_DPI_comboBox.Location = new System.Drawing.Point(511, 102);
|
this.BGWOVImage_DPI_comboBox.Location = new System.Drawing.Point(511, 102);
|
||||||
this.BGWOVImage_DPI_comboBox.Name = "BGWOVImage_DPI_comboBox";
|
this.BGWOVImage_DPI_comboBox.Name = "BGWOVImage_DPI_comboBox";
|
||||||
this.BGWOVImage_DPI_comboBox.Size = new System.Drawing.Size(68, 28);
|
this.BGWOVImage_DPI_comboBox.Size = new System.Drawing.Size(68, 25);
|
||||||
this.BGWOVImage_DPI_comboBox.TabIndex = 13;
|
this.BGWOVImage_DPI_comboBox.TabIndex = 13;
|
||||||
this.BGWOVImage_DPI_comboBox.Text = "1200";
|
this.BGWOVImage_DPI_comboBox.Text = "1200";
|
||||||
this.BGWOVImage_DPI_comboBox.SelectedIndexChanged += new System.EventHandler(this.BGWOVImage_DPI_comboBox_SelectedIndexChanged);
|
this.BGWOVImage_DPI_comboBox.SelectedIndexChanged += new System.EventHandler(this.BGWOVImage_DPI_comboBox_SelectedIndexChanged);
|
||||||
|
@ -193,7 +193,7 @@
|
||||||
"4x4"});
|
"4x4"});
|
||||||
this.BGWOVImage_Type_comboBox.Location = new System.Drawing.Point(394, 102);
|
this.BGWOVImage_Type_comboBox.Location = new System.Drawing.Point(394, 102);
|
||||||
this.BGWOVImage_Type_comboBox.Name = "BGWOVImage_Type_comboBox";
|
this.BGWOVImage_Type_comboBox.Name = "BGWOVImage_Type_comboBox";
|
||||||
this.BGWOVImage_Type_comboBox.Size = new System.Drawing.Size(55, 28);
|
this.BGWOVImage_Type_comboBox.Size = new System.Drawing.Size(55, 25);
|
||||||
this.BGWOVImage_Type_comboBox.TabIndex = 12;
|
this.BGWOVImage_Type_comboBox.TabIndex = 12;
|
||||||
this.BGWOVImage_Type_comboBox.Text = "3x3";
|
this.BGWOVImage_Type_comboBox.Text = "3x3";
|
||||||
this.BGWOVImage_Type_comboBox.SelectedIndexChanged += new System.EventHandler(this.BGWOVImage_Type_comboBox_SelectedIndexChanged);
|
this.BGWOVImage_Type_comboBox.SelectedIndexChanged += new System.EventHandler(this.BGWOVImage_Type_comboBox_SelectedIndexChanged);
|
||||||
|
@ -204,7 +204,7 @@
|
||||||
this.label3.AutoSize = true;
|
this.label3.AutoSize = true;
|
||||||
this.label3.Location = new System.Drawing.Point(469, 70);
|
this.label3.Location = new System.Drawing.Point(469, 70);
|
||||||
this.label3.Name = "label3";
|
this.label3.Name = "label3";
|
||||||
this.label3.Size = new System.Drawing.Size(37, 20);
|
this.label3.Size = new System.Drawing.Size(31, 17);
|
||||||
this.label3.TabIndex = 11;
|
this.label3.TabIndex = 11;
|
||||||
this.label3.Text = "DPI:";
|
this.label3.Text = "DPI:";
|
||||||
//
|
//
|
||||||
|
@ -213,7 +213,7 @@
|
||||||
this.label4.AutoSize = true;
|
this.label4.AutoSize = true;
|
||||||
this.label4.Location = new System.Drawing.Point(339, 70);
|
this.label4.Location = new System.Drawing.Point(339, 70);
|
||||||
this.label4.Name = "label4";
|
this.label4.Name = "label4";
|
||||||
this.label4.Size = new System.Drawing.Size(49, 20);
|
this.label4.Size = new System.Drawing.Size(39, 17);
|
||||||
this.label4.TabIndex = 10;
|
this.label4.TabIndex = 10;
|
||||||
this.label4.Text = "Type:";
|
this.label4.Text = "Type:";
|
||||||
//
|
//
|
||||||
|
@ -226,7 +226,7 @@
|
||||||
"1200"});
|
"1200"});
|
||||||
this.VImage_DPI_comboBox.Location = new System.Drawing.Point(511, 67);
|
this.VImage_DPI_comboBox.Location = new System.Drawing.Point(511, 67);
|
||||||
this.VImage_DPI_comboBox.Name = "VImage_DPI_comboBox";
|
this.VImage_DPI_comboBox.Name = "VImage_DPI_comboBox";
|
||||||
this.VImage_DPI_comboBox.Size = new System.Drawing.Size(68, 28);
|
this.VImage_DPI_comboBox.Size = new System.Drawing.Size(68, 25);
|
||||||
this.VImage_DPI_comboBox.TabIndex = 9;
|
this.VImage_DPI_comboBox.TabIndex = 9;
|
||||||
this.VImage_DPI_comboBox.Text = "1200";
|
this.VImage_DPI_comboBox.Text = "1200";
|
||||||
this.VImage_DPI_comboBox.SelectedIndexChanged += new System.EventHandler(this.VImage_DPI_comboBox_SelectedIndexChanged);
|
this.VImage_DPI_comboBox.SelectedIndexChanged += new System.EventHandler(this.VImage_DPI_comboBox_SelectedIndexChanged);
|
||||||
|
@ -241,7 +241,7 @@
|
||||||
"4x4"});
|
"4x4"});
|
||||||
this.VImage_Type_comboBox.Location = new System.Drawing.Point(394, 67);
|
this.VImage_Type_comboBox.Location = new System.Drawing.Point(394, 67);
|
||||||
this.VImage_Type_comboBox.Name = "VImage_Type_comboBox";
|
this.VImage_Type_comboBox.Name = "VImage_Type_comboBox";
|
||||||
this.VImage_Type_comboBox.Size = new System.Drawing.Size(55, 28);
|
this.VImage_Type_comboBox.Size = new System.Drawing.Size(55, 25);
|
||||||
this.VImage_Type_comboBox.TabIndex = 8;
|
this.VImage_Type_comboBox.TabIndex = 8;
|
||||||
this.VImage_Type_comboBox.Text = "3x3";
|
this.VImage_Type_comboBox.Text = "3x3";
|
||||||
this.VImage_Type_comboBox.SelectedIndexChanged += new System.EventHandler(this.VImage_Type_comboBox_SelectedIndexChanged);
|
this.VImage_Type_comboBox.SelectedIndexChanged += new System.EventHandler(this.VImage_Type_comboBox_SelectedIndexChanged);
|
||||||
|
@ -252,7 +252,7 @@
|
||||||
this.label2.AutoSize = true;
|
this.label2.AutoSize = true;
|
||||||
this.label2.Location = new System.Drawing.Point(469, 35);
|
this.label2.Location = new System.Drawing.Point(469, 35);
|
||||||
this.label2.Name = "label2";
|
this.label2.Name = "label2";
|
||||||
this.label2.Size = new System.Drawing.Size(37, 20);
|
this.label2.Size = new System.Drawing.Size(31, 17);
|
||||||
this.label2.TabIndex = 7;
|
this.label2.TabIndex = 7;
|
||||||
this.label2.Text = "DPI:";
|
this.label2.Text = "DPI:";
|
||||||
//
|
//
|
||||||
|
@ -261,7 +261,7 @@
|
||||||
this.label1.AutoSize = true;
|
this.label1.AutoSize = true;
|
||||||
this.label1.Location = new System.Drawing.Point(339, 35);
|
this.label1.Location = new System.Drawing.Point(339, 35);
|
||||||
this.label1.Name = "label1";
|
this.label1.Name = "label1";
|
||||||
this.label1.Size = new System.Drawing.Size(49, 20);
|
this.label1.Size = new System.Drawing.Size(39, 17);
|
||||||
this.label1.TabIndex = 6;
|
this.label1.TabIndex = 6;
|
||||||
this.label1.Text = "Type:";
|
this.label1.Text = "Type:";
|
||||||
//
|
//
|
||||||
|
@ -273,7 +273,7 @@
|
||||||
"1200"});
|
"1200"});
|
||||||
this.BGWithVImage_DPI_comboBox.Location = new System.Drawing.Point(511, 32);
|
this.BGWithVImage_DPI_comboBox.Location = new System.Drawing.Point(511, 32);
|
||||||
this.BGWithVImage_DPI_comboBox.Name = "BGWithVImage_DPI_comboBox";
|
this.BGWithVImage_DPI_comboBox.Name = "BGWithVImage_DPI_comboBox";
|
||||||
this.BGWithVImage_DPI_comboBox.Size = new System.Drawing.Size(68, 28);
|
this.BGWithVImage_DPI_comboBox.Size = new System.Drawing.Size(68, 25);
|
||||||
this.BGWithVImage_DPI_comboBox.TabIndex = 5;
|
this.BGWithVImage_DPI_comboBox.TabIndex = 5;
|
||||||
this.BGWithVImage_DPI_comboBox.Text = "1200";
|
this.BGWithVImage_DPI_comboBox.Text = "1200";
|
||||||
this.BGWithVImage_DPI_comboBox.SelectedIndexChanged += new System.EventHandler(this.BGWithVImage_DPI_comboBox_SelectedIndexChanged);
|
this.BGWithVImage_DPI_comboBox.SelectedIndexChanged += new System.EventHandler(this.BGWithVImage_DPI_comboBox_SelectedIndexChanged);
|
||||||
|
@ -287,7 +287,7 @@
|
||||||
"4x4"});
|
"4x4"});
|
||||||
this.BGWithVImage_Type_comboBox.Location = new System.Drawing.Point(394, 32);
|
this.BGWithVImage_Type_comboBox.Location = new System.Drawing.Point(394, 32);
|
||||||
this.BGWithVImage_Type_comboBox.Name = "BGWithVImage_Type_comboBox";
|
this.BGWithVImage_Type_comboBox.Name = "BGWithVImage_Type_comboBox";
|
||||||
this.BGWithVImage_Type_comboBox.Size = new System.Drawing.Size(55, 28);
|
this.BGWithVImage_Type_comboBox.Size = new System.Drawing.Size(55, 25);
|
||||||
this.BGWithVImage_Type_comboBox.TabIndex = 4;
|
this.BGWithVImage_Type_comboBox.TabIndex = 4;
|
||||||
this.BGWithVImage_Type_comboBox.Text = "3x3";
|
this.BGWithVImage_Type_comboBox.Text = "3x3";
|
||||||
this.BGWithVImage_Type_comboBox.SelectedIndexChanged += new System.EventHandler(this.BGWithVImage_Type_comboBox_SelectedIndexChanged);
|
this.BGWithVImage_Type_comboBox.SelectedIndexChanged += new System.EventHandler(this.BGWithVImage_Type_comboBox_SelectedIndexChanged);
|
||||||
|
@ -298,7 +298,7 @@
|
||||||
this.BGWithImage_checkBox.AutoSize = true;
|
this.BGWithImage_checkBox.AutoSize = true;
|
||||||
this.BGWithImage_checkBox.Location = new System.Drawing.Point(20, 140);
|
this.BGWithImage_checkBox.Location = new System.Drawing.Point(20, 140);
|
||||||
this.BGWithImage_checkBox.Name = "BGWithImage_checkBox";
|
this.BGWithImage_checkBox.Name = "BGWithImage_checkBox";
|
||||||
this.BGWithImage_checkBox.Size = new System.Drawing.Size(202, 24);
|
this.BGWithImage_checkBox.Size = new System.Drawing.Size(166, 21);
|
||||||
this.BGWithImage_checkBox.TabIndex = 3;
|
this.BGWithImage_checkBox.TabIndex = 3;
|
||||||
this.BGWithImage_checkBox.Text = "Background with Image";
|
this.BGWithImage_checkBox.Text = "Background with Image";
|
||||||
this.BGWithImage_checkBox.UseVisualStyleBackColor = true;
|
this.BGWithImage_checkBox.UseVisualStyleBackColor = true;
|
||||||
|
@ -309,7 +309,7 @@
|
||||||
this.BGWOVImage_checkBox.AutoSize = true;
|
this.BGWOVImage_checkBox.AutoSize = true;
|
||||||
this.BGWOVImage_checkBox.Location = new System.Drawing.Point(20, 105);
|
this.BGWOVImage_checkBox.Location = new System.Drawing.Point(20, 105);
|
||||||
this.BGWOVImage_checkBox.Name = "BGWOVImage_checkBox";
|
this.BGWOVImage_checkBox.Name = "BGWOVImage_checkBox";
|
||||||
this.BGWOVImage_checkBox.Size = new System.Drawing.Size(280, 24);
|
this.BGWOVImage_checkBox.Size = new System.Drawing.Size(227, 21);
|
||||||
this.BGWOVImage_checkBox.TabIndex = 2;
|
this.BGWOVImage_checkBox.TabIndex = 2;
|
||||||
this.BGWOVImage_checkBox.Text = "Background without Vector Image";
|
this.BGWOVImage_checkBox.Text = "Background without Vector Image";
|
||||||
this.BGWOVImage_checkBox.UseVisualStyleBackColor = true;
|
this.BGWOVImage_checkBox.UseVisualStyleBackColor = true;
|
||||||
|
@ -320,7 +320,7 @@
|
||||||
this.VImage_checkBox.AutoSize = true;
|
this.VImage_checkBox.AutoSize = true;
|
||||||
this.VImage_checkBox.Location = new System.Drawing.Point(20, 70);
|
this.VImage_checkBox.Location = new System.Drawing.Point(20, 70);
|
||||||
this.VImage_checkBox.Name = "VImage_checkBox";
|
this.VImage_checkBox.Name = "VImage_checkBox";
|
||||||
this.VImage_checkBox.Size = new System.Drawing.Size(129, 24);
|
this.VImage_checkBox.Size = new System.Drawing.Size(106, 21);
|
||||||
this.VImage_checkBox.TabIndex = 1;
|
this.VImage_checkBox.TabIndex = 1;
|
||||||
this.VImage_checkBox.Text = "Vector Image";
|
this.VImage_checkBox.Text = "Vector Image";
|
||||||
this.VImage_checkBox.UseVisualStyleBackColor = true;
|
this.VImage_checkBox.UseVisualStyleBackColor = true;
|
||||||
|
@ -333,7 +333,7 @@
|
||||||
this.BGWithVImage_checkBox.CheckState = System.Windows.Forms.CheckState.Checked;
|
this.BGWithVImage_checkBox.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||||
this.BGWithVImage_checkBox.Location = new System.Drawing.Point(20, 35);
|
this.BGWithVImage_checkBox.Location = new System.Drawing.Point(20, 35);
|
||||||
this.BGWithVImage_checkBox.Name = "BGWithVImage_checkBox";
|
this.BGWithVImage_checkBox.Name = "BGWithVImage_checkBox";
|
||||||
this.BGWithVImage_checkBox.Size = new System.Drawing.Size(255, 24);
|
this.BGWithVImage_checkBox.Size = new System.Drawing.Size(208, 21);
|
||||||
this.BGWithVImage_checkBox.TabIndex = 0;
|
this.BGWithVImage_checkBox.TabIndex = 0;
|
||||||
this.BGWithVImage_checkBox.Text = "Background with Vector Image";
|
this.BGWithVImage_checkBox.Text = "Background with Vector Image";
|
||||||
this.BGWithVImage_checkBox.UseVisualStyleBackColor = true;
|
this.BGWithVImage_checkBox.UseVisualStyleBackColor = true;
|
||||||
|
@ -341,7 +341,7 @@
|
||||||
//
|
//
|
||||||
// GenerateCode_Form
|
// GenerateCode_Form
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(650, 248);
|
this.ClientSize = new System.Drawing.Size(650, 248);
|
||||||
this.Controls.Add(this.Exit_button);
|
this.Controls.Add(this.Exit_button);
|
||||||
|
@ -353,7 +353,7 @@
|
||||||
this.MaximizeBox = false;
|
this.MaximizeBox = false;
|
||||||
this.MinimizeBox = false;
|
this.MinimizeBox = false;
|
||||||
this.Name = "GenerateCode_Form";
|
this.Name = "GenerateCode_Form";
|
||||||
this.Text = "Generate Tmatrix Code";
|
this.Text = "Generate Code Configure";
|
||||||
this.Load += new System.EventHandler(this.GenerateCode_Form_Load);
|
this.Load += new System.EventHandler(this.GenerateCode_Form_Load);
|
||||||
this.groupBox1.ResumeLayout(false);
|
this.groupBox1.ResumeLayout(false);
|
||||||
this.groupBox1.PerformLayout();
|
this.groupBox1.PerformLayout();
|
||||||
|
|
|
@ -1,25 +1,25 @@
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// 這段程式碼是由工具產生的。
|
// 此代码由工具生成。
|
||||||
// 執行階段版本:4.0.30319.42000
|
// 运行时版本:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// 對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼,
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||||
// 變更將會遺失。
|
// 重新生成代码,这些更改将会丢失。
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace TmatrixCodeGenerator.Properties {
|
namespace CodeGenerator.Properties {
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 用於查詢當地語系化字串等的強類型資源類別。
|
/// 一个强类型的资源类,用于查找本地化的字符串等。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
// 這個類別是自動產生的,是利用 StronglyTypedResourceBuilder
|
// 此类是由 StronglyTypedResourceBuilder
|
||||||
// 類別透過 ResGen 或 Visual Studio 這類工具。
|
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
|
||||||
// 若要加入或移除成員,請編輯您的 .ResX 檔,然後重新執行 ResGen
|
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
|
||||||
// (利用 /str 選項),或重建您的 VS 專案。
|
// (以 /str 作为命令选项),或重新生成 VS 项目。
|
||||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
internal class Resources {
|
internal class Resources {
|
||||||
|
@ -33,13 +33,13 @@ namespace TmatrixCodeGenerator.Properties {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 傳回這個類別使用的快取的 ResourceManager 執行個體。
|
/// 返回此类使用的缓存的 ResourceManager 实例。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||||
get {
|
get {
|
||||||
if (object.ReferenceEquals(resourceMan, null)) {
|
if (object.ReferenceEquals(resourceMan, null)) {
|
||||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TmatrixCodeGenerator.Properties.Resources", typeof(Resources).Assembly);
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CodeGenerator.Properties.Resources", typeof(Resources).Assembly);
|
||||||
resourceMan = temp;
|
resourceMan = temp;
|
||||||
}
|
}
|
||||||
return resourceMan;
|
return resourceMan;
|
||||||
|
@ -47,8 +47,8 @@ namespace TmatrixCodeGenerator.Properties {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 覆寫目前執行緒的 CurrentUICulture 屬性,對象是所有
|
/// 重写当前线程的 CurrentUICulture 属性
|
||||||
/// 使用這個強類型資源類別的資源查閱。
|
/// 重写当前线程的 CurrentUICulture 属性。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
internal static global::System.Globalization.CultureInfo Culture {
|
internal static global::System.Globalization.CultureInfo Culture {
|
||||||
|
@ -61,7 +61,7 @@ namespace TmatrixCodeGenerator.Properties {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 查詢類型 System.Drawing.Bitmap 的當地語系化資源。
|
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap Printer1 {
|
internal static System.Drawing.Bitmap Printer1 {
|
||||||
get {
|
get {
|
||||||
|
@ -71,7 +71,7 @@ namespace TmatrixCodeGenerator.Properties {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 查詢類型 System.Drawing.Bitmap 的當地語系化資源。
|
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap Printer2 {
|
internal static System.Drawing.Bitmap Printer2 {
|
||||||
get {
|
get {
|
||||||
|
@ -81,7 +81,7 @@ namespace TmatrixCodeGenerator.Properties {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 查詢類型 System.Drawing.Bitmap 的當地語系化資源。
|
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap Printer3 {
|
internal static System.Drawing.Bitmap Printer3 {
|
||||||
get {
|
get {
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// 這段程式碼是由工具產生的。
|
// 此代码由工具生成。
|
||||||
// 執行階段版本:4.0.30319.42000
|
// 运行时版本:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// 對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼,
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||||
// 變更將會遺失。
|
// 重新生成代码,这些更改将会丢失。
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace TmatrixCodeGenerator.Properties {
|
namespace CodeGenerator.Properties {
|
||||||
|
|
||||||
|
|
||||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.9.0.0")]
|
||||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||||
|
|
||||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||||
|
|
|
@ -0,0 +1,101 @@
|
||||||
|
namespace OIDModule.Generator
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
internal enum OIDBeginBuildState
|
||||||
|
{
|
||||||
|
eBBState_OK,
|
||||||
|
eBBState_ImageFileNotExist,
|
||||||
|
eBBState_FailToOpenImageFile,
|
||||||
|
eBBState_Unknown
|
||||||
|
}
|
||||||
|
internal enum OIDPrintPointType
|
||||||
|
{
|
||||||
|
eOID_PrintPointType_2x2,
|
||||||
|
eOID_PrintPointType_3x3,
|
||||||
|
eOID_PrintPointType_4x4
|
||||||
|
}
|
||||||
|
internal enum OIDPublishImageDPIType
|
||||||
|
{
|
||||||
|
eOID_PublishImageDPI_600,
|
||||||
|
eOID_PublishImageDPI_1200
|
||||||
|
}
|
||||||
|
internal enum OIDPublishImageType
|
||||||
|
{
|
||||||
|
eOID_PIT_Publish_Image,
|
||||||
|
eOID_PIT_Vertor_Image,
|
||||||
|
eOID_PIT_BG_Vertor_Image,
|
||||||
|
eOID_PIT_Publish_BG_Image
|
||||||
|
}
|
||||||
|
internal enum OIDPublishObjectType
|
||||||
|
{
|
||||||
|
eOID_OT_ElementCode,
|
||||||
|
eOID_OT_PositionCode
|
||||||
|
}
|
||||||
|
|
||||||
|
internal class OIDPublishImageGenerator
|
||||||
|
{
|
||||||
|
public bool AddObjectInfo(int nPageIndex, ulong uiObjectIndex, uint[] arPointX, uint[] arPointY, int nPointsCount, int nZOrder, int nObjectType)
|
||||||
|
{
|
||||||
|
return OID_PIG_AddObjectInfo(nPageIndex, uiObjectIndex, arPointX, arPointY, nPointsCount, nZOrder, nObjectType);
|
||||||
|
}
|
||||||
|
|
||||||
|
public int BeginBuildPublishImage(char[] szBGImage, bool bExportPDFImage, int nExportPDFImageDPI)
|
||||||
|
{
|
||||||
|
return OID_PIG_BeginBuildPublishImage(szBGImage, bExportPDFImage, nExportPDFImageDPI);
|
||||||
|
}
|
||||||
|
|
||||||
|
public int BeginBuildPublishImageByInfo(double dbCMWidth, double dbCMHeight)
|
||||||
|
{
|
||||||
|
return OID_PIG_BeginBuildPublishImageByInfo(dbCMWidth, dbCMHeight);
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool BuildPublishImage(char[] szOutputFolderPath, bool bPrintIdleCode, bool bSplitBigImage, bool bMergeSplittedImages, int nPublishImageDPIType, int nPrintPointType, int nPublishImageType)
|
||||||
|
{
|
||||||
|
return OID_PIG_BuildPublishImage(szOutputFolderPath, bPrintIdleCode, bSplitBigImage, bMergeSplittedImages, nPublishImageDPIType, nPrintPointType, nPublishImageType);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void EndBuildPublishImage()
|
||||||
|
{
|
||||||
|
OID_PIG_EndBuildPublishImage();
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool Initialize()
|
||||||
|
{
|
||||||
|
return OID_PIG_Initialize();
|
||||||
|
}
|
||||||
|
|
||||||
|
[DllImport(@".\OIDPublishImageGenerator\OIDPublishImageGenerator.dll", CallingConvention=CallingConvention.StdCall)]
|
||||||
|
private static extern bool OID_PIG_AddObjectInfo(int nPageIndex, ulong uiObjectIndex, uint[] arPointX, uint[] arPointY, int nPointsCount, int nZOrder, int nObjectType);
|
||||||
|
[DllImport(@".\OIDPublishImageGenerator\OIDPublishImageGenerator.dll", CallingConvention=CallingConvention.StdCall, CharSet=CharSet.Unicode)]
|
||||||
|
private static extern int OID_PIG_BeginBuildPublishImage(char[] szBGImage, bool bExportPDFImage, int nExportPDFImageDPI);
|
||||||
|
[DllImport(@".\OIDPublishImageGenerator\OIDPublishImageGenerator.dll", CallingConvention=CallingConvention.StdCall, CharSet=CharSet.Unicode)]
|
||||||
|
private static extern int OID_PIG_BeginBuildPublishImageByInfo(double dbCMWidth, double dbCMHeight);
|
||||||
|
[DllImport(@".\OIDPublishImageGenerator\OIDPublishImageGenerator.dll", CallingConvention=CallingConvention.StdCall, CharSet=CharSet.Unicode)]
|
||||||
|
private static extern bool OID_PIG_BuildPublishImage(char[] szOutputFolderPath, bool bPrintIdleCode, bool bSplitBigImage, bool bMergeSplittedImages, int nPublishImageDPIType, int nPrintPointType, int nPublishImageType);
|
||||||
|
[DllImport(@".\OIDPublishImageGenerator\OIDPublishImageGenerator.dll", CallingConvention=CallingConvention.StdCall)]
|
||||||
|
private static extern void OID_PIG_EndBuildPublishImage();
|
||||||
|
[DllImport(@".\OIDPublishImageGenerator\OIDPublishImageGenerator.dll", CallingConvention=CallingConvention.StdCall)]
|
||||||
|
private static extern bool OID_PIG_Initialize();
|
||||||
|
[DllImport(@".\OIDPublishImageGenerator\OIDPublishImageGenerator.dll", CallingConvention=CallingConvention.StdCall)]
|
||||||
|
private static extern bool OID_PIG_SetPublishPages(int[] arPageNumbers, int nPageCount);
|
||||||
|
[DllImport(@".\OIDPublishImageGenerator\OIDPublishImageGenerator.dll", CallingConvention=CallingConvention.StdCall)]
|
||||||
|
private static extern bool OID_PIG_SetStartPosition(int nPageIndex, int nXStart, int nYStart);
|
||||||
|
[DllImport(@".\OIDPublishImageGenerator\OIDPublishImageGenerator.dll", CallingConvention=CallingConvention.StdCall)]
|
||||||
|
private static extern void OID_PIG_Uninitialize();
|
||||||
|
public bool SetPublishPages(int[] arPageNumbers, int nPageCount)
|
||||||
|
{
|
||||||
|
return OID_PIG_SetPublishPages(arPageNumbers, nPageCount);
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool SetStartPosition(int nPageIndex, int nXStart, int nYStart)
|
||||||
|
{
|
||||||
|
return OID_PIG_SetStartPosition(nPageIndex, nXStart, nYStart);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Uninitialize()
|
||||||
|
{
|
||||||
|
OID_PIG_Uninitialize();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
|
@ -7,8 +7,8 @@
|
||||||
<ProjectGuid>{657EF1B5-592E-4D99-B2D6-E2A1BDAD6DEA}</ProjectGuid>
|
<ProjectGuid>{657EF1B5-592E-4D99-B2D6-E2A1BDAD6DEA}</ProjectGuid>
|
||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
<RootNamespace>TmatrixCodeGenerator</RootNamespace>
|
<RootNamespace>CodeGenerator</RootNamespace>
|
||||||
<AssemblyName>TmatrixCodeGenerator</AssemblyName>
|
<AssemblyName>CodeGenerator</AssemblyName>
|
||||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
<TargetFrameworkProfile />
|
<TargetFrameworkProfile />
|
||||||
|
@ -54,6 +54,9 @@
|
||||||
<Reference Include="itextsharp">
|
<Reference Include="itextsharp">
|
||||||
<HintPath>bin\FinalDLL\itextsharp.dll</HintPath>
|
<HintPath>bin\FinalDLL\itextsharp.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Newtonsoft.Json.12.0.1\lib\net40\Newtonsoft.Json.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.DirectoryServices" />
|
<Reference Include="System.DirectoryServices" />
|
||||||
|
@ -75,8 +78,8 @@
|
||||||
<DependentUpon>GenerateCode_Form.cs</DependentUpon>
|
<DependentUpon>GenerateCode_Form.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="GlobalClass.cs" />
|
<Compile Include="GlobalClass.cs" />
|
||||||
<Compile Include="TmatrixLibrary\OIDPublishImageGenerator.cs" />
|
<Compile Include="TmatrixLibrary\OIDPublishImageGenerator_SDK.cs" />
|
||||||
<Compile Include="TmatrixLibrary\TmatrixClass.cs" />
|
<Compile Include="TmatrixLibrary\TmatrixClass_SDK.cs" />
|
||||||
<Compile Include="Tmatrix_Form.cs">
|
<Compile Include="Tmatrix_Form.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
@ -102,6 +105,7 @@
|
||||||
<DependentUpon>Tmatrix_Form.cs</DependentUpon>
|
<DependentUpon>Tmatrix_Form.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<None Include="app.config" />
|
<None Include="app.config" />
|
||||||
|
<None Include="packages.config" />
|
||||||
<None Include="Properties\Settings.settings">
|
<None Include="Properties\Settings.settings">
|
||||||
<Generator>SettingsSingleFileGenerator</Generator>
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||||
|
|
|
@ -83,7 +83,7 @@
|
||||||
this.SelectTmatrixKey_button.Name = "SelectTmatrixKey_button";
|
this.SelectTmatrixKey_button.Name = "SelectTmatrixKey_button";
|
||||||
this.SelectTmatrixKey_button.Size = new System.Drawing.Size(174, 37);
|
this.SelectTmatrixKey_button.Size = new System.Drawing.Size(174, 37);
|
||||||
this.SelectTmatrixKey_button.TabIndex = 3;
|
this.SelectTmatrixKey_button.TabIndex = 3;
|
||||||
this.SelectTmatrixKey_button.Text = "Select Tmatrix Key";
|
this.SelectTmatrixKey_button.Text = "Select Configure File";
|
||||||
this.SelectTmatrixKey_button.UseVisualStyleBackColor = true;
|
this.SelectTmatrixKey_button.UseVisualStyleBackColor = true;
|
||||||
this.SelectTmatrixKey_button.Click += new System.EventHandler(this.SelectTmatrixKey_button_Click);
|
this.SelectTmatrixKey_button.Click += new System.EventHandler(this.SelectTmatrixKey_button_Click);
|
||||||
//
|
//
|
||||||
|
@ -117,7 +117,7 @@
|
||||||
this.groupBox1.Size = new System.Drawing.Size(683, 158);
|
this.groupBox1.Size = new System.Drawing.Size(683, 158);
|
||||||
this.groupBox1.TabIndex = 5;
|
this.groupBox1.TabIndex = 5;
|
||||||
this.groupBox1.TabStop = false;
|
this.groupBox1.TabStop = false;
|
||||||
this.groupBox1.Text = "Tmatrix Key";
|
this.groupBox1.Text = "Configure";
|
||||||
//
|
//
|
||||||
// SID_textBox
|
// SID_textBox
|
||||||
//
|
//
|
||||||
|
@ -125,7 +125,7 @@
|
||||||
this.SID_textBox.Location = new System.Drawing.Point(293, 47);
|
this.SID_textBox.Location = new System.Drawing.Point(293, 47);
|
||||||
this.SID_textBox.Name = "SID_textBox";
|
this.SID_textBox.Name = "SID_textBox";
|
||||||
this.SID_textBox.ReadOnly = true;
|
this.SID_textBox.ReadOnly = true;
|
||||||
this.SID_textBox.Size = new System.Drawing.Size(55, 29);
|
this.SID_textBox.Size = new System.Drawing.Size(55, 25);
|
||||||
this.SID_textBox.TabIndex = 19;
|
this.SID_textBox.TabIndex = 19;
|
||||||
//
|
//
|
||||||
// label7
|
// label7
|
||||||
|
@ -133,7 +133,7 @@
|
||||||
this.label7.AutoSize = true;
|
this.label7.AutoSize = true;
|
||||||
this.label7.Location = new System.Drawing.Point(186, 49);
|
this.label7.Location = new System.Drawing.Point(186, 49);
|
||||||
this.label7.Name = "label7";
|
this.label7.Name = "label7";
|
||||||
this.label7.Size = new System.Drawing.Size(103, 23);
|
this.label7.Size = new System.Drawing.Size(85, 20);
|
||||||
this.label7.TabIndex = 18;
|
this.label7.TabIndex = 18;
|
||||||
this.label7.Text = "Section ID :";
|
this.label7.Text = "Section ID :";
|
||||||
//
|
//
|
||||||
|
@ -143,7 +143,7 @@
|
||||||
this.OID_textBox.Location = new System.Drawing.Point(450, 47);
|
this.OID_textBox.Location = new System.Drawing.Point(450, 47);
|
||||||
this.OID_textBox.Name = "OID_textBox";
|
this.OID_textBox.Name = "OID_textBox";
|
||||||
this.OID_textBox.ReadOnly = true;
|
this.OID_textBox.ReadOnly = true;
|
||||||
this.OID_textBox.Size = new System.Drawing.Size(55, 29);
|
this.OID_textBox.Size = new System.Drawing.Size(55, 25);
|
||||||
this.OID_textBox.TabIndex = 17;
|
this.OID_textBox.TabIndex = 17;
|
||||||
//
|
//
|
||||||
// label14
|
// label14
|
||||||
|
@ -151,7 +151,7 @@
|
||||||
this.label14.AutoSize = true;
|
this.label14.AutoSize = true;
|
||||||
this.label14.Location = new System.Drawing.Point(356, 49);
|
this.label14.Location = new System.Drawing.Point(356, 49);
|
||||||
this.label14.Name = "label14";
|
this.label14.Name = "label14";
|
||||||
this.label14.Size = new System.Drawing.Size(95, 23);
|
this.label14.Size = new System.Drawing.Size(79, 20);
|
||||||
this.label14.TabIndex = 16;
|
this.label14.TabIndex = 16;
|
||||||
this.label14.Text = "Owner ID :";
|
this.label14.Text = "Owner ID :";
|
||||||
//
|
//
|
||||||
|
@ -161,7 +161,7 @@
|
||||||
this.Expiration_textBox.Location = new System.Drawing.Point(453, 100);
|
this.Expiration_textBox.Location = new System.Drawing.Point(453, 100);
|
||||||
this.Expiration_textBox.Name = "Expiration_textBox";
|
this.Expiration_textBox.Name = "Expiration_textBox";
|
||||||
this.Expiration_textBox.ReadOnly = true;
|
this.Expiration_textBox.ReadOnly = true;
|
||||||
this.Expiration_textBox.Size = new System.Drawing.Size(135, 29);
|
this.Expiration_textBox.Size = new System.Drawing.Size(135, 25);
|
||||||
this.Expiration_textBox.TabIndex = 11;
|
this.Expiration_textBox.TabIndex = 11;
|
||||||
//
|
//
|
||||||
// label4
|
// label4
|
||||||
|
@ -169,7 +169,7 @@
|
||||||
this.label4.AutoSize = true;
|
this.label4.AutoSize = true;
|
||||||
this.label4.Location = new System.Drawing.Point(349, 102);
|
this.label4.Location = new System.Drawing.Point(349, 102);
|
||||||
this.label4.Name = "label4";
|
this.label4.Name = "label4";
|
||||||
this.label4.Size = new System.Drawing.Size(100, 23);
|
this.label4.Size = new System.Drawing.Size(84, 20);
|
||||||
this.label4.TabIndex = 10;
|
this.label4.TabIndex = 10;
|
||||||
this.label4.Text = "Expiration :";
|
this.label4.Text = "Expiration :";
|
||||||
//
|
//
|
||||||
|
@ -179,7 +179,7 @@
|
||||||
this.PID2_textBox.Location = new System.Drawing.Point(264, 100);
|
this.PID2_textBox.Location = new System.Drawing.Point(264, 100);
|
||||||
this.PID2_textBox.Name = "PID2_textBox";
|
this.PID2_textBox.Name = "PID2_textBox";
|
||||||
this.PID2_textBox.ReadOnly = true;
|
this.PID2_textBox.ReadOnly = true;
|
||||||
this.PID2_textBox.Size = new System.Drawing.Size(69, 29);
|
this.PID2_textBox.Size = new System.Drawing.Size(69, 25);
|
||||||
this.PID2_textBox.TabIndex = 9;
|
this.PID2_textBox.TabIndex = 9;
|
||||||
//
|
//
|
||||||
// label3
|
// label3
|
||||||
|
@ -187,7 +187,7 @@
|
||||||
this.label3.AutoSize = true;
|
this.label3.AutoSize = true;
|
||||||
this.label3.Location = new System.Drawing.Point(229, 102);
|
this.label3.Location = new System.Drawing.Point(229, 102);
|
||||||
this.label3.Name = "label3";
|
this.label3.Name = "label3";
|
||||||
this.label3.Size = new System.Drawing.Size(31, 23);
|
this.label3.Size = new System.Drawing.Size(26, 20);
|
||||||
this.label3.TabIndex = 8;
|
this.label3.TabIndex = 8;
|
||||||
this.label3.Text = "To";
|
this.label3.Text = "To";
|
||||||
//
|
//
|
||||||
|
@ -197,7 +197,7 @@
|
||||||
this.PID1_textBox.Location = new System.Drawing.Point(155, 100);
|
this.PID1_textBox.Location = new System.Drawing.Point(155, 100);
|
||||||
this.PID1_textBox.Name = "PID1_textBox";
|
this.PID1_textBox.Name = "PID1_textBox";
|
||||||
this.PID1_textBox.ReadOnly = true;
|
this.PID1_textBox.ReadOnly = true;
|
||||||
this.PID1_textBox.Size = new System.Drawing.Size(69, 29);
|
this.PID1_textBox.Size = new System.Drawing.Size(69, 25);
|
||||||
this.PID1_textBox.TabIndex = 7;
|
this.PID1_textBox.TabIndex = 7;
|
||||||
//
|
//
|
||||||
// label2
|
// label2
|
||||||
|
@ -205,7 +205,7 @@
|
||||||
this.label2.AutoSize = true;
|
this.label2.AutoSize = true;
|
||||||
this.label2.Location = new System.Drawing.Point(20, 102);
|
this.label2.Location = new System.Drawing.Point(20, 102);
|
||||||
this.label2.Name = "label2";
|
this.label2.Name = "label2";
|
||||||
this.label2.Size = new System.Drawing.Size(129, 23);
|
this.label2.Size = new System.Drawing.Size(107, 20);
|
||||||
this.label2.TabIndex = 6;
|
this.label2.TabIndex = 6;
|
||||||
this.label2.Text = "Page ID : From";
|
this.label2.Text = "Page ID : From";
|
||||||
//
|
//
|
||||||
|
@ -215,7 +215,7 @@
|
||||||
this.BID_textBox.Location = new System.Drawing.Point(598, 48);
|
this.BID_textBox.Location = new System.Drawing.Point(598, 48);
|
||||||
this.BID_textBox.Name = "BID_textBox";
|
this.BID_textBox.Name = "BID_textBox";
|
||||||
this.BID_textBox.ReadOnly = true;
|
this.BID_textBox.ReadOnly = true;
|
||||||
this.BID_textBox.Size = new System.Drawing.Size(70, 29);
|
this.BID_textBox.Size = new System.Drawing.Size(70, 25);
|
||||||
this.BID_textBox.TabIndex = 5;
|
this.BID_textBox.TabIndex = 5;
|
||||||
//
|
//
|
||||||
// label1
|
// label1
|
||||||
|
@ -223,7 +223,7 @@
|
||||||
this.label1.AutoSize = true;
|
this.label1.AutoSize = true;
|
||||||
this.label1.Location = new System.Drawing.Point(508, 50);
|
this.label1.Location = new System.Drawing.Point(508, 50);
|
||||||
this.label1.Name = "label1";
|
this.label1.Name = "label1";
|
||||||
this.label1.Size = new System.Drawing.Size(84, 23);
|
this.label1.Size = new System.Drawing.Size(70, 20);
|
||||||
this.label1.TabIndex = 4;
|
this.label1.TabIndex = 4;
|
||||||
this.label1.Text = "Book ID :";
|
this.label1.Text = "Book ID :";
|
||||||
//
|
//
|
||||||
|
@ -238,10 +238,10 @@
|
||||||
this.PDF_groupBox.Enabled = false;
|
this.PDF_groupBox.Enabled = false;
|
||||||
this.PDF_groupBox.Location = new System.Drawing.Point(18, 189);
|
this.PDF_groupBox.Location = new System.Drawing.Point(18, 189);
|
||||||
this.PDF_groupBox.Name = "PDF_groupBox";
|
this.PDF_groupBox.Name = "PDF_groupBox";
|
||||||
this.PDF_groupBox.Size = new System.Drawing.Size(683, 275);
|
this.PDF_groupBox.Size = new System.Drawing.Size(683, 111);
|
||||||
this.PDF_groupBox.TabIndex = 6;
|
this.PDF_groupBox.TabIndex = 6;
|
||||||
this.PDF_groupBox.TabStop = false;
|
this.PDF_groupBox.TabStop = false;
|
||||||
this.PDF_groupBox.Text = "Select PDF to Generate Tmatrix Code";
|
this.PDF_groupBox.Text = "Select PDF to Generate Code";
|
||||||
//
|
//
|
||||||
// groupBox2
|
// groupBox2
|
||||||
//
|
//
|
||||||
|
@ -267,17 +267,18 @@
|
||||||
this.groupBox2.Controls.Add(this.X1_textBox);
|
this.groupBox2.Controls.Add(this.X1_textBox);
|
||||||
this.groupBox2.Location = new System.Drawing.Point(17, 85);
|
this.groupBox2.Location = new System.Drawing.Point(17, 85);
|
||||||
this.groupBox2.Name = "groupBox2";
|
this.groupBox2.Name = "groupBox2";
|
||||||
this.groupBox2.Size = new System.Drawing.Size(602, 174);
|
this.groupBox2.Size = new System.Drawing.Size(602, 10);
|
||||||
this.groupBox2.TabIndex = 13;
|
this.groupBox2.TabIndex = 13;
|
||||||
this.groupBox2.TabStop = false;
|
this.groupBox2.TabStop = false;
|
||||||
this.groupBox2.Text = "Partial Area Code";
|
this.groupBox2.Text = "Partial Area Code";
|
||||||
|
this.groupBox2.Visible = false;
|
||||||
//
|
//
|
||||||
// label13
|
// label13
|
||||||
//
|
//
|
||||||
this.label13.AutoSize = true;
|
this.label13.AutoSize = true;
|
||||||
this.label13.Location = new System.Drawing.Point(3, 134);
|
this.label13.Location = new System.Drawing.Point(3, 134);
|
||||||
this.label13.Name = "label13";
|
this.label13.Name = "label13";
|
||||||
this.label13.Size = new System.Drawing.Size(30, 23);
|
this.label13.Size = new System.Drawing.Size(26, 20);
|
||||||
this.label13.TabIndex = 21;
|
this.label13.TabIndex = 21;
|
||||||
this.label13.Text = "P3";
|
this.label13.Text = "P3";
|
||||||
//
|
//
|
||||||
|
@ -286,7 +287,7 @@
|
||||||
this.label12.AutoSize = true;
|
this.label12.AutoSize = true;
|
||||||
this.label12.Location = new System.Drawing.Point(3, 100);
|
this.label12.Location = new System.Drawing.Point(3, 100);
|
||||||
this.label12.Name = "label12";
|
this.label12.Name = "label12";
|
||||||
this.label12.Size = new System.Drawing.Size(30, 23);
|
this.label12.Size = new System.Drawing.Size(26, 20);
|
||||||
this.label12.TabIndex = 20;
|
this.label12.TabIndex = 20;
|
||||||
this.label12.Text = "P2";
|
this.label12.Text = "P2";
|
||||||
//
|
//
|
||||||
|
@ -295,7 +296,7 @@
|
||||||
this.label11.AutoSize = true;
|
this.label11.AutoSize = true;
|
||||||
this.label11.Location = new System.Drawing.Point(3, 65);
|
this.label11.Location = new System.Drawing.Point(3, 65);
|
||||||
this.label11.Name = "label11";
|
this.label11.Name = "label11";
|
||||||
this.label11.Size = new System.Drawing.Size(30, 23);
|
this.label11.Size = new System.Drawing.Size(26, 20);
|
||||||
this.label11.TabIndex = 19;
|
this.label11.TabIndex = 19;
|
||||||
this.label11.Text = "P1";
|
this.label11.Text = "P1";
|
||||||
//
|
//
|
||||||
|
@ -315,7 +316,7 @@
|
||||||
this.label10.AutoSize = true;
|
this.label10.AutoSize = true;
|
||||||
this.label10.Location = new System.Drawing.Point(306, 30);
|
this.label10.Location = new System.Drawing.Point(306, 30);
|
||||||
this.label10.Name = "label10";
|
this.label10.Name = "label10";
|
||||||
this.label10.Size = new System.Drawing.Size(65, 23);
|
this.label10.Size = new System.Drawing.Size(55, 20);
|
||||||
this.label10.TabIndex = 15;
|
this.label10.TabIndex = 15;
|
||||||
this.label10.Text = "Height";
|
this.label10.Text = "Height";
|
||||||
//
|
//
|
||||||
|
@ -324,7 +325,7 @@
|
||||||
this.label9.AutoSize = true;
|
this.label9.AutoSize = true;
|
||||||
this.label9.Location = new System.Drawing.Point(222, 31);
|
this.label9.Location = new System.Drawing.Point(222, 31);
|
||||||
this.label9.Name = "label9";
|
this.label9.Name = "label9";
|
||||||
this.label9.Size = new System.Drawing.Size(59, 23);
|
this.label9.Size = new System.Drawing.Size(50, 20);
|
||||||
this.label9.TabIndex = 14;
|
this.label9.TabIndex = 14;
|
||||||
this.label9.Text = "Width";
|
this.label9.Text = "Width";
|
||||||
//
|
//
|
||||||
|
@ -333,7 +334,7 @@
|
||||||
this.label8.AutoSize = true;
|
this.label8.AutoSize = true;
|
||||||
this.label8.Location = new System.Drawing.Point(126, 30);
|
this.label8.Location = new System.Drawing.Point(126, 30);
|
||||||
this.label8.Name = "label8";
|
this.label8.Name = "label8";
|
||||||
this.label8.Size = new System.Drawing.Size(69, 23);
|
this.label8.Size = new System.Drawing.Size(57, 20);
|
||||||
this.label8.TabIndex = 13;
|
this.label8.TabIndex = 13;
|
||||||
this.label8.Text = "Y (Top)";
|
this.label8.Text = "Y (Top)";
|
||||||
//
|
//
|
||||||
|
@ -342,7 +343,7 @@
|
||||||
this.label6.AutoSize = true;
|
this.label6.AutoSize = true;
|
||||||
this.label6.Location = new System.Drawing.Point(34, 30);
|
this.label6.Location = new System.Drawing.Point(34, 30);
|
||||||
this.label6.Name = "label6";
|
this.label6.Name = "label6";
|
||||||
this.label6.Size = new System.Drawing.Size(69, 23);
|
this.label6.Size = new System.Drawing.Size(57, 20);
|
||||||
this.label6.TabIndex = 12;
|
this.label6.TabIndex = 12;
|
||||||
this.label6.Text = "X (Left)";
|
this.label6.Text = "X (Left)";
|
||||||
//
|
//
|
||||||
|
@ -351,7 +352,7 @@
|
||||||
this.H3_textBox.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
this.H3_textBox.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
||||||
this.H3_textBox.Location = new System.Drawing.Point(306, 131);
|
this.H3_textBox.Location = new System.Drawing.Point(306, 131);
|
||||||
this.H3_textBox.Name = "H3_textBox";
|
this.H3_textBox.Name = "H3_textBox";
|
||||||
this.H3_textBox.Size = new System.Drawing.Size(69, 29);
|
this.H3_textBox.Size = new System.Drawing.Size(69, 25);
|
||||||
this.H3_textBox.TabIndex = 11;
|
this.H3_textBox.TabIndex = 11;
|
||||||
this.H3_textBox.Text = "1500";
|
this.H3_textBox.Text = "1500";
|
||||||
//
|
//
|
||||||
|
@ -360,7 +361,7 @@
|
||||||
this.H2_textBox.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
this.H2_textBox.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
||||||
this.H2_textBox.Location = new System.Drawing.Point(306, 96);
|
this.H2_textBox.Location = new System.Drawing.Point(306, 96);
|
||||||
this.H2_textBox.Name = "H2_textBox";
|
this.H2_textBox.Name = "H2_textBox";
|
||||||
this.H2_textBox.Size = new System.Drawing.Size(69, 29);
|
this.H2_textBox.Size = new System.Drawing.Size(69, 25);
|
||||||
this.H2_textBox.TabIndex = 10;
|
this.H2_textBox.TabIndex = 10;
|
||||||
this.H2_textBox.Text = "1500";
|
this.H2_textBox.Text = "1500";
|
||||||
//
|
//
|
||||||
|
@ -369,7 +370,7 @@
|
||||||
this.H1_textBox.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
this.H1_textBox.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
||||||
this.H1_textBox.Location = new System.Drawing.Point(306, 61);
|
this.H1_textBox.Location = new System.Drawing.Point(306, 61);
|
||||||
this.H1_textBox.Name = "H1_textBox";
|
this.H1_textBox.Name = "H1_textBox";
|
||||||
this.H1_textBox.Size = new System.Drawing.Size(69, 29);
|
this.H1_textBox.Size = new System.Drawing.Size(69, 25);
|
||||||
this.H1_textBox.TabIndex = 9;
|
this.H1_textBox.TabIndex = 9;
|
||||||
this.H1_textBox.Text = "1500";
|
this.H1_textBox.Text = "1500";
|
||||||
//
|
//
|
||||||
|
@ -378,7 +379,7 @@
|
||||||
this.W3_textBox.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
this.W3_textBox.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
||||||
this.W3_textBox.Location = new System.Drawing.Point(217, 132);
|
this.W3_textBox.Location = new System.Drawing.Point(217, 132);
|
||||||
this.W3_textBox.Name = "W3_textBox";
|
this.W3_textBox.Name = "W3_textBox";
|
||||||
this.W3_textBox.Size = new System.Drawing.Size(69, 29);
|
this.W3_textBox.Size = new System.Drawing.Size(69, 25);
|
||||||
this.W3_textBox.TabIndex = 8;
|
this.W3_textBox.TabIndex = 8;
|
||||||
this.W3_textBox.Text = "1500";
|
this.W3_textBox.Text = "1500";
|
||||||
//
|
//
|
||||||
|
@ -387,7 +388,7 @@
|
||||||
this.W2_textBox.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
this.W2_textBox.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
||||||
this.W2_textBox.Location = new System.Drawing.Point(217, 97);
|
this.W2_textBox.Location = new System.Drawing.Point(217, 97);
|
||||||
this.W2_textBox.Name = "W2_textBox";
|
this.W2_textBox.Name = "W2_textBox";
|
||||||
this.W2_textBox.Size = new System.Drawing.Size(69, 29);
|
this.W2_textBox.Size = new System.Drawing.Size(69, 25);
|
||||||
this.W2_textBox.TabIndex = 7;
|
this.W2_textBox.TabIndex = 7;
|
||||||
this.W2_textBox.Text = "1500";
|
this.W2_textBox.Text = "1500";
|
||||||
//
|
//
|
||||||
|
@ -396,7 +397,7 @@
|
||||||
this.W1_textBox.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
this.W1_textBox.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
||||||
this.W1_textBox.Location = new System.Drawing.Point(217, 62);
|
this.W1_textBox.Location = new System.Drawing.Point(217, 62);
|
||||||
this.W1_textBox.Name = "W1_textBox";
|
this.W1_textBox.Name = "W1_textBox";
|
||||||
this.W1_textBox.Size = new System.Drawing.Size(69, 29);
|
this.W1_textBox.Size = new System.Drawing.Size(69, 25);
|
||||||
this.W1_textBox.TabIndex = 6;
|
this.W1_textBox.TabIndex = 6;
|
||||||
this.W1_textBox.Text = "1500";
|
this.W1_textBox.Text = "1500";
|
||||||
//
|
//
|
||||||
|
@ -405,7 +406,7 @@
|
||||||
this.Y3_textBox.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
this.Y3_textBox.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
||||||
this.Y3_textBox.Location = new System.Drawing.Point(126, 132);
|
this.Y3_textBox.Location = new System.Drawing.Point(126, 132);
|
||||||
this.Y3_textBox.Name = "Y3_textBox";
|
this.Y3_textBox.Name = "Y3_textBox";
|
||||||
this.Y3_textBox.Size = new System.Drawing.Size(69, 29);
|
this.Y3_textBox.Size = new System.Drawing.Size(69, 25);
|
||||||
this.Y3_textBox.TabIndex = 5;
|
this.Y3_textBox.TabIndex = 5;
|
||||||
this.Y3_textBox.Text = "3000";
|
this.Y3_textBox.Text = "3000";
|
||||||
//
|
//
|
||||||
|
@ -414,7 +415,7 @@
|
||||||
this.Y2_textBox.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
this.Y2_textBox.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
||||||
this.Y2_textBox.Location = new System.Drawing.Point(126, 97);
|
this.Y2_textBox.Location = new System.Drawing.Point(126, 97);
|
||||||
this.Y2_textBox.Name = "Y2_textBox";
|
this.Y2_textBox.Name = "Y2_textBox";
|
||||||
this.Y2_textBox.Size = new System.Drawing.Size(69, 29);
|
this.Y2_textBox.Size = new System.Drawing.Size(69, 25);
|
||||||
this.Y2_textBox.TabIndex = 4;
|
this.Y2_textBox.TabIndex = 4;
|
||||||
this.Y2_textBox.Text = "1500";
|
this.Y2_textBox.Text = "1500";
|
||||||
//
|
//
|
||||||
|
@ -423,7 +424,7 @@
|
||||||
this.Y1_textBox.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
this.Y1_textBox.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
||||||
this.Y1_textBox.Location = new System.Drawing.Point(126, 62);
|
this.Y1_textBox.Location = new System.Drawing.Point(126, 62);
|
||||||
this.Y1_textBox.Name = "Y1_textBox";
|
this.Y1_textBox.Name = "Y1_textBox";
|
||||||
this.Y1_textBox.Size = new System.Drawing.Size(69, 29);
|
this.Y1_textBox.Size = new System.Drawing.Size(69, 25);
|
||||||
this.Y1_textBox.TabIndex = 3;
|
this.Y1_textBox.TabIndex = 3;
|
||||||
this.Y1_textBox.Text = "0";
|
this.Y1_textBox.Text = "0";
|
||||||
//
|
//
|
||||||
|
@ -432,7 +433,7 @@
|
||||||
this.X3_textBox.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
this.X3_textBox.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
||||||
this.X3_textBox.Location = new System.Drawing.Point(33, 132);
|
this.X3_textBox.Location = new System.Drawing.Point(33, 132);
|
||||||
this.X3_textBox.Name = "X3_textBox";
|
this.X3_textBox.Name = "X3_textBox";
|
||||||
this.X3_textBox.Size = new System.Drawing.Size(69, 29);
|
this.X3_textBox.Size = new System.Drawing.Size(69, 25);
|
||||||
this.X3_textBox.TabIndex = 2;
|
this.X3_textBox.TabIndex = 2;
|
||||||
this.X3_textBox.Text = "3000";
|
this.X3_textBox.Text = "3000";
|
||||||
//
|
//
|
||||||
|
@ -441,7 +442,7 @@
|
||||||
this.X2_textBox.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
this.X2_textBox.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
||||||
this.X2_textBox.Location = new System.Drawing.Point(33, 97);
|
this.X2_textBox.Location = new System.Drawing.Point(33, 97);
|
||||||
this.X2_textBox.Name = "X2_textBox";
|
this.X2_textBox.Name = "X2_textBox";
|
||||||
this.X2_textBox.Size = new System.Drawing.Size(69, 29);
|
this.X2_textBox.Size = new System.Drawing.Size(69, 25);
|
||||||
this.X2_textBox.TabIndex = 1;
|
this.X2_textBox.TabIndex = 1;
|
||||||
this.X2_textBox.Text = "1500";
|
this.X2_textBox.Text = "1500";
|
||||||
//
|
//
|
||||||
|
@ -450,7 +451,7 @@
|
||||||
this.X1_textBox.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
this.X1_textBox.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
||||||
this.X1_textBox.Location = new System.Drawing.Point(33, 62);
|
this.X1_textBox.Location = new System.Drawing.Point(33, 62);
|
||||||
this.X1_textBox.Name = "X1_textBox";
|
this.X1_textBox.Name = "X1_textBox";
|
||||||
this.X1_textBox.Size = new System.Drawing.Size(69, 29);
|
this.X1_textBox.Size = new System.Drawing.Size(69, 25);
|
||||||
this.X1_textBox.TabIndex = 0;
|
this.X1_textBox.TabIndex = 0;
|
||||||
this.X1_textBox.Text = "0";
|
this.X1_textBox.Text = "0";
|
||||||
//
|
//
|
||||||
|
@ -471,7 +472,7 @@
|
||||||
this.FName_textBox.ForeColor = System.Drawing.Color.Navy;
|
this.FName_textBox.ForeColor = System.Drawing.Color.Navy;
|
||||||
this.FName_textBox.Location = new System.Drawing.Point(18, 302);
|
this.FName_textBox.Location = new System.Drawing.Point(18, 302);
|
||||||
this.FName_textBox.Name = "FName_textBox";
|
this.FName_textBox.Name = "FName_textBox";
|
||||||
this.FName_textBox.Size = new System.Drawing.Size(539, 27);
|
this.FName_textBox.Size = new System.Drawing.Size(539, 23);
|
||||||
this.FName_textBox.TabIndex = 12;
|
this.FName_textBox.TabIndex = 12;
|
||||||
this.FName_textBox.Visible = false;
|
this.FName_textBox.Visible = false;
|
||||||
//
|
//
|
||||||
|
@ -481,7 +482,7 @@
|
||||||
this.SPID_textBox.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
this.SPID_textBox.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
||||||
this.SPID_textBox.Location = new System.Drawing.Point(297, 47);
|
this.SPID_textBox.Location = new System.Drawing.Point(297, 47);
|
||||||
this.SPID_textBox.Name = "SPID_textBox";
|
this.SPID_textBox.Name = "SPID_textBox";
|
||||||
this.SPID_textBox.Size = new System.Drawing.Size(74, 29);
|
this.SPID_textBox.Size = new System.Drawing.Size(74, 25);
|
||||||
this.SPID_textBox.TabIndex = 7;
|
this.SPID_textBox.TabIndex = 7;
|
||||||
this.SPID_textBox.Text = "0";
|
this.SPID_textBox.Text = "0";
|
||||||
//
|
//
|
||||||
|
@ -490,13 +491,13 @@
|
||||||
this.label5.AutoSize = true;
|
this.label5.AutoSize = true;
|
||||||
this.label5.Location = new System.Drawing.Point(169, 49);
|
this.label5.Location = new System.Drawing.Point(169, 49);
|
||||||
this.label5.Name = "label5";
|
this.label5.Name = "label5";
|
||||||
this.label5.Size = new System.Drawing.Size(124, 23);
|
this.label5.Size = new System.Drawing.Size(104, 20);
|
||||||
this.label5.TabIndex = 6;
|
this.label5.TabIndex = 6;
|
||||||
this.label5.Text = "Start Page ID :";
|
this.label5.Text = "Start Page ID :";
|
||||||
//
|
//
|
||||||
// Exit_button
|
// Exit_button
|
||||||
//
|
//
|
||||||
this.Exit_button.Location = new System.Drawing.Point(632, 481);
|
this.Exit_button.Location = new System.Drawing.Point(632, 306);
|
||||||
this.Exit_button.Name = "Exit_button";
|
this.Exit_button.Name = "Exit_button";
|
||||||
this.Exit_button.Size = new System.Drawing.Size(69, 37);
|
this.Exit_button.Size = new System.Drawing.Size(69, 37);
|
||||||
this.Exit_button.TabIndex = 8;
|
this.Exit_button.TabIndex = 8;
|
||||||
|
@ -514,9 +515,9 @@
|
||||||
//
|
//
|
||||||
// Tmatrix_Form
|
// Tmatrix_Form
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 23F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(716, 528);
|
this.ClientSize = new System.Drawing.Size(716, 352);
|
||||||
this.Controls.Add(this.panel1);
|
this.Controls.Add(this.panel1);
|
||||||
this.Controls.Add(this.Exit_button);
|
this.Controls.Add(this.Exit_button);
|
||||||
this.Controls.Add(this.PDF_groupBox);
|
this.Controls.Add(this.PDF_groupBox);
|
||||||
|
@ -528,7 +529,7 @@
|
||||||
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||||
this.MaximizeBox = false;
|
this.MaximizeBox = false;
|
||||||
this.Name = "Tmatrix_Form";
|
this.Name = "Tmatrix_Form";
|
||||||
this.Text = "Tmatrix Code Generator OID4 (V1.1.1)";
|
this.Text = "NetEase 100 Smart Pen";
|
||||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Tmatrix_Form_FormClosing);
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Tmatrix_Form_FormClosing);
|
||||||
this.groupBox1.ResumeLayout(false);
|
this.groupBox1.ResumeLayout(false);
|
||||||
this.groupBox1.PerformLayout();
|
this.groupBox1.PerformLayout();
|
||||||
|
|
|
@ -48,7 +48,7 @@ namespace TmatrixCodeGenerator
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
if (TMC.TmatrixInitialize() == false)
|
if (TMC.TmatrixInitialize() == false)
|
||||||
{
|
{
|
||||||
MessageBox.Show(this, "Tmatrix code generator initialize fail !", "Tmatrix Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
MessageBox.Show(this, "Code Generator initialize fail !", "Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
Close();
|
Close();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -63,7 +63,7 @@ namespace TmatrixCodeGenerator
|
||||||
if (GlobalClass.gbGenPageSet == false) return;
|
if (GlobalClass.gbGenPageSet == false) return;
|
||||||
if (gbInitDone == false)
|
if (gbInitDone == false)
|
||||||
{
|
{
|
||||||
MessageBox.Show(this, "Tmatrix code generator initialize fail !", "Tmatrix Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
MessageBox.Show(this, "Code Generator initialize fail !", "Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
int SPID = 0;
|
int SPID = 0;
|
||||||
|
@ -73,10 +73,10 @@ namespace TmatrixCodeGenerator
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
MessageBox.Show(this, "Please input correct format for start page ID !", "Tmatrix Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
MessageBox.Show(this, "Please input correct format for start page ID !", "Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
MessageBox.Show(this, "Generating Tmatrix code...........", "Tmatrix Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
MessageBox.Show(this, "Generating code...........", "Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
this.Hide();
|
this.Hide();
|
||||||
//int PointType = (int)(TMATRIX_POINT_TYPE.TmatrixPointType_3x3);
|
//int PointType = (int)(TMATRIX_POINT_TYPE.TmatrixPointType_3x3);
|
||||||
//string sGenerateResult = TMC.GenerateTmatrixCode(gKeyStr, PDFFileName, SPID, PointType, GlobalClass.gbGenerateBGWithVImage, GlobalClass.gbGenerateVImage, GlobalClass.gbGenerateBGWithoutVImage, GlobalClass.gbGenerateBGWithImage);
|
//string sGenerateResult = TMC.GenerateTmatrixCode(gKeyStr, PDFFileName, SPID, PointType, GlobalClass.gbGenerateBGWithVImage, GlobalClass.gbGenerateVImage, GlobalClass.gbGenerateBGWithoutVImage, GlobalClass.gbGenerateBGWithImage);
|
||||||
|
@ -90,7 +90,7 @@ namespace TmatrixCodeGenerator
|
||||||
if (sGenerateResult.Substring(0, 1) == "1")
|
if (sGenerateResult.Substring(0, 1) == "1")
|
||||||
{
|
{
|
||||||
this.Show();
|
this.Show();
|
||||||
MessageBox.Show(this, sGenerateResult.Substring(1, sGenerateResult.Length - 1), "Tmatrix Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
MessageBox.Show(this, sGenerateResult.Substring(1, sGenerateResult.Length - 1), "Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||||
}
|
}
|
||||||
else if (sGenerateResult.Substring(0, 1) == "0")
|
else if (sGenerateResult.Substring(0, 1) == "0")
|
||||||
{
|
{
|
||||||
|
@ -111,7 +111,7 @@ namespace TmatrixCodeGenerator
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
this.Show();
|
this.Show();
|
||||||
MessageBox.Show(this, sGenerateResult.Substring(1, sGenerateResult.Length - 1), "Tmatrix Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
MessageBox.Show(this, sGenerateResult.Substring(1, sGenerateResult.Length - 1), "Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -123,7 +123,7 @@ namespace TmatrixCodeGenerator
|
||||||
if (GlobalClass.gbGenPageSet == false) return;
|
if (GlobalClass.gbGenPageSet == false) return;
|
||||||
if (gbInitDone == false)
|
if (gbInitDone == false)
|
||||||
{
|
{
|
||||||
MessageBox.Show(this, "Tmatrix code generator initialize fail !", "Tmatrix Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
MessageBox.Show(this, "Code Generator initialize fail !", "Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
int SPID = 0;
|
int SPID = 0;
|
||||||
|
@ -133,24 +133,24 @@ namespace TmatrixCodeGenerator
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
MessageBox.Show(this, "Please input correct format for start page ID !", "Tmatrix Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
MessageBox.Show(this, "Please input correct format for start page ID !", "Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
MessageBox.Show(this, "Generating Tmatrix code...........", "Tmatrix Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
MessageBox.Show(this, "Generating code...........", "Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
this.Hide();
|
this.Hide();
|
||||||
int PointType = (int)(TMATRIX_POINT_TYPE.TmatrixPointType_3x3);
|
int PointType = (int)(TMATRIX_POINT_TYPE.TmatrixPointType_3x3);
|
||||||
string sGenerateResult = TMC.GenerateTmatrixCode(gKeyStr, PDFFileName, SPID, PointType, GlobalClass.gbGenerateBGWithVImage, GlobalClass.gbGenerateVImage, GlobalClass.gbGenerateBGWithoutVImage, GlobalClass.gbGenerateBGWithImage);
|
string sGenerateResult = TMC.GenerateTmatrixCode(gKeyStr, PDFFileName, SPID, PointType, GlobalClass.gbGenerateBGWithVImage, GlobalClass.gbGenerateVImage, GlobalClass.gbGenerateBGWithoutVImage, GlobalClass.gbGenerateBGWithImage);
|
||||||
if (sGenerateResult.Substring(0, 1) == "1")
|
if (sGenerateResult.Substring(0, 1) == "1")
|
||||||
{
|
{
|
||||||
this.Show();
|
this.Show();
|
||||||
MessageBox.Show(this, sGenerateResult.Substring(1, sGenerateResult.Length - 1), "Tmatrix Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
MessageBox.Show(this, sGenerateResult.Substring(1, sGenerateResult.Length - 1), "Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||||
}
|
}
|
||||||
else if (sGenerateResult.Substring(0, 1) == "0")
|
else if (sGenerateResult.Substring(0, 1) == "0")
|
||||||
{
|
{
|
||||||
gDirectory = Path.GetDirectoryName(PDFFileName);
|
gDirectory = Path.GetDirectoryName(PDFFileName);
|
||||||
gFileName = Path.GetFileName(PDFFileName);
|
gFileName = Path.GetFileName(PDFFileName);
|
||||||
this.Show();
|
this.Show();
|
||||||
MessageBox.Show(this, sGenerateResult.Substring(1, sGenerateResult.Length - 1), "Tmatrix Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
MessageBox.Show(this, sGenerateResult.Substring(1, sGenerateResult.Length - 1), "Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -199,7 +199,7 @@ namespace TmatrixCodeGenerator
|
||||||
|
|
||||||
if (KeyCheckResult.Substring(0, 1) == "1")
|
if (KeyCheckResult.Substring(0, 1) == "1")
|
||||||
{
|
{
|
||||||
MessageBox.Show(this, KeyCheckResult.Substring(1, KeyCheckResult.Length - 1), "Tmatrix Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
MessageBox.Show(this, KeyCheckResult.Substring(1, KeyCheckResult.Length - 1), "Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||||
}
|
}
|
||||||
else if (KeyCheckResult.Substring(0, 1) == "0")
|
else if (KeyCheckResult.Substring(0, 1) == "0")
|
||||||
{
|
{
|
||||||
|
@ -226,7 +226,7 @@ namespace TmatrixCodeGenerator
|
||||||
if (GlobalClass.gbGenPageSet == false) return;
|
if (GlobalClass.gbGenPageSet == false) return;
|
||||||
if (gbInitDone == false)
|
if (gbInitDone == false)
|
||||||
{
|
{
|
||||||
MessageBox.Show(this, "Tmatrix code generator initialize fail !", "Tmatrix Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
MessageBox.Show(this, "Code Generator initialize fail !", "Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
int SPID = 0;
|
int SPID = 0;
|
||||||
|
@ -236,10 +236,10 @@ namespace TmatrixCodeGenerator
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
MessageBox.Show(this, "Please input correct format for start page ID !", "Tmatrix Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
MessageBox.Show(this, "Please input correct format for start page ID !", "Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
MessageBox.Show(this, "Generating Tmatrix code...........", "Tmatrix Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
MessageBox.Show(this, "Generating code...........", "Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
this.Hide();
|
this.Hide();
|
||||||
//int PointType = (int)(TMATRIX_POINT_TYPE.TmatrixPointType_3x3);
|
//int PointType = (int)(TMATRIX_POINT_TYPE.TmatrixPointType_3x3);
|
||||||
|
|
||||||
|
@ -280,14 +280,14 @@ namespace TmatrixCodeGenerator
|
||||||
if (sGenerateResult.Substring(0, 1) == "1")
|
if (sGenerateResult.Substring(0, 1) == "1")
|
||||||
{
|
{
|
||||||
this.Show();
|
this.Show();
|
||||||
MessageBox.Show(this, sGenerateResult.Substring(1, sGenerateResult.Length - 1), "Tmatrix Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
MessageBox.Show(this, sGenerateResult.Substring(1, sGenerateResult.Length - 1), "Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||||
}
|
}
|
||||||
else if (sGenerateResult.Substring(0, 1) == "0")
|
else if (sGenerateResult.Substring(0, 1) == "0")
|
||||||
{
|
{
|
||||||
gDirectory = Path.GetDirectoryName(PDFFileName);
|
gDirectory = Path.GetDirectoryName(PDFFileName);
|
||||||
gFileName = Path.GetFileName(PDFFileName);
|
gFileName = Path.GetFileName(PDFFileName);
|
||||||
this.Show();
|
this.Show();
|
||||||
MessageBox.Show(this, sGenerateResult.Substring(1, sGenerateResult.Length - 1), "Tmatrix Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
MessageBox.Show(this, sGenerateResult.Substring(1, sGenerateResult.Length - 1), "Code Generator", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1 @@
|
||||||
|
9d421bd4a3606649be5c7794adea76d51c28db57
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,40 @@
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator3\TmatrixCodeGenerator\bin\Release\TmatrixCodeGenerator.exe.config
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator3\TmatrixCodeGenerator\bin\Release\TmatrixCodeGenerator.exe
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator3\TmatrixCodeGenerator\bin\Release\TmatrixCodeGenerator.pdb
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator3\TmatrixCodeGenerator\bin\Release\AxInterop.AcroPDFLib.dll
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator3\TmatrixCodeGenerator\bin\Release\DocumentTools.dll
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator3\TmatrixCodeGenerator\bin\Release\DrawToolsLib.dll
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator3\TmatrixCodeGenerator\bin\Release\itextsharp.dll
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator3\TmatrixCodeGenerator\bin\Release\Interop.AcroPDFLib.dll
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator3\TmatrixCodeGenerator\obj\Release\Interop.Acrobat.dll
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator3\TmatrixCodeGenerator\obj\Release\Interop.AcroPDFLib.dll
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator3\TmatrixCodeGenerator\obj\Release\Interop.AFORMAUTLib.dll
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator3\TmatrixCodeGenerator\obj\Release\TmatrixSDK_OID4.csproj.ResolveComReference.cache
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator3\TmatrixCodeGenerator\obj\Release\TmatrixCodeGenerator.GenerateCode_Form.resources
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator3\TmatrixCodeGenerator\obj\Release\TmatrixCodeGenerator.Properties.Resources.resources
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator3\TmatrixCodeGenerator\obj\Release\TmatrixCodeGenerator.Tmatrix_Form.resources
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator3\TmatrixCodeGenerator\obj\Release\TmatrixSDK_OID4.csproj.GenerateResource.cache
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator3\TmatrixCodeGenerator\obj\Release\TmatrixSDK_OID4.csproj.CoreCompileInputs.cache
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator3\TmatrixCodeGenerator\obj\Release\TmatrixSDK_OID4.csproj.CopyComplete
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator3\TmatrixCodeGenerator\obj\Release\TmatrixCodeGenerator.exe
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator3\TmatrixCodeGenerator\obj\Release\TmatrixCodeGenerator.pdb
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator\TmatrixCodeGenerator\bin\Release\TmatrixCodeGenerator.exe.config
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator\TmatrixCodeGenerator\bin\Release\TmatrixCodeGenerator.exe
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator\TmatrixCodeGenerator\bin\Release\TmatrixCodeGenerator.pdb
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator\TmatrixCodeGenerator\bin\Release\AxInterop.AcroPDFLib.dll
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator\TmatrixCodeGenerator\bin\Release\DocumentTools.dll
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator\TmatrixCodeGenerator\bin\Release\DrawToolsLib.dll
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator\TmatrixCodeGenerator\bin\Release\itextsharp.dll
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator\TmatrixCodeGenerator\bin\Release\Interop.AcroPDFLib.dll
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator\TmatrixCodeGenerator\obj\Release\Interop.Acrobat.dll
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator\TmatrixCodeGenerator\obj\Release\Interop.AcroPDFLib.dll
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator\TmatrixCodeGenerator\obj\Release\Interop.AFORMAUTLib.dll
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator\TmatrixCodeGenerator\obj\Release\TmatrixSDK_OID4.csproj.ResolveComReference.cache
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator\TmatrixCodeGenerator\obj\Release\TmatrixCodeGenerator.GenerateCode_Form.resources
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator\TmatrixCodeGenerator\obj\Release\TmatrixCodeGenerator.Properties.Resources.resources
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator\TmatrixCodeGenerator\obj\Release\TmatrixCodeGenerator.Tmatrix_Form.resources
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator\TmatrixCodeGenerator\obj\Release\TmatrixSDK_OID4.csproj.GenerateResource.cache
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator\TmatrixCodeGenerator\obj\Release\TmatrixSDK_OID4.csproj.CoreCompileInputs.cache
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator\TmatrixCodeGenerator\obj\Release\TmatrixSDK_OID4.csproj.CopyComplete
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator\TmatrixCodeGenerator\obj\Release\TmatrixCodeGenerator.exe
|
||||||
|
E:\NetEase\轨迹笔\Tmatrix SDK OID4 V2.1.2\TmatrixCodeGenerator\TmatrixCodeGenerator\obj\Release\TmatrixCodeGenerator.pdb
|
|
@ -0,0 +1,4 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packages>
|
||||||
|
<package id="Newtonsoft.Json" version="12.0.1" targetFramework="net40" />
|
||||||
|
</packages>
|
Binary file not shown.
|
@ -0,0 +1,20 @@
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2007 James Newton-King
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
BIN
packages/Newtonsoft.Json.12.0.1/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll
vendored
Normal file
BIN
packages/Newtonsoft.Json.12.0.1/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll
vendored
Normal file
Binary file not shown.
BIN
packages/Newtonsoft.Json.12.0.1/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.pdb
vendored
Normal file
BIN
packages/Newtonsoft.Json.12.0.1/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.pdb
vendored
Normal file
Binary file not shown.
8869
packages/Newtonsoft.Json.12.0.1/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.xml
vendored
Normal file
8869
packages/Newtonsoft.Json.12.0.1/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/Newtonsoft.Json.12.0.1/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll
vendored
Normal file
BIN
packages/Newtonsoft.Json.12.0.1/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll
vendored
Normal file
Binary file not shown.
BIN
packages/Newtonsoft.Json.12.0.1/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.pdb
vendored
Normal file
BIN
packages/Newtonsoft.Json.12.0.1/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.pdb
vendored
Normal file
Binary file not shown.
10809
packages/Newtonsoft.Json.12.0.1/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.xml
vendored
Normal file
10809
packages/Newtonsoft.Json.12.0.1/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue