Example #1
0
        public void NewBatchDownload()
        {
            using (CreateBatchDownloadForm batchDownload = new CreateBatchDownloadForm())
            {
                if (batchDownload.ShowDialog() == DialogResult.OK)
                {
                    AddDownloadURLs(
                        batchDownload.URLs,
                        batchDownload.Segments,
                        batchDownload.DownloadPath,
                        0);

                    batchDownload.ApplySettings();
                }
            }
        }
Example #2
0
        public void NewBatchDownload()
        {
            using (CreateBatchDownloadForm batchDownload = new CreateBatchDownloadForm())
            {
                if (batchDownload.ShowDialog() == DialogResult.OK)
                {
                    AddDownloadURLs(
                        batchDownload.URLs,
                        batchDownload.Segments,
                        batchDownload.DownloadPath,
                        0);

                    batchDownload.ApplySettings();
                }
            }
        }