Answers for "timer c# wf"

C#
0

C# WPF Timer

System.Windows.Threading.DispatcherTimer dispatcherTimer = new System.Windows.Threading.DispatcherTimer();
dispatcherTimer.Tick += dispatcherTimer_Tick;
dispatcherTimer.Interval = new TimeSpan(0,0,1);
dispatcherTimer.Start();


private void dispatcherTimer_Tick(object sender, EventArgs e)
{
  // code goes here
}
Posted by: Guest on April-03-2022

C# Answers by Framework

Browse Popular Code Answers by Language