In complex form, I have a property called Readonlythat determines whether everything is edited or not. Until now, I passed this property to each subordinate control in this form by the constructor, and in other places I turned to the form itself to get the value.
But it quickly gets too complicated.
I am going to make this Static property on the form, knowing that there is only one instance of this form in the application.
Can this property be used as static in this case? Or this is bad practice, even there is only one instance of the form.
source
share