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