以编程方式构建按钮事件 [英] Build a button-event programmatically
本文介绍了以编程方式构建按钮事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
在我的应用程序中,我想以编程方式(而不是在设计时)构建一个窗体和一些按钮(在需要时打开它).
我不知道这是否有利,但这是另一个问题.
现在的问题是:
我已经编写了用于以编程方式显示上述控件的代码,但是真诚地,我在为按钮中的click事件编写代码时遇到了一些问题.
请帮忙吗?
谢谢
Hi all,
In my application I want to build a form and some buttons programmatically (that it is opened when needed),instead than in the designer time.
I don''t know if this choose in an advantage or not, but this is is another question.
Now, the question is:
I already written the code to show above controls programmatically, but sincerely I have some problem in the write the code for the click event in the buttons.
Some help please?
Thanks
推荐答案
请参见 ^ ].
这篇关于以编程方式构建按钮事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文