private void ScheduleCallback(TimeSpan Time, Action Action) { var Timer = new System.Windows.Forms.Timer(); Timer.Interval = (int)Time.TotalMilliseconds; Timer.Tick += (sender, e) => { Timer.Stop(); Timer.Dispose(); Action(); }; Timer.Start(); }