this.Invoke(new Action(delegate()

{

   UI컨트롤

}));

 

 

System.InvalidOperationException: '크로스 스레드 작업이 잘못되었습니다. 'txtHistory' 컨트롤이 자신이 만들어진 스레드가 아닌 스레드에서 액세스되었습니다.'

 

 

this.Invoke(new Action(delegate()

{

  txtHistory.AppendText(text);

}));

 

+ Recent posts