我该如何重新开始计划? [英] How Can I Start Program Again?
本文介绍了我该如何重新开始计划?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨我的朋友。
我在vb.net上有程序。
我想在程序中单击按钮然后程序重启。我的意思是程序退出并重新开始。
我该怎么做?
hi my friends.
i have program in vb.net.
i want click button in program then program be restart. i mean program exit and start again itself.
how can i do this?
推荐答案
参考: Application.Restart()不能正常工作? [ ^ ]评论和讨论下有一个vb.net翻译文章之后的部分。
Refer: Application.Restart() Does Not Work Properly?[^] There is a vb.net translation under the Comments and Discussions section after the article.
用
Application.Restart();
函数,然后从主窗体中调用它。
function and then call it from the main form.
这篇关于我该如何重新开始计划?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文