Posted 20 years ago
by Crispin Horsfield
-
Software developer,
Caz Limited

I want to load a ToolWindow that contains a grid that is populated from a business object which in turn derives from database query. The ToolWindow will also contain a 'filter' ComboBox at the top, the clicking of which will cause a clone of the original business object to be created which is then appropriately filtered and bound to the grid.
It's clear that there will be quite a lot of code associated with this ToolWindow, so it should ideally be incorporated into its own object. The question is the best way to achieve this: inherit the ToolWindow class? create a user control? something else?
An example or outline of an approach would be useful.
TIA
Crispin
It's clear that there will be quite a lot of code associated with this ToolWindow, so it should ideally be incorporated into its own object. The question is the best way to achieve this: inherit the ToolWindow class? create a user control? something else?
An example or outline of an approach would be useful.
TIA
Crispin