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