Exemplo n.º 1
0
 protected virtual void OnPrintFailed(PrintFailedEventArgs e)
 {
     PrintFailed?.Invoke(new object(), e);
 }
Exemplo 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);
 }