即使隐藏表单也运行功能 [英] Running a function even when form is hidden
本文介绍了即使隐藏表单也运行功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
我正在Win CE上开发一个小型数据库,一个主窗体将正在运行,所有窗体将通过按man窗体上存在的按钮打开.我想编写一个即使在打开另一个函数时也将运行的函数. div class ="h2_lin">解决方案
您可以始终调用隐藏形式的方法,前提是
- 方法是
public
.- 您有对隐藏表格的引用.
hello,
i am developing a small database on Win CE,one main form will be running and all the forms will be opened by the buttons press present on man form.i want to write a function that will be running even when another from is opened.
解决方案
You may always call a method of a hidden form, provided that
- The method is
public
.- you have a reference to the hidden form.
这篇关于即使隐藏表单也运行功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文