从另一个Visual Studio项目打开Windows窗体。 [英] Opening a Windows Form From An Another Visual Studio Project.
本文介绍了从另一个Visual Studio项目打开Windows窗体。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我的Visual Studio解决方案中有2个Windows应用程序。
1 。使用C#
2.使用VB.Net
我的问题是我可以在2.中使用1.打开表单,反之亦然?我还想在这两个项目之间传递变量值。我也可以这样做吗?
谢谢,
Chiranthaka
Hi all,
I have 2 Windows Applications in my Visual Studio Solution.
1.Using C#
2.Using VB.Net
My problem is can I open a form in 2. using 1. and vice versa? Also I want to pass variable values between those 2 projects. Will I able to do that also?
Thanks,
Chiranthaka
推荐答案
您好,
您可以使用IPC(进程间通信)
好文章:使用C#和C ++之间的进程间通信命名管道 [ ^ ]
或者您可以使用.Net Remoting:使用简单的示例进行远程处理 [ ^ ]
或
DotNetMQ:用于.NET的完整消息队列系统 [ ^ ]
Hi,
You can use IPC (Inter-Process Communication)
Nice article : Inter-Process Communication between C# and C++ using named pipes[^]
Or you can use .Net Remoting : .NET Remoting with an easy example[^]
Or
DotNetMQ: A Complete Message Queue System for .NET[^]
这篇关于从另一个Visual Studio项目打开Windows窗体。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文