Пример #1
0
        private void displayLastUserActivity_tick(object sender, EventArgs e)
        {
            var idleTime = InputSimulator.GetIdleTime();

            label.Content = $"{idleTime:mm\\:ss\\:ffff} seconds";
        }