I have a login which have admin and user rights.
If admin- i can access all the forms and controls.
–OK
If user- i can only access limited forms and controls.
I have Mdi parent and other forms.
–NOT OK
I can only disable toolstrip menu on MDI parent but i need to disable controls on the other childforms also.
like butttons/textboxes etch..
There are many ways you can do this:
childForm.ControlToHide.Visible = false). Gets the job done but is not recommendedLots of other ways too, these are simply the “easy” ones.