예제 #1
0
 //
 // 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) { }
 }
예제 #2
0
 //
 // 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) { }
 }