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