public void UpdateLostCousinsReport(RelationTypes relationshipTypes, ProgressController progressController, LCReportsViewController lcReport)
 {
     RelationshipTypes  = relationshipTypes;
     ProgressController = progressController;
     LCReport           = lcReport;
     InvokeOnMainThread(() =>
     {
         Predicate <CensusIndividual> relationFilter = relationshipTypes.BuildFilter <CensusIndividual>(x => x.RelationType, true);
         LCUpdates           = new List <CensusIndividual>();
         LCInvalidReferences = new List <CensusIndividual>();
         string reportText   = FamilyTree.Instance.LCOutput(LCUpdates, LCInvalidReferences, relationFilter);
         StatsTextbox.Value  = reportText;
     });
 }
        void DisplayColourBMD(NSObject sender)
        {
            var                      storyboard              = NSStoryboard.FromName("ColourReports", null);
            var                      colourBMDWindow         = storyboard.InstantiateControllerWithIdentifier("ColourBMDWindow") as NSWindowController;
            RelationTypes            relationTypes           = new RelationTypes();
            List <IDisplayColourBMD> list                    = FamilyTree.Instance.ColourBMD(relationTypes, string.Empty, null);
            ColourBMDViewController  colourBMDViewController = new ColourBMDViewController(CensusRegionOutlet.StringValue, (int)CensusSearchProviderOutlet.SelectedIndex);

            colourBMDViewController.RefreshDocumentView(new SortableBindingList <IDisplayColourBMD>(list));
            colourBMDWindow.ContentViewController.AddChildViewController(colourBMDViewController);
            colourBMDWindow.Window.Title = colourBMDViewController.Title;
            colourBMDWindow.Window.SetFrame(new CoreGraphics.CGRect(350, 350, 1000, 475), true);
            colourBMDWindow.ShowWindow(this);

            Analytics.TrackAction(Analytics.MainFormAction, Analytics.ColourBMDEvent);
        }