Another thing to note is the main file gives you a great place to instance and access your classes (or windows) that way you have one place where you can see what all your windows are doing and how they are diffrent. It also gives you the ability to pass one instance into another or compare data between them, or create a class whithin a class (such as a subwindow).
I found that most of my "real" logic ended up in main so that it could access and pull data from everywhere and my window classes had minimal logic, mostly just layout.
|