C# Form1.cs 不再显示在解决方案资源管理器中 [英] C# Form1.cs no longer showing in Solution Explorer

查看:46
本文介绍了C# Form1.cs 不再显示在解决方案资源管理器中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是编程新手,正在处理 C# 项目,但我的 form1.cs 不再在我的解决方案资源管理器中.然而,它确实显示在类视图中.我试过右键单击并添加现有项目,但这不起作用.是否可以将 form1.cs 从类视图中返回到解决方案资源管理器中?谢谢.

I am new to programming and am working on a C# project and my form1.cs is no longer in my solution explorer. It does however show in class view. I have tried right clicking and adding existing item but this doesn't work. Is it possible to get the form1.cs back from class view into solution explorer? Thanks.

推荐答案

尝试单击解决方案资源管理器顶部的显示所有项目"按钮,它将显示所有不在您项目中的文件.如果您的 Form.cs 将出现,则右键单击它并选择包含在项目中"菜单.

Try to click "Show all items" button on top of Solution Explorer, it will show all files that not in your project. And if your Form.cs will appear then right click on it and select "Include in project" menu.

这篇关于C# Form1.cs 不再显示在解决方案资源管理器中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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