Пример #1
0
        public void OnNewStock(BankEventArgs e)
        {
            EventHandler <BankEventArgs> temp = NewStock;

            temp?.Invoke(this, e);
        }
Пример #2
0
 public void UpdateBank(object sender, BankEventArgs eventArgs)
 {
     Console.WriteLine($"{eventArgs.Euro} {eventArgs.USD}");
 }