怎么做LED按钮? [英] How to do a LED Button?
本文介绍了怎么做LED按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨!!
我有一个WPF应用程序,我需要一个按钮,按钮中包含一个LED灯。
此外,我有一个布尔变量(ledControl),如果ledControl变量为false,我希望LED按钮关闭,如果ledControl为真,则LED指示灯亮。
我该怎么做?
谢谢。
Hi!!
I have a WPF Application and I need a Button with a LED light included in the button.
Further, I have a boolean variable (ledControl) and I want the LED light in the button turn-off if ledControl varible is false and LED light turn-on if ledControl is true.
How can I do this?
Thanks.
推荐答案
您没有尝试 Google [ ^ ],是吗?
You didn't try Google[^], did you?
这篇关于怎么做LED按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文