public MainWindow() { InitializeComponent(); this.DataContext = vm; DispatcherTimer timer = new DispatcherTimer(); timer.Interval = TimeSpan.FromSeconds(1); timer.Tick += timer_Tick; timer.Start(); _blue = false; vm.FileDBExist(0); }
public MainWindow() { InitializeComponent(); this.DataContext = vm; DispatcherTimer timer = new DispatcherTimer(); timer.Interval = TimeSpan.FromSeconds(1); timer.Tick += timer_Tick; timer.Start(); _blue = false; vm.FileDBExist(0); }