Пример #1
0
 public void OnButtonClick(object source, CreditCardEventArgs e)
 {
     Console.WriteLine("Charging Card for payment for acc number {0}", e.Card.AccNumber);
 }
Пример #2
0
 public void OnButtonClick(object source, CreditCardEventArgs e)
 {
     Console.WriteLine("Saving card info of {0}", e.Card.CardHolder);
 }