Example #1
0
        public void ImportFromTextFile()
        {
            using (ImportFromFileForm importFile = new ImportFromFileForm())
            {
                if (importFile.ShowDialog() == DialogResult.OK)
                {
                    AddDownloadURLs(
                        importFile.URLs,
                        1,
                        importFile.DownloadPath,
                        0);

                    importFile.ApplySettings();
                }
            }
        }
Example #2
0
        public void ImportFromTextFile()
        {
            using (ImportFromFileForm importFile = new ImportFromFileForm())
            {
                if (importFile.ShowDialog() == DialogResult.OK)
                {
                    AddDownloadURLs(
                        importFile.URLs,
                        1,
                        importFile.DownloadPath,
                        0);

                    importFile.ApplySettings();
                }
            }
        }