예제 #1
0
        /// <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);
            }
        }
예제 #2
0
 protected virtual void NewDownload(DownloadMessage msg)
 {
 }
예제 #3
0
 protected override void NewDownload(DownloadMessage msg)
 {
     OpenDownloads();
     IsDownloadsChecked = true;
 }
예제 #4
0
 protected virtual void NewDownload(DownloadMessage msg)
 {
 }