ACAT.Lib.Core.Utility.WindowActivityMonitor._timer_Tick C# (CSharp) Метод

_timer_Tick() приватный статический Метод

The timer function to check the currently focused window and to see if focus changed or not
private static _timer_Tick ( object sender, EventArgs e ) : void
sender object event sender
e System.EventArgs event arg
Результат void
        private static void _timer_Tick(object sender, EventArgs e)
        {
            // prevent re-entrancy
            if (!tryEnter(_timerSync))
            {
                return;
            }

            getActiveWindow();

            release(_timerSync);
        }