如何从VB.Net中的项目导入表单 [英] How to Import a Form from Project in VB.Net

查看:113
本文介绍了如何从VB.Net中的项目导入表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我右键单击了新项目并选择了添加现有项目,但是,它没有导入所有文件。

I right clicked on the new project and selected Add Existing Item, however, it did not import all the files along with it.

在每个表单中都有几个文件例如* .vb,* .Designer.vb,* .resX等。这些文件未随表单一起提供。因此,我尝试单独导入每个文件,它仍然是单独的文件,而不是原始表单的子文件。

In every form there are several files such as *.vb, *.Designer.vb, *.resX, etc. These files did not come along with the Form. I therefore tried importing each one separately, and it remains as separate files, not as sub files of the original Form.

如何将整个表单作为一个组导入?

How can I import the entire Form as one group?

推荐答案

您无法导入它们,但您可以在解决方案资源管理器中启用它们,这实际上与导入相同

You cannot import them, but you can enable them which is in fact the same as importing by doing in Solution Explorer

右键单击项目中的启用


这篇关于如何从VB.Net中的项目导入表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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