进度条运动 [英] progress bar movement

查看:102
本文介绍了进度条运动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Windows应用程序中有五个文本框..我在同一页面上有一个进度条。我希望进度条根据每个文本框中输入的值移动5个块。



那是;



在textbox1中输入正确的值意味着第一步进度栏

输入了textbox2中的正确值表示进度条中的第二个进度



Atleast如果在文本框中输入了一些值,我想让进度条移动。是否可能? ?



任何帮助都会非常感激..



提前感谢

I have five text boxes in my windows application..I have a progress bar on the same page.I want the progress bar move in 5 blocks based on the value entered in each text box.

That is;

entered a correct value in textbox1 means 1st move in progress bar
entered a correct value in textbox2 means 2nd move in progress bar

Atleast I want to make the progress bar move if some value is entered in the text box..Is it possible??

Any help would be really appreciated..

thanks in advance

推荐答案

您好,



这将对您有所帮助,通过...



http://www.aspdotnet-suresh .com / 2010/12 / how-to-use-progressbar-control-in.html [ ^ ]


就是这样::





progressBar1.Minimum = 0;

progressBar1.Maximum = 5;

progressBar1.Value = 0;

progressBar1.Step = 1;

for(int i = 1;我< = 1; i ++)

{

progressBar1.PerformStep();

}
It is something like this::


progressBar1.Minimum = 0;
progressBar1.Maximum = 5;
progressBar1.Value = 0;
progressBar1.Step = 1;
for (int i = 1; i <= 1; i++)
{
progressBar1.PerformStep();
}


这篇关于进度条运动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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