标签:str c# tostring 进度 pre ext i++ color 0.00
public void test() { Thread.Sleep(1000); string vvv = ""; for (int i = 0; i < 100000;i++ ) { vvv = vvv +i.ToString() + "\r\n"; lblTip.Text = "已完成:[" + ((float)i*100 / (float)100000).ToString("0.00") + "%]...的数据"; Application.DoEvents(); } this.textBox1.Text = vvv; }
标签:str c# tostring 进度 pre ext i++ color 0.00
原文地址:http://www.cnblogs.com/lanyubaicl/p/7927656.html