|
@@ -62,24 +62,24 @@ namespace PDFViewer
|
|
|
|
|
|
LicenseVerify();
|
|
LicenseVerify();
|
|
CPDFSDKVerifier.PrintPermissions();
|
|
CPDFSDKVerifier.PrintPermissions();
|
|
- CPDFSDKVerifier.LicenseRefreshed -= CPDFSDKVerifier_LicenseRefreshed;
|
|
|
|
- CPDFSDKVerifier.LicenseRefreshed += CPDFSDKVerifier_LicenseRefreshed;
|
|
|
|
|
|
+ //CPDFSDKVerifier.LicenseRefreshed -= CPDFSDKVerifier_LicenseRefreshed;
|
|
|
|
+ //CPDFSDKVerifier.LicenseRefreshed += CPDFSDKVerifier_LicenseRefreshed;
|
|
HistoryFile(@"TestFile\ComPDFKit_Sample_File_Windows.pdf");
|
|
HistoryFile(@"TestFile\ComPDFKit_Sample_File_Windows.pdf");
|
|
FileHistoryHelper<PDFFileInfo>.Instance.LoadHistory();
|
|
FileHistoryHelper<PDFFileInfo>.Instance.LoadHistory();
|
|
}
|
|
}
|
|
|
|
|
|
- private void CPDFSDKVerifier_LicenseRefreshed(object sender, ResponseModel e)
|
|
|
|
- {
|
|
|
|
- if(e != null)
|
|
|
|
- {
|
|
|
|
- string message = string.Format("{0} {1}", e.Code, e.Message);
|
|
|
|
- Trace.WriteLine(message);
|
|
|
|
- }
|
|
|
|
- else
|
|
|
|
- {
|
|
|
|
- Trace.WriteLine("Network not connected.");
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+ //private void CPDFSDKVerifier_LicenseRefreshed(object sender, ResponseModel e)
|
|
|
|
+ //{
|
|
|
|
+ // if(e != null)
|
|
|
|
+ // {
|
|
|
|
+ // string message = string.Format("{0} {1}", e.Code, e.Message);
|
|
|
|
+ // Trace.WriteLine(message);
|
|
|
|
+ // }
|
|
|
|
+ // else
|
|
|
|
+ // {
|
|
|
|
+ // Trace.WriteLine("Network not connected.");
|
|
|
|
+ // }
|
|
|
|
+ //}
|
|
|
|
|
|
private void HistoryFile(string item)
|
|
private void HistoryFile(string item)
|
|
{
|
|
{
|