WinForms 音量滑块/轨迹栏用户控件

发布于 2024-07-15 04:25:57 字数 214 浏览 4 评论 0原文

我正在寻找一个类似轨迹栏的用户/自定义控件以在我的 .NET 2.0 WinForms 应用程序中使用。

注意:我不是问如何控制 WinForms 应用程序中的音量。

有人知道一个漂亮的自定义绘制的滑块/轨迹栏控件可以在我的应用程序中使用来让用户设置音量吗? (例如多媒体应用程序中使用的)

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

TIA,

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

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

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,

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

我不是你的备胎 2024-07-22 04:25:57

CodeGuru 有一个关于如何创建自己的自定义跟踪栏的优秀 C# 教程:

http://www.codeguru.com/csharp/csharp/cs_controls/custom/article.php/c12101

结果看起来非常令人印象深刻,因为您正在创建自己的控件,所以您不必担心授权第三方控件。 只需确保也遵循示例代码的许可即可。 :)

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

http://www.codeguru.com/csharp/csharp/cs_controls/custom/article.php/c12101

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. :)

画尸师 2024-07-22 04:25:57

有一个 TrackBar 控件,只是有点难找到它,因为它在工具栏上没有类别。 打开“所有 Windows 窗体”。 根据MSDN,它自 以来一直存在。网络1.0

There's a TrackBar control, it's just a little hard to find it because it has no category on toolbar. Open "All Windows Forms". According to MSDN it has been there since .NET 1.0

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文