【发布时间】:2021-04-19 12:53:59
【问题描述】:
我的这个项目有很多winforms,我该如何更改button background color or text color or any other attributes from another winform?我目前正在使用delegate,但这效率不高,因为每次我想更改新属性时都需要创建一个新的delegate。有没有更好的办法?
【问题讨论】:
-
虽然不完全符合您的要求,但概念是相同的 - 请参阅 stackoverflow.com/questions/4822980/…