在其他监视器上运行控制台应用程序 [英] Running console applications on other monitor

查看:67
本文介绍了在其他监视器上运行控制台应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio.我有一个包含2个控制台应用程序项目的解决方案.当我按下运行时,它们与Visual Studio出现在同一屏幕上.但是我需要在另一个没有Visual Studio的屏幕上看到控制台输出.

I am using Visual Studio. I have a solution which contains 2 console application projects. When I pressed run they are appearing on the same screen with Visual Studio. But I need to see console outputs on the other screen which doesn't have Visual Studio.

推荐答案

启动解决方案,在控制台窗口的左上角单击,选择属性",转到布局"选项卡,取消选中让系统位置窗口" ,按确定.将窗口移到要启动的其他屏幕.正常关闭应用程序.

Start the solution, click in the top left corner of the console window, Choose Properties , go to the Layout tab, un-check "Let System position window", push ok. Move the window to the other screen where you want it to start up. Close the application gracefully.

有时候,如果我第一次发现它不起作用,我发现将其放置在所需位置后返回到布局选项卡,然后仅将坐标的像素值向上和向下调整1个像素就可以了, "

Sometimes if it doesn't work the first time I find going back to the layout tab after putting it where you want and then just adjusting the pixel values for the co-ordinates up and down by 1 pixel once makes it "take"

这篇关于在其他监视器上运行控制台应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆