reload form?

TotallyConfused

New member
Joined
Jan 14, 2007
Messages
3
Programming Experience
Beginner
Ohkay, im making a battleship game for a Computer Programming class and i have 2 different forms for the 2 differnt boards, when i call a new game, how do i reload form1? Say if i were to close the form or something without stopping the game, how do i reload it within the code? I don't want to make it visible either, just reload it completely

I just want to close all forms and then reload form1 and then the game will start all over, but in order to do that, i need to know how, any help would be appreciated, if you need me to explain more, then just tell me thanks in advance.
 
hey

Anbody, anybody? , lol, sorry for the rush, just need this little code snippet by tommarow, project is due tommarow and this is the FINAL touch. :) hopefully i can figure this out , once again
any help would be appreciated,

Thanks.
 
Why not just update all the controls on the form (label, etc...) to how they appear when you first start the game, also why not just set all the variables to the values needed to restart the game? you could do all this quickly in a separate sub and simply call that sub whenever the game needs to be restarted.
 
Back
Top