private void btnAddLink_Click(object sender, EventArgs e) { FormAddLink formAdd = new FormAddLink(_groupName); formAdd.ShowDialog(); UpdateLists(); }
private void menuLinkEdit_Click(object sender, EventArgs e) { if (listLink.SelectedItems.Count < 1) { return; } FormAddLink f = new FormAddLink(_groupName, listLink.SelectedItems[0].SubItems[0].Text, listLink.SelectedItems[0].SubItems[1].Text); f.ShowDialog(); UpdateLists(); }