// // Add bookmark event from context menu // private void addBookmarkToolStripMenuItem_Click(object sender, EventArgs e) { try { BookmarkForm bookForm = new BookmarkForm(); if (bookForm.ShowDialog() == DialogResult.OK) { generateBookMarks(); } } catch (Exception) { } }
// // Edit bookmark event from context menu // private void editBookmarkToolStripMenuItem1_Click(object sender, EventArgs e) { try { BookmarkForm bookForm = new BookmarkForm(); bookForm.editBookmark(bookmark_list.SelectedItem.ToString()); if (bookForm.ShowDialog() == DialogResult.OK) { bookForm.Show(); generateBookMarks(); } } catch (Exception) { } }