Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将按钮的字体颜色动态更改为红色。我怎样才能做到这一点?
这是你要找的吗?:
Button1.ForeColor = Color.Red; //System.Drawing namespace
您需要ForeColor按钮的属性。
ForeColor