AsyncInfiniteLoops.MainWindow._timer_Tick C# (CSharp) Method

_timer_Tick() public method

public _timer_Tick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        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