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