如何在Windows窗体中使用滑动面板减少或增加一些变量 [英] how to reduce or increment some variable using slideing panel in windows form

查看:71
本文介绍了如何在Windows窗体中使用滑动面板减少或增加一些变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我是新手,
所以,我想知道...
我可以在Visual Studio C#中使用跟踪栏或任何组件,通过滑动或旋转thats组件工具箱来增加或减少某些数据变量(例如int X).

hello,,
i''am newbie here,,
so, i want to know...
what i can trackbar or anything component in visual studio C#,, can increment or reduce some data variable (example int X) with sliding or rotating thats component toolbox.

推荐答案

您是否正在寻找滑块控件? [ ^ ]

[更新]查看是否有帮助 [
Are you looking for a slider control?[^]

[Update]See if this helps[^]


此链接可能会帮助您获得解决方案.

此控件有一个值"元素和两个选择元素.请参阅链接,您会发现它很有用.

http://msdn.microsoft.com/en-us/library/system.windows.controls.primitives.rangebase.aspx [ ^ ]

问候.
This link might help you to get your solution.

there is a ''value'' element and two selection elements for this control. Refer the link and you ll find it useful.

http://msdn.microsoft.com/en-us/library/system.windows.controls.primitives.rangebase.aspx[^]

Regards.


这篇关于如何在Windows窗体中使用滑动面板减少或增加一些变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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