public static void Main() { EventLogic e1 = new EventLogic(); Program1 p1 = new Program1(); e1.ProcessCompleted += E1_ProcessCompleted; p1.StartFunc(e1); e1.StartFunc(); return; }
public void StartFunc(EventLogic e) { e.ProcessCompleted += E_ProcessCompleted; }