.Net: What is your approach for doing some popular task like making disabled/enabled all buttons of a toolstrip buttons, when developing a software? -
First of all: Sorry for writing my poor English.
I remember that in VB 6.0 days, we make some modules only to make disabled / enabled buttons of popular buttons like toolbar buttons or record count count in a particular record set.
Now, in Net days, what is your view of doing this popular work? Do you make a stable class?
Thanks
Has been given to me (More useful class)
edit
This is an example to set backcolor for all the controls, you declare them in the module.
& lt; System Runtime COMPLETER SERVICES Extension () & gt; _ Public Sub-change (as RF form) for every C f.Controls c.BackColor = Color.Red End End for End sub
Then go to any form and you ChangeToRed should see the function.
Comments
Post a Comment