How can you run a button and after executing the code, execute another button within that code?

During a game how do you reload the same form.

Gorf