1 System.Timers.Timer timer = new System.Timers.Timer(); 2 timer.Interval = 360; 3 timer.Elapsed += delegate 4 { 5 Application.Current.Dispatcher.BeginInvoke(new Action(() => 6 { 7 //TODO :你的业务; 8 })); 9 10 timer.Stop(); 11 }; 12 timer.Start();