#include <time.h>
//++++++++++++++++++++++++++++++++++++++++++++
//计算时间
clock_t start,end,dtStart;
start=clock();
//
ProgressBar1->Percent=0;
//++++++++++++++++++++++++++++++++++++++++++++
// ProgressBar1->Percent=i/DDnum*100;
// Application->ProcessMessages();
//++++++++++++++++++++++++++++++++++++++++++++
//操作完成计时
ProgressBar1->Percent=100;
end=clock();
dtStart=end-start;
float dSec=float(dtStart)/1000;
Label26->Caption = "耗时:"+FloatToStrF(dSec,ffFixed,4,3)+" 秒 ";
//++++++++++++++++++++++++++++++++++++++++++++