📅  最后修改于: 2022-03-11 15:00:19.436000             🧑  作者: Mango
代码示例1
int secondsremaining = (int)(timespent.TotalSeconds / progressBar1.Value * (progressBar1.Maximum - progressBar1.Value));