/// <summary>
 /// Shows C1PrintDocument content in a print preview dialog.
 /// </summary>
 private void Preview()
 {
     // generate the document
     if (PrintPreviewDialog != null)
     {
         _preview.Document = _printDoc.FixedDocumentSequence;
         _preview.ShowDialog();
         _preview.Activate();
         _preview = null;
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Shows C1PrintDocument content in a print preview dialog.
 /// </summary>
 private void Preview()
 {
     // generate the document
     if (PrintPreviewDialog != null)
     {
         _preview.Document = _printDoc.FixedDocumentSequence;
         _preview.ShowDialog();
         _preview.Activate();
         _preview = null;
     }
 }