如何在重新打开对话时显示编辑控件的先前值 [英] How to show previous value of edit control when reopen dialogue

查看:75
本文介绍了如何在重新打开对话时显示编辑控件的先前值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个对话:对话1和对话2。

I have a two dialogue: dialogue 1 and dialogue 2.

我得到了价值对话框1的GUI中的编辑控件,然后单击"下一步"  按钮 关闭对话1并启用对话2。

I get value of edit control in GUI of dialogue 1, then click to "next" button  to turn off dialogue 1 and turn on dialogue 2.

然后我点击"返回"按钮对话框上的按钮显示对话1.

Then I click to "back" button on dialogue to show dialogue 1.

如何在对话框1中显示编辑控件的上一个值?

How to show previous value of edit control in dialogue 1?

推荐答案

您可以将值存储在某个集合类中并执行读写操作使用该类对象编辑控件。如果编辑控件有任何新值,请更新课程。

You can store the value in some collection class and perform reading and writing on edit control with that class object. And update the class if edit control has any new value.





这篇关于如何在重新打开对话时显示编辑控件的先前值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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