Esempio n. 1
0
 public void PrintMoneyPass(int money)
 {
     NewNumInfoPass?.Invoke(this, new NumInfoEventArgsPass("PrintMoney"));
     Console.WriteLine("Money: {0:C}", money);
 }
Esempio n. 2
0
 public void PrintNumberPass(int num)
 {
     NewNumInfoPass?.Invoke(this, new NumInfoEventArgsPass("PrintNumber"));
     Console.WriteLine("Number: {0,-12:N0}", num);
 }