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
try
out_txtbx.Invoke(new AppendTextDelegate(this.AppendText), text);