Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var delayTimer = new System.Windows.Threading.DispatcherTimer(System.Windows.Threading.DispatcherPriority.Input);
- delayTimer.Interval = new TimeSpan(0, 0, 0, 0, 200); // milliseconds
- delayTimer.Tick += new EventHandler((arg1, arg2) =>
- {
- try
- {
- }
- finally
- {
- (arg1 as System.Windows.Threading.DispatcherTimer).Stop();
- }
- });
- delayTimer.Start();
Advertisement
Add Comment
Please, Sign In to add comment