有没有办法从不同的表单重新加载/重置表单? [英] Is there a way to reload/reset a form from a different form?

查看:30
本文介绍了有没有办法从不同的表单重新加载/重置表单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在制作一个游戏女巫,当你输了时,有这个再次播放选项然后我只是使用 me.hide form2.show 但在那之后没有任何效果是的表单弹出但它实际上什么也没做所以我想重置或重新加载那些形式.

Im making a game witch there is this play again option when you loss then i just use me.hide form2.show but after that nothing works anymore yeah the form pop ups but it does literally nothing so Im wondering to reset or reload those form.

推荐答案

照K3rnel31说的做,还要在程序的Options里打勾(Menu bar -> Project> -Project Name- Properties) 然后点击'Shutdown Mode' 并将下拉菜单更改为最后一个表单关闭时.它在应用程序选项卡中(应该是第一个)

Do as K3rnel31 said, but also check in the Options of the program (Menu bar -> Project> -Project Name- Properties) Then click the 'Shutdown Mode' And change the drop down menu to when last form closes. It's in the Application tab (Should be the first one)

这篇关于有没有办法从不同的表单重新加载/重置表单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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