private void buttonAddDLC_Click(object sender, EventArgs e) { DLC dlc = new DLC(); FormDLC form = new FormDLC(dlc, versions); if (form.ShowDialog() == DialogResult.OK) { dlcs.Add(dlc); DrawDLCs(); RefreshOthers(); } }
private void buttonChangeDLC_Click(object sender, EventArgs e) { if (listViewDLCs.SelectedIndices.Count == 1) { DLC dlc = (DLC)listViewDLCs.SelectedItems[0].Tag; FormDLC form = new FormDLC(dlc, versions); if (form.ShowDialog() == DialogResult.OK) { DrawDLCs(); RefreshOthers(); } } }