2 个 Windows 窗体应用程序之间的通信 [英] Communication between 2 Windows Forms applications

查看:31
本文介绍了2 个 Windows 窗体应用程序之间的通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有 2 个 windows 窗体应用程序.第一个应用程序与数据库交互,而另一个应用程序旨在与第一个应用程序通信以与数据库交互.那么我如何才能使两个应用程序相互交互.我应该使用哪种工具?

I have 2 windows form applications. 1st application interacts with database while the other application is aimed to communicate with the 1st application to interact with the database. So how can I interact two applications with each other. Which tool should I use?

推荐答案

下面是一个使用 WCF 来通信两个进程的很好的例子:

Here is a good example using WCF to communicate two processes:

http://www.switchonthecode.com/tutorials/wcf-教程-基础-进程间通信

这篇关于2 个 Windows 窗体应用程序之间的通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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