Beispiel #1
0
 void IDisplayPane.DisplayResource(IResource resource)
 {
     try
     {
         string FileName = Core.FileResourceManager.GetSourceFile(resource);
         Debug.Assert(!string.IsNullOrEmpty(FileName));
         _axPdf.LoadFile(FileName);
     }
     catch (Exception exc)
     {
         Core.ReportBackgroundException(exc);
     }
 }