|
@@ -62,24 +62,24 @@ namespace PDFViewer
|
|
|
|
|
|
LicenseVerify();
|
|
|
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");
|
|
|
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)
|
|
|
{
|