コード例 #1
0
        private void installSelectedToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Data selected;

            foreach (int item in listView1.CheckedIndices)
            {
                selected = datas[item];
                Console.WriteLine("Downloading and installing " + selected.Name);
                if (selected.InstallerUrl != string.Empty && selected.InstallerUrl != null)
                {
                    MiscTools.DownloadFile(selected.InstallerUrl, true);
                }
            }
        }