Пример #1
0
 private void ButtonClearAll_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show(this, "Note: This will remove all of your bookmarked files. You can't undo this. Continue?", "Clear Bookmarks", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes)
     {
         Bookmarks.ClearBookmarks();
         LoadBookmarks();
     }
 }