重新启动应用程序 [英] restart application

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

问题描述

我有一个打招呼的开放式表格.当我的程序运行到最后时,我问他们是否要重新开始.我使用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屋!

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