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