I have a windows forms app where I have split different functionality into several user controls. I want each of these user controls to have an accept button.
Any best practices here?
My idèa is to detect which user control that has focus, and than set it in the parent Form.
Any other idèas?
Jan Miksovsky has an excellent blog on UI design, and wrote an article about this very thing.
The example he uses is the “Select Names” dialog in Microsoft Outlook, which changes the default button depending on what you are doing.