Esempio n. 1
0
        static void Main(string[] args)
        {
            TypeWithLotsOfEvents twle = new TypeWithLotsOfEvents();

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

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