码迷,mamicode.com
首页 > 其他好文 > 详细

显示进度条

时间:2014-06-08 07:24:32      阅读:189      评论:0      收藏:0      [点我收藏+]

标签:c   a   ext   int   set   new   

static void jindutiao_ZF(Args _args)
{
RunBaseProgress progress;
integer i,j;
;
i = 10000;
progress = new RunBaseProgress(1);
progress.setCaption(‘进度‘);
progress.setTotal(i);
progress.updateInterval(1);
while(j != i)
{
j =j+100;
progress.setCount(j);
progress.setText(‘进度‘+ num2str(j/i*100,1,0,1,1) +‘%‘);
pause;
}
}

显示进度条,布布扣,bubuko.com

显示进度条

标签:c   a   ext   int   set   new   

原文地址:http://www.cnblogs.com/AllenFeng/p/3774076.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!