private async void SyncProgress(object sender, EventArgs e) { Progress = await Task.Run(() => _encDec.GetProgress()); }