问题描述
我有一个带有一个按钮,一个计时器控件和一个gridview控件的表格(windows),并且datagridview的列之一被用作进度栏列.
我所做的是:
当我单击按钮时,计时器将启动,并且我将间隔设置为(5秒)(5秒后),一栏中的进度条将显示为5%,而10秒后,进度条将显示10%...等.
高达100%...
我的要求是:-
假设进度条在中间,例如:-50%
如果我再次单击该按钮,计时器必须启动,进度条应显示5%.... 10%.... e.t.c ...
像这样我想做很多事情...
这是在Windows应用程序中...(c#.net3.0)
问候,
Nagaraju.N
Hi,
I have a form(windows) with one button,one timer control and gridview control and one of the column of datagridview taken as progressbar column.
what i have done is:
when i click on the button, the timer will start and i set interval is(5 seconds) after 5 seconds the progressbar in one column will show to 5% and after 10 seconds the progressbar will results in 10%...e.t.c...
up to 100%...
what my requirement is:-
suppose the progressbar is in the middle ex:-50%
if i again click on the button the timer has to start and progressbar should results 5%....10%....e.t.c...
like this i want to do multiple things...
This is in windows application...(c#.net3.0)
Regards,
Nagaraju.N
推荐答案
这篇关于datagridview中的进度栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!