First question: If I have two forms, form1 and form2, how do I after displaying form2 from form1, stop all activity on form1 while a certain variable in form2 is set to false? I tried a while loop, but that just freezes the program.
Second question: How do I hide the start-up/main form? When I try to hide it using this.hide(), nothing happens.