예제 #1
0
        private void bookmarkCommentButton_Click(object sender, EventArgs e)
        {
            BookmarkCommentDlg dlg = new BookmarkCommentDlg();

            dlg.Comment = this.bookmarkComment;
            if (dlg.ShowDialog() == DialogResult.OK)
            {
                this.bookmarkComment = dlg.Comment;
                Dirty();
            }
        }
예제 #2
0
 void BookmarkComment(Bookmark bookmark)
 {
     BookmarkCommentDlg dlg = new BookmarkCommentDlg();
     dlg.Comment = bookmark.Text;
     if (dlg.ShowDialog() == DialogResult.OK)
     {
         BookmarkProvider.UpdateBookmarkText(bookmark, dlg.Comment);
         dataGridView.Refresh();
     }
 }
예제 #3
0
		private void bookmarkCommentButton_Click(object sender, EventArgs e)
		{
			BookmarkCommentDlg dlg = new BookmarkCommentDlg();
			dlg.Comment = this.bookmarkComment;
			if (dlg.ShowDialog() == DialogResult.OK)
			{
				this.bookmarkComment = dlg.Comment;
				Dirty();
			}
		}