重新启动应用程序 [英] restart application
问题描述
我有一个打招呼的开放式表格.当我的程序运行到最后时,我问他们是否要重新开始.我使用application.restart().当我回到第一种形式时,我想打不同的问候.在afterapplication.restart()之后是否可以携带变量?
I have a open form that plays a greeting. When my program runs to the end I ask if they want to start over. I use application.restart(). When I go back to first form I want play different greeting. Is there a way to carry variables after afterapplication.restart()?
推荐答案
我有一个打招呼的开放式表格.当我的程序运行到最后时,我问他们是否要重新开始.我使用application.restart().当我回到第一种形式时,我想打不同的问候. afterapplication.restart()之后是否可以携带变量?
I have a open form that plays a greeting. When my program runs to the end I ask if they want to start over. I use application.restart(). When I go back to first form I want play different greeting. Is there a way to carry variables after afterapplication.restart()?
您可能需要查看 应用程序设置 .听起来像您这里需要的东西.
You might want to look at Application Settings. It sounds like what you need here.
这篇关于重新启动应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!