protected virtual void OnPrinting(PrintingEventArgs e) { Printing?.Invoke(new object(), e); }
private static void Hp_Printing(object sender, PrintingEventArgs e) { Console.WriteLine("HP printer is printing paper number {0}", e.PaperCount); }