示例#1
0
 protected virtual void OnOverdrawn(OverdrawnEventArgs args)
 {
     if (Overdrawn != null)
     {
         Overdrawn(this, args);
     }
 }
示例#2
0
 public static void AccountLimitErrors2(object sender, OverdrawnEventArgs e)
 {
     Console.WriteLine($"{e.Text}  in function 2 Current : {e.CurrentBalance:C}   TXN : {e.TransactionAmount:C}", Color.Red);
 }