Exemplo n.º 1
0
 public void Show()
 {
     _bookmarksForm = new BookmarksForm
     {
         StartPosition = FormStartPosition.CenterScreen
     };
     _bookmarksForm.Closed += OnBookmarksFormClosed;
     _bookmarksForm.ShowDialog();
 }
Exemplo n.º 2
0
 private void OnBookmarksFormClosed(object sender, System.EventArgs e)
 {
     _bookmarksForm.Closed -= OnBookmarksFormClosed;
     _bookmarksForm         = null;
 }