[英]Can't find windows form by Alt + Tab during Visual Studio 2017 debugging on Windows 10
I have a Windows Form project.我有一个 Windows 表单项目。 When I start debug on Visual Studio 2017 on Windows 10, the form opens behind the Visual Studio and I can't reach the form by Alt + Tab.
当我在 Windows 10 上的 Visual Studio 2017 上开始调试时,表单在 Visual Studio 后面打开,我无法通过 Alt + Tab 访问表单。 I should minimize Visual Studio or pop it up from Task Manager.
我应该最小化 Visual Studio 或从任务管理器中弹出它。
Is there any way to do this by Alt + Tab?有没有办法通过 Alt + Tab 做到这一点? And is this a Visual Studio bug on Windows 10?
这是 Windows 10 上的 Visual Studio 错误吗?
Is there any way to do this by Alt + Tab?
有没有办法通过 Alt + Tab 做到这一点? And is this a Visual Studio bug on Windows 10?
这是 Windows 10 上的 Visual Studio 错误吗?
I'm not sure about what can't reach the form by Alt + Tab
mean, do you mean that you can't see the form when Alt+Tab
or can't display the form after choosing the form when Alt+Tab?我不知道
can't reach the form by Alt + Tab
什么意思,你的意思是 Alt+Tab 时看不到表单还是Alt+Tab
选择表单后无法显示表单?
I tested it in VS2017+Win10, and the Alt+Tab
always worked.我在VS2017+Win10中测试过,
Alt+Tab
一直有效。 So it's not a VS bug on windows10.所以这不是windows10上的VS bug。
Here're steps that help to check and resolve that issue:以下步骤有助于检查和解决该问题:
1.Check if you have some code to affect the normal behavior. 1.检查是否有代码影响正常行为。 An easy way is to create a new winform project, debug it and check if the issue persists.
一个简单的方法是创建一个新的 winform 项目,对其进行调试并检查问题是否仍然存在。 If the issue not occurs in new project, I think you must
set some property for Form1's property window
or write some code in your current project that caused this issue.如果在新项目中没有出现该问题,我认为您必须
set some property for Form1's property window
或者在您当前的项目中编写一些导致此问题的代码。 Also, check what's the result if you start without debugging the program
.另外,如果
start without debugging the program
检查结果是什么。
2.Reset all debug-related settings by Tools-->Import and Export settings-->Reset all settings
. 2.通过
Tools-->Import and Export settings-->Reset all settings
所有调试相关设置。
3. Repair VS and make sure your VS has updated to latest 15.9.17 version. 3. 修复VS并确保您的VS已更新到最新的15.9.17版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.