Esempio n. 1
0
 private void OnPrintProgress(object sender, PdfPrintProgressEventArgs e)
 {
     // BL-788 Only called in Linux version.  Protects against button
     // pushes while print is in progress.
     if (e.PrintInProgress)
     {
         SetDisplayMode(PublishModel.DisplayModes.Printing);
     }
     else
     {
         SetDisplayMode(PublishModel.DisplayModes.ResumeAfterPrint);
         UpdateDisplay();
     }
 }
Esempio n. 2
0
 private void OnPrintProgress(object sender, PdfPrintProgressEventArgs e)
 {
     // BL-788 Only called in Linux version.  Protects against button
     // pushes while print is in progress.
     if (e.PrintInProgress)
     {
         SetDisplayMode(PublishModel.DisplayModes.Printing);
     }
     else
     {
         SetDisplayMode(PublishModel.DisplayModes.ResumeAfterPrint);
         UpdateDisplay ();
     }
 }