public void OnNewStock(BankEventArgs e) { EventHandler <BankEventArgs> temp = NewStock; temp?.Invoke(this, e); }
public void UpdateBank(object sender, BankEventArgs eventArgs) { Console.WriteLine($"{eventArgs.Euro} {eventArgs.USD}"); }