This commit is contained in:
sc committed 2022-03-06 15:14:40 +08:00
commit e09eeade10
1 file changed
+1 -1
+1 -1
View File
@@ -43,7 +43,7 @@ namespace Audit.ViewModel
{ {
products = new ProductProvider().Select(); products = new ProductProvider().Select();
DispatcherTimer timer = new DispatcherTimer();//每5秒调用一次Tick_Event DispatcherTimer timer = new DispatcherTimer();//每5秒调用一次Tick_Event
timer.Interval = TimeSpan.FromSeconds(5); timer.Interval = TimeSpan.FromSeconds(10);
timer.Tick += Tick_Event; timer.Tick += Tick_Event;
timer.Start(); timer.Start();
} }