// Download and import the script private void importScriptToolStripMenuItem_Click(object sender, EventArgs e) { foreach (ListViewItem item in ScriptsImporter_List.SelectedItems) { ScriptObject obj = (ScriptObject)item.Tag; obj.DownloadPackage(); } }