本文介绍了从另一个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窗体。
发布评论