J
Jeff S
I'm implementing the Model View Presenter (MVP) pattern in a Windows Forms
application. There is a need to control which forms (views) are accessible
by specific users, and for some forms (views) to enable/disable/hide
controls for certain users or groups.
For sake of this question, please go with the model being a Person object
and the view enabling users to modify Person properties.
1. What would be a good way to have the view appear with certain UI controls
enabled/disabled/hidden for different users?
2. Same question as #1, but for enabling/disabling entire forms for
different users.
Thanks for your time and consideration.
-Jeff
application. There is a need to control which forms (views) are accessible
by specific users, and for some forms (views) to enable/disable/hide
controls for certain users or groups.
For sake of this question, please go with the model being a Person object
and the view enabling users to modify Person properties.
1. What would be a good way to have the view appear with certain UI controls
enabled/disabled/hidden for different users?
2. Same question as #1, but for enabling/disabling entire forms for
different users.
Thanks for your time and consideration.
-Jeff