你需要寻找 DispatcherTimer 类 。DispatcherTimer dt = new DispatcherTimer(); dt.Interval = TimeSpan.FromSeconds(10); dt.Tick += delegate { ... }; dt.Start();