Ejemplo n.º 1
0
 public override void Load()
 {
     if (_doc != null)
     {
         return;
     }
     try
     {
         _doc = C1PrintDocument.FromFile(FileName, C1DocumentFormatEnum.C1dx);
     }
     catch
     {
         _doc = C1PrintDocument.FromFile(FileName, C1DocumentFormatEnum.C1d);
     }
     _doc.LongOperation += new LongOperationEventHandler(base.LongOperationHandler);
 }