从另一个Visual Studio项目打开Windows窗体。

编程入门 行业动态 更新时间:2024-10-27 05:28:55
本文介绍了从另一个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窗体。

本文发布于:2023-11-11 06:37:40,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1577653.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:窗体   项目   Visual   Studio   Windows

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!