PDJJ14 WIKI : Cross-Thread Exception 피하기

8. MethodInvoker 사용법 1

 Invoke(new MethodInvoker(delegate
            {
                /// 수행해야 할 GUI 작업
            }));

9. MethodInvoker 사용법 2

this.Invoke((MethodInvoker)delegate ()
            {
				/// 수행해야 할 GUI 작업
            });