不同形式之间的沟通 [英] Communication between different forms

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

问题描述

在C#中,使用Winforms,使表单彼此对话的最佳方法是什么?从头到尾发送数据,消息,字符串,等等?

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?

代表?

想法?

推荐答案

我们使用了称为事件的东西在多个Winform应用程序中成功进行模式化。这是一个很好的链接,可帮助您入门。

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

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

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