问题描述
我保存了我的项目,但是现在我无法在设计视图中打开它,看到所有的按钮和东西。 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 2012Anyone 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
的文件,没有[设计]),你可以按 + (或仅根据项目类型使用)来打开它。
If you are directly in the code behind (The file named Form1.cs
, without "[Design]"), you can press + (or only depending on the project type) instead to open it.
从设计视图,您可以通过按切换回代码。
From the design view, you can switch back to the Code Behind by pressing .
这篇关于如何在设计视图中打开Visual Studio项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!