How do you change the text colour of a label progr

2019-08-28 06:50发布

问题:

How do I change a label's colour (for example labelname = myLBL) programmatically?

Thanks

Andy

回答1:

Ehrm... how about:

myLBL.Foreground = Brushes.Black;