Tab pabe as a class
-
I'm writing a window application were I would need to use tab page as an template to be used multiple times. I need an advice as to the best way to do it. Is it better to create a dialog and insert it into a new tab or create a tab page as a different form/class? 10x,
-
I'm writing a window application were I would need to use tab page as an template to be used multiple times. I need an advice as to the best way to do it. Is it better to create a dialog and insert it into a new tab or create a tab page as a different form/class? 10x,
Inbaljona wrote:
Is it better to create a dialog and insert it into a new tab or create a tab page as a different form/class?
I'm not sure what you mean by "creating a dialog and inserting into a new tab". I would create a base 'PageTemplate' class (inheriting from UserControl) that defined the template, and then have a class for each page that inherited from this base, and added the extras.
Simon