public void Run()
 {
     SimpleEventClass se = new SimpleEventClass();
     Console.WriteLine("Created event");
     se.simpleEvent += se_simpleEvent;
     Console.WriteLine("Subscribed");
     Console.WriteLine("I will fire 10 events just now !");
     se.Start();
 }
Beispiel #2
0
        public void Run()
        {
            SimpleEventClass se = new SimpleEventClass();

            Console.WriteLine("Created event");
            se.simpleEvent += se_simpleEvent;
            Console.WriteLine("Subscribed");
            Console.WriteLine("I will fire 10 events just now !");
            se.Start();
        }