简体   繁体   English

在 Windows 10 上的 Visual Studio 2017 调试期间,通过 Alt + Tab 找不到 windows 表单

[英]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.

相关问题 Visual Studio 2017 - 找不到 Visual C++ Windows 窗体 - Visual Studio 2017 - can't find Visual C++ Windows Forms Visual Studio 2017 - 无法将“ReportViewer”添加到“Windows 窗体” - Visual Studio 2017 - Unable to add “ReportViewer” to “Windows Form” Visual Studio 2017中Windows窗体的设计视图空白 - Design View Blank for Windows Form in Visual Studio 2017 在 Visual Studio 2017 中使用 Windows 窗体应用程序? - Using Windows Forms App in Visual Studio 2017? 使用 Visual Studio 2017 编译的 .exe 的 Windows 资源管理器文件属性“详细信息”选项卡中的文件版本 0.0.0.0 - File version 0.0.0.0 in Windows Explorer file properties 'Details' tab of .exe compiled with Visual Studio 2017 如何使用Visual Studio 2017在Windows窗体应用程序中查看和编辑Visual Basic Power Pack形状? - How do I view and edit Visual Basic Power Pack shapes in a Windows Form app with Visual Studio 2017? 仅在Visual Studio 2010中进行调试时,简单的RX代码在Windows窗体中会静默失败 - simple rx code silently fails in windows forms only during debugging in visual studio 2010 Visual Studio 2017 表单 - Visual Studio 2017 form Visual Studio 2012构建Windows 10应用程序? - Visual Studio 2012 build application for windows 10? 无法将Alt + Tab返回到TopMost表单 - Can't Alt+Tab back to a TopMost form
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM