void _timer_Tick(object sender, EventArgs e) { // do the work in the loop string newData = DateTime.Now.ToLongTimeString(); // update the UI on the UI thread txtTicks.Text = "TIMER - " + newData; } #endregion