private void Form1_Load(object sender, EventArgs e)
{
Stopwatch watch = new Stopwatch();
//开始计时
watch.Start();
//做你自己的操作
//停止计时
watch.Stop();
MessageBox.Show("总耗时:" + watch.Elapsed.Seconds.ToString ());
}
ok
mjj通道