从一个应用程序到另一应用程序的信息 [英] information from one application to another

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

问题描述

我正在制作Windows应用程序,然后打开,当我按下按钮时将有一个按钮,一个窗口将打开,并且将有一个按钮和一个文本框...当我按2号按钮时,窗口将关闭,并且文本框(从窗口2开始)中的文本将发送到第一个窗口中的标签上.

i am making a windows application then it open there will be a button when i press the button a window will open and there will be a button and a textbox... when i press the button number 2 window will close and the text in the textbox (from window 2) will be send to a label in the first window

推荐答案

尝试:)
在表单之间传递数据 [
try this :)
Passing Data Between Forms[^]


最好,整洁和成功的协作方法是基于实现某些接口的通过Form或Window类.

请在这里查看我过去的答案和讨论:
如何在列表框之间复制所有项目两种形式 [ ^ ].

—SA
The best, neat and successful method of collaboration is based on implementing some interface by the Form or Window class.

Please see my past answer and discussion here:
How to copy all the items between listboxes in two forms[^].

—SA


我发现了自己的方法....
i found out how to do it by my self....


这篇关于从一个应用程序到另一应用程序的信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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