Example #1
0
        private void _timer_Tick(object sender, EventArgs e)
        {
            var dt = DateTime.Now - _lastClick;

            if (dt.TotalMilliseconds > Interval)
            {
                OnRelease?.Execute(null);
                _timer.Stop();
            }
        }