开发者

Can I use a base class method to enable a variety of ui controls in .net?

开发者 https://www.devze.com 2022-12-09 06:49 出处:网络
I need to write a delegate for a worker thread that will handle a wide variety of form controls (buttons, textbox, list...) enable method. I\'m thinking they must all be derived from a base class that

I need to write a delegate for a worker thread that will handle a wide variety of form controls (buttons, textbox, list...) enable method. I'm thinking they must all be derived from a base class that handles the enable property, but I'm not finding any 开发者_C百科documentation, nor am I sure how to call the method.


MSDN is the place to be for this type of info:

System.Windows.Forms.Control.Enabled

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号