//public event EventHandler<EventArgs> Event2; public void FireEvent(AddEventArgs1 ae) { Event(3, 5); EventArgs(ae); EventArgsObj1(this, ae); //Event2(this, null); }
public void SubscribedEventArgsObj(object s, AddEventArgs1 e) { Console.WriteLine("Am in Subscribed Event " + s.ToString() + " " + (e.a + e.b)); }
public void SubscribedEventArgs(AddEventArgs1 e) { Console.WriteLine("Am in Subscribed Event " + (e.a + e.b)); }