Пример #1
0
        public static void Main()
        {
            EventLogic e1 = new EventLogic();
            Program1   p1 = new Program1();

            e1.ProcessCompleted += E1_ProcessCompleted;
            p1.StartFunc(e1);

            e1.StartFunc();


            return;
        }
Пример #2
0
 public void StartFunc(EventLogic e)
 {
     e.ProcessCompleted += E_ProcessCompleted;
 }