1

我正在使用 VS express 2012 运行显示许多文件内容的代码。我发现第一个文件内容没有显示,当我逐步调试时,我发现内容显示在控制台窗口上,而当其他结果显示时消失,这意味着它们被推出了窗口。当然,我向上滚动,我发现最新的文件只是不是全部。是否有任何选项控制此功能?以及如何查看所有结果?

4

2 回答 2

1

To avoid this you should convert your console application to a Windows Forms one and put all the output on a TextBox. Just execute the command on the Form load and redirect all the output to the TextBox.

It's not much work IMHO.

于 2013-06-01T13:19:14.210 回答
0

这是控制台应用程序的本质,与将数据回显到 Windows 命令提示符没有什么不同。如果数据太多,那么它当然会滚出可见屏幕。

于 2013-06-01T13:03:21.343 回答