来自应用程序的2个窗口之间的通信 [英] Communication between 2 windows from application

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

问题描述

我有2个Windows窗体应用程序.第一个应用程序与数据库进行交互,而其他应用程序旨在与第一个应用程序进行通信以与数据库进行交互.因此,我如何才能相互交互两个应用程序.我应该使用哪个工具?

I have 2 windows form application. 1st application interacts with database while 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-tutorial-basic-interprocess-communication

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

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