Answer the question
In order to leave comments, you need to log in
How to implement the ability to click the button only to the administrator?
There is a button on the form. It is necessary that the Click event is executed only if the system administrator clicked.
Answer the question
In order to leave comments, you need to log in
https://stackoverflow.com/questions/5953240/c-shar...
and so, in addition to the comment, the first link in Google.
just like with a boolean flag - "run as admin" - I hope you can handle the blocking of the click (or not display the button, or whatever else comes to mind)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question