vb.net 如何在 Visual Studio 2013 上获得设计视图?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/20432706/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to get to design view on Visual Studio 2013?
提问by Peter Stirrup
This is driving me insane. I keep clicking on the form I want to see but it just keeps showing me the code for it as oppose to the actual form. I'm on Visual Basic on visual studio if that helps.
这让我发疯。我一直点击我想查看的表单,但它只是不断地向我显示它的代码,与实际表单相反。如果有帮助,我在 Visual Studio 上使用 Visual Basic。
回答by
Right click on the FormName.vb in the file view list and hit View Designer...
右键单击文件视图列表中的 FormName.vb 并点击视图设计器...
回答by Armando S
At the solution explorer, right click on the file and select open with then select -Web Forms Editor- you can set it as default if you want. To see the code, right click on the file and select -View Mark Up - I hope it helps.
在解决方案资源管理器中,右键单击该文件并选择打开方式,然后选择 -Web 窗体编辑器 - 如果需要,您可以将其设置为默认值。要查看代码,请右键单击该文件并选择 -View Mark Up - 希望对您有所帮助。
回答by KAThompson
With WinForms I had the same trouble, it turns out that VS2013 defaults to the "Class View" by default, so be sure to select the "Solution Explorer" first, then you can just double click the form name and the form designer for the form should open.
用WinForms我也遇到了同样的问题,原来VS2013默认是“类视图”,所以一定要先选择“解决方案资源管理器”,然后双击窗体名称和窗体设计器就可以了表格应该打开。
回答by Arkadas Kilic
You need to enable HTML Designer you can access this setting under Tools menu,
您需要启用 HTML 设计器才能在工具菜单下访问此设置,
Tools > Options > HTML Designer > General
工具 > 选项 > HTML 设计器 > 常规
Make sure Enable HTML designeroption is checked. You can also select how you want to see your forms on start up.
确保选中启用 HTML 设计器选项。您还可以选择在启动时查看表单的方式。
- Source View
- Design View
- Split View
- 源视图
- 设计视图
- 拆分视图
回答by L3n
Just click in project>add new item>UI>Windows form hope this helps someone :)
只需单击项目>添加新项目>UI>Windows 表单希望这对某人有所帮助:)
回答by W. Kolling
right click your project (right below the solution) in the solution explorer, add existing item, go to where you saved your project and add the form, and double click on the form. This worked for me.
在解决方案资源管理器中右键单击您的项目(解决方案正下方),添加现有项目,转到您保存项目的位置并添加表单,然后双击该表单。这对我有用。
回答by Shashi
- Right click any HTML file in the Solution Explorer in Visual Studio and click on Open with
2.Select the HTML (web forms) editor
3.Click on Set as default
4.Click on the OK button
- 右键单击 Visual Studio 中解决方案资源管理器中的任何 HTML 文件,然后单击打开方式
2.选择 HTML(Web 表单)编辑器 3.
单击设置为默认值
4.单击确定按钮
回答by Rick Hodder
If you are talking about the web designer, there is a setting under Tools->Options->Html Designer->General called "Start Pages In" that lets you choose design or code or split view
如果您在谈论网页设计器,那么在工具->选项->Html 设计器->常规下有一个设置,称为“起始页位于”,可让您选择设计或代码或拆分视图
If you are talking about Silverlight/XAML, there is a setting under Tools->Options->Text Editor->XAML called "Default View" that lets you choose to always open documents in full xaml view
如果您在谈论 Silverlight/XAML,则在工具->选项->文本编辑器->XAML 下有一个设置,称为“默认视图”,可让您选择始终以完整的 xaml 视图打开文档
回答by Neolisk
WinForms? Double click on the Form name in Solution Explorer always worked for me.
WinForms?双击解决方案资源管理器中的表单名称总是对我有用。