.Net C++ OOP question

This may be a silly question, but here goes..

When I start a new Windows Forms Application, it provides you with a "Form1.h" that contains all the necessary designer generated code. If I add say a button and then double click to add the event handler for the button click, it shoves it at the bottom of the Form1 header file. If I want to keep things done the OOP way, surely it is best to have a separate header file and cpp file for the main form? i.e Where do I start adding my code to the application? In the Form1 header file?
I have looked in various books for a discussion of best practices in this scenario, but not come up with anything concrete. Any feedback would be good, even if to tell me it's a stupid question :-)
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!