How do I redirect a console program's output to a text box in a thread safe way?

前端 未结 2 2093
情歌与酒
情歌与酒 2021-02-03 15:13

I am having trouble redirecting console output to a windows forms text box. The problem is thread related. I am running a console app in the following way,

priva         


        
2条回答
提交回复
热议问题