Example #1
0
        public void EventCount(object sender, EvanEventArgs Ae)
        {
            while (Ae.I != count)
            {
                count++;

                Console.WriteLine("sender : {0} has called this Function {1} Times", sender, count);
            }
        }
Example #2
0
        public void OnevanEvent(int i)
        {
            EvanEventArgs Ae = new EvanEventArgs(i);

            if (evanEvent != null)
            {
                evanEvent(this, Ae);
            }
        }