Example #1
0
        private void btnAddLink_Click(object sender, EventArgs e)
        {
            FormAddLink formAdd = new FormAddLink(_groupName);

            formAdd.ShowDialog();
            UpdateLists();
        }
Example #2
0
        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();
        }