进度条是ProgressBar么?if ProgressBar.Value=ProgressBar.max then ''你需要的执行语句 me.hide 窗口.showend if
if 进度条.v啥的属性=进度条.max thenme.hideform2.showendif