Esempio n. 1
0
 protected virtual void OnPrintFailed(PrintFailedEventArgs e)
 {
     PrintFailed?.Invoke(new object(), e);
 }
Esempio n. 2
0
 private static void Hp_PrintFailed(object sender, PrintFailedEventArgs e)
 {
     Console.WriteLine("PRINT FAILED! There is no enough paper! Remaining {0} pages to print!", e.RemainingPages);
 }