how to close an application from another form?
-
Hello, I have 2 forms. once i make my choice of the application i wanna run Form1 is hidden and form2 is showing up. if i want to terminate my program in Form2, Form is still running. I don't wanna instantiate Form1 again in Form2 to close Form1. it's gonna create a new Form1 right? what is the best way to terminate both forms from Form2? Thank you Donkaiser
-
Hello, I have 2 forms. once i make my choice of the application i wanna run Form1 is hidden and form2 is showing up. if i want to terminate my program in Form2, Form is still running. I don't wanna instantiate Form1 again in Form2 to close Form1. it's gonna create a new Form1 right? what is the best way to terminate both forms from Form2? Thank you Donkaiser
-
Hello, I have 2 forms. once i make my choice of the application i wanna run Form1 is hidden and form2 is showing up. if i want to terminate my program in Form2, Form is still running. I don't wanna instantiate Form1 again in Form2 to close Form1. it's gonna create a new Form1 right? what is the best way to terminate both forms from Form2? Thank you Donkaiser
-
What i mean is that when i do application.exit() on Form2, the IDE still running in debugging mode. Is it because of Form1 which is hidden and i didn't close it? Donkaiser