C ++/CLI表格应用程序LED指示灯 [英] C++/CLI Form application LED indicator

查看:99
本文介绍了C ++/CLI表格应用程序LED指示灯的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Microsoft Visual Studio2008.我已经使用表格应用程序创建了一个C ++/CLI程序.我的问题是

有没有可以创建LED指示灯的工具?我需要制作大约6个指标,以显示发生或正在发生的事情.其中两个指示器需要显示多种颜色.

有任何工具可以做到这一点吗?

谢谢

-Mike

I am using Microsoft Visual Studio 2008. I have Created a C++/CLI program using the forms application. My questions is

Is there a tool that will create a LED indicator? I need to make about 6 indicators that show when something happens or is happening. Two of the indicators need to show multiple colors.

Any tool that will do this?

Thanks

-Mike

推荐答案

为什么不使用PictureBox设置适当颜色的图像作为指示器?然后,您可以根据需要添加任意数量的PictureBox.
如果您足够高级,我甚至建议您创建一个用于您目的的用户控件.

最好的问候,

-MRB
Why not use a PictureBox where you set an appropriately colored image to act as your indicator? You can add as many PictureBoxes as you need indicators then.
If you''re advanced enough I''d even suggest to create a user control for your purpose.

Best Regards,

-MRB


有关该主题的大量文章 [ ^ ]此处CodeProject.
There is a plethora of articles about[^] here at CodeProject.


这篇关于C ++/CLI表格应用程序LED指示灯的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆