如何在C#中设置进度栏 [英] how to set progress bar in c#

查看:72
本文介绍了如何在C#中设置进度栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!

我必须根据申请表设置进度条..


例如,在naukri门户中,我们具有进度条,该进度条将显示我们的申请表的状态.即,它将显示40%的申请表,其中已经填充了进度条图像..


谁能告诉我如何根据我的申请表格状态设置进度条..

hi!

i have to set the progress bar according to the application form ..


for example in naukri portal we have the progress bar that will display the status of our application form.. i.e it will show 40% application form u have been filled with the progress bar image..


can anyone tell me how to set the progress bar according to my application form status..

推荐答案

进度条具有您可以设置的 value 属性您必须设置什么.
将检查点放入表单中,并相应地设置进度条的值.

例如如果您的表单中有10个文本框,那么在填充5个文本框后,设置progressBar1.value = 50;

首先设置它的最大值和最小值.
progress bar has value property you can set what you have to set.
Put the checkpoint in your form and set the value of the progressbar accordingly.

e.g. if you have 10 textboxes in your form so after 5 textboxes filling set the progressBar1.value = 50;

first set it''s Max and Min value.


这篇关于如何在C#中设置进度栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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