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