Beispiel #1
0
        static void Main(string[] args)
        {
            TypeWithLotsOfEvents twle = new TypeWithLotsOfEvents();

            twle.Foo += new EventHandler <FooEventArgs>(twle_Foo);
            twle.SimulateFoo();
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            TypeWithLotsOfEvents twle = new TypeWithLotsOfEvents();

            twle.Foo += new EventHandler<FooEventArgs>(twle_Foo);
            twle.SimulateFoo();
        }