|
|
|
@ -43,7 +43,7 @@ namespace Audit.ViewModel |
|
|
|
{ |
|
|
|
products = new ProductProvider().Select(); |
|
|
|
DispatcherTimer timer = new DispatcherTimer();//每5秒调用一次Tick_Event
|
|
|
|
timer.Interval = TimeSpan.FromSeconds(5); |
|
|
|
timer.Interval = TimeSpan.FromSeconds(10); |
|
|
|
timer.Tick += Tick_Event; |
|
|
|
timer.Start(); |
|
|
|
} |
|
|
|
|