的WinForms音量滑块/的TrackBar用户控制 [英] WinForms Volume Slider/Trackbar User Control

查看:516
本文介绍了的WinForms音量滑块/的TrackBar用户控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个的TrackBar类似的用户/自定义控制在我的.NET 2.0 WinForms应用程序使用。

I'm looking for a trackbar-like user/custom control to use in my .NET 2.0 WinForms app.

注:我不是问如何控制在一个WinForms应用程序的音量。

Note: I'm NOT asking how to control the volume in a WinForms app.

任何人都知道一个好看的自绘滑块/的TrackBar控件,可以用在我的应用程序,让用户设置的音量? (如在多媒体应用中使用的那些)

Anyone knows of a nice looking custom painted slider/trackbar control that could be used in my app to let user set the volume? (such as the ones used in multimedia apps)

理想情况下,它应该支持垂直方向

Ideally, it should support vertical orientation.

TIA,

推荐答案

有关于如何通过创建自己的自定义的TrackBar在codeGuru极佳的C#教程:

There is an excellent C# tutorial on how to create your own custom trackbar over at CodeGuru:

<一个href="http://www.$c$cguru.com/csharp/csharp/cs_controls/custom/article.php/c12101">http://www.$c$cguru.com/csharp/csharp/cs_controls/custom/article.php/c12101

结果看起来很IM pressive,因为你正在创建自己的控件,你就不必担心发牌第三方控制。只要确保按照许可的示例code为好。 :)

The result looks very impressive, and because you are creating your own control you wouldn't have to worry about licensing a 3rd party control. Just make sure to follow the licensing for the sample code as well. :)

这篇关于的WinForms音量滑块/的TrackBar用户控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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