Esempio n. 1
0
        private async Task MakeExit()
        {
            var counter = 5;

            _notifier.AddToLog($"Exiting...");

            while (counter >= 1)
            {
                await Task.Delay(1000);

                _notifier.AddToLog($"{counter}");
                counter--;
            }
            _notifier.AddToLog($"Bye...");
            Process.Start(_global.Registry.SyrupAppPath);
            _notifier.CloseMe();
        }