title: trapping the event when a messagebox is closed and using as delegate
body: <p>The following works fine for a windows form. </p>
  
  <p>It simply uses a delegate to reactivate a GroupBorder on the <em>parent</em> form when the <em>child</em> form is closed.</p>
  
  <pre><code>    private void uxUpdateDataButton_Click(object sender, EventArgs e)   
      {
          uxRevisionHelperGroupBox.Enabled = false;
          uxBindingNavigator.Hide();
          uxFormDatabase myNewDisplay = new uxFormDatabase();
          myNewDisplay.FormClosed += delegate { activateGroupBorder(); };
          myNewDisplay.Show();    
      }
  
      public void activateGroupBorder() 
      {
          uxRevisionHelperGroupBox.Enabled = true;
          uxBindingNavigator.Show();
      }
  </code></pre>
  
  <p>Is it possible to do the equivalent to the above but for a messagebox instead of the child form?</p>
  
  <p>This is my attempt which is not the solution:</p>
  
  <pre><code>    private void uxAuthorPictureBox_Click(object sender, EventArgs e)
      { 
          uxRevisionHelperGroupBox.Enabled = false;
          uxBindingNavigator.Hide();
          MessageBox myMessage = new MessageBox;
          myMessage.close += delegate { activateGroupBorder(); };
          myMessage.Show("hello world"); 
      }
      public void activateGroupBorder()
      {
          uxRevisionHelperGroupBox.Enabled = true;
          uxBindingNavigator.Show();
      }     
  </code></pre>