DispatcherTimer timer = new DispatcherTimer(); timer.Interval = TimeSpan.FromSeconds(1); timer.Tick += timer_Tick; // i take some error here. "Doesn't exist in the current context" timer.Start();
timer_Tick
private void timer_Tick(object sender, EventArgs e) { // your code here }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)