private void buttonAddFamily_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         if (null != m_handler.SelectedLink)
         {
             if (null == familyWindow)
             {
                 m_handler.SelectedFamilyInfo = null;
                 familyWindow         = new FamilyWindow(m_event, m_handler);
                 familyWindow.Owner   = this;
                 familyWindow.Closed += WindowClosed;
                 familyWindow.Show();
             }
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show("Failed to add a family map.\n" + ex.Message, "Add Family Map", MessageBoxButton.OK, MessageBoxImage.Warning);
     }
 }
 private void WindowClosed(object sender, System.EventArgs e)
 {
     familyWindow = null;
 }