Esempio n. 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();
                }
            }
        }
Esempio n. 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();
                }
            }
        }