如何在设计视图中打开Visual Studio项目? [英] How do I open a Visual Studio project in design view?

查看:1455
本文介绍了如何在设计视图中打开Visual Studio项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我保存了我的项目,但是现在我无法在设计视图中打开它,看到所有的按钮和东西。 Visual Studio 2012
任何人知道如何?

I saved my project, but now I can't open it up in design view where you see all the buttons and stuff. Visual Studio 2012 Anyone know how?

推荐答案

您可以直接双击 .cs 文件表示您的表单在解决方案资源管理器

You can double click directly on the .cs file representing your form in the Solution Explorer :

这将打开 Form1.cs [Design] ,其中包含拖放和拖放控件。

This will open Form1.cs [Design], which contains the drag&drop controls.

如果你直接在后面的代码(名为 Form1.cs 的文件,没有[设计]),你可以按转换 + F7 (或仅根据项目类型使用 F7 )来打开它。

If you are directly in the code behind (The file named Form1.cs, without "[Design]"), you can press Shift + F7 (or only F7 depending on the project type) instead to open it.

从设计视图,您可以通过按 F7 切换回代码。

From the design view, you can switch back to the Code Behind by pressing F7.

这篇关于如何在设计视图中打开Visual Studio项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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