如何在vb.net项目中添加C#表单 [英] how to add c# form in to vb.net project

查看:77
本文介绍了如何在vb.net项目中添加C#表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用vb.net开发了项目.现在我想将c#表单添加到vb.net项目中.如何做到这一点?

i have developed project using vb.net Now i want to add c# forms into vb.net project .,how could do this?

推荐答案

这不是直接可行,但有两个选择:
1.使用一个免费的转换器将c#代码转换为vb.net,如下所示:
http://www.developerfusion.com/tools/convert/csharp-to-vb/ [^ ]
2.在您的vb.net解决方案中,将C#表单添加到其自己的项目中.这样,您可以在vb.net中使用c#表单!
This is not directly possible, but there are two options:
1. Convert the c# code to vb.net using a free converter as this one:
http://www.developerfusion.com/tools/convert/csharp-to-vb/[^]
2. Add the C# form to its own project inside your vb.net solution. This way you can use the c# form in vb.net!


http://stackoverflow.com/questions/862723/在相同的应用程序中使用vb-net-and-c-sharp- [
http://www.vbforums.com/showthread.php?270506-How-to-call-C-form-from-a-VB.NET-form[^]
http://stackoverflow.com/questions/862723/use-vb-net-and-c-sharp-in-the-same-application[^]


这篇关于如何在vb.net项目中添加C#表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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