在C#形式之间的通信 [英] Communication between forms in C#

查看:118
本文介绍了在C#形式之间的通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在C#中,使用的WinForms,是什么使形式互相沟通的最好方式?发送数据,消息,字符串,不管,从其他?



代表?



想法?


<>解决方案

We'ved使用一种叫做成功的事件模式在一些WinForm的应用DIV CLASS =h2_lin。这里有一个很好的链接,这将帮助您开始。


In C#, using winforms, what is the best way to make forms talk to each other? Sending data, messages, strings, whatever, from on to the other?

Delegates?

Ideas?

解决方案

We'ved used something called the Event Pattern successfully in several Winform applications. Here's a good link that will help you get started.

这篇关于在C#形式之间的通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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