private async void Popup_NextAction() { Task.Factory.StartNew(async() => { await Task.Delay(DelayBeforeCommandExecution); NextCommand?.Invoke(); }); await Background.Hide(); Dispose(); }
private void Next() { NextCommand?.Invoke(); }