I tried to search for a possible post about this on the forum but I couldn't find any.
Anyway, is there a way for me to close the parent form by closing the child form?
Ex: I have the first form do its thing and then it opens another form, I wish to hide the parent one because it is no longer in use but doing so would mean there is no way to kill the program once it is done being used? (I want to make it easier and just have the person I'm making this for be able to just exit it, without having to go into task manager to end the program.)
I know I can use Application.Exit() but is there a way for me to make it so that when the person clicks the exit button of the child form it exits the application? (I don't want to make a button and have them click it to terminate the application.)
Anyway, is there a way for me to close the parent form by closing the child form?
Ex: I have the first form do its thing and then it opens another form, I wish to hide the parent one because it is no longer in use but doing so would mean there is no way to kill the program once it is done being used? (I want to make it easier and just have the person I'm making this for be able to just exit it, without having to go into task manager to end the program.)
I know I can use Application.Exit() but is there a way for me to make it so that when the person clicks the exit button of the child form it exits the application? (I don't want to make a button and have them click it to terminate the application.)
