Three GUIs with almost the same design are started from different application menus and all of them will have a:
- Search TextField
- ComboBox for category selection
- ListBox showing the result based on category
and of course a couple of buttons for searching etc.
Suppose the menus are named Add new A, Add new B, Add new C.
When Add new A is clicked, it should start the "base/parent" GUI with the above components.
When Add new B is clicked, it should start a GUI the same as base except it should also have a couple of radiobuttons.
The same goes for Add new C, only differences are a couple of simple controls.
How is this effectively done using WPF? Should I design one GUI with all elements and hide e.g. the radiobuttons if started from "Add new A"?
Or should I use three different XAMLs and end up with most of the code and design elements being the same.