Exemple #1
0
 private void OutOfTonerEventHandler(object sender, OutOfTonerEventArgs args)
 {
     Console.WriteLine("[Printer log] Out of Range TONER" + args.Color);
 }
Exemple #2
0
 static void OutOfTonerEventHandler2(object sender, OutOfTonerEventArgs args)
 {
     Console.WriteLine("Please refill ink " + args.Color);
 }