Here is one for you.
My start form has a tabcontrol and on the first page it has 8 buttons, each taking you to a specific form.
Say that a worker is accessing the database and only have access to the certain forms. I know that button.enabled = false deactivates a button, but how do you read the status of an user's rights and disable a button from it?
My start form has a tabcontrol and on the first page it has 8 buttons, each taking you to a specific form.
Say that a worker is accessing the database and only have access to the certain forms. I know that button.enabled = false deactivates a button, but how do you read the status of an user's rights and disable a button from it?