/// <summary> /// Adds a new download task /// </summary> /// <param name="msg"></param> protected override void NewDownload(DownloadMessage msg) { try { DownloadingItems.Add(new DownloadItemView { DataContext = new DownloadItemViewModel(msg.Url) }); } catch (Exception ex) { DialogService.ShowMessageBox(ex.Message); } }
protected virtual void NewDownload(DownloadMessage msg) { }
protected override void NewDownload(DownloadMessage msg) { OpenDownloads(); IsDownloadsChecked = true; }