Sorry, I didn't know that. I planned to stop my applications, when the user clicks the close icon in the Main window, like any other program in windos. So I added the close-events to close all windows when the Main window is closed, but I didn't know that I would get an infinite loop by also adding this.close(). I just thought I need this command to stop the program.
No comments:
Post a Comment