Example #1
0
        private static bool PruneMarkProc(GDMIndividualRecord iRec, TreeTools.TreeWalkMode mode, object extData)
        {
            var marks = (List <GDMRecord>)extData;

            marks.Add(iRec);
            return(true);
        }
Example #2
0
        private static bool PruneProc(GDMIndividualRecord iRec, TreeTools.TreeWalkMode mode, object extData)
        {
            bool visible = (bool)extData;

            iRec.SetVisibility(visible);
            return(true);
        }
Example #3
0
        private static bool RestrictProc(GDMIndividualRecord iRec, TreeTools.TreeWalkMode mode, object extData)
        {
            bool visible = (bool)extData;

            GMHelper.SetVisibility(iRec, visible);
            return(true);
        }
Example #4
0
        private void Select(GEDCOMIndividualRecord startPerson, TreeTools.TreeWalkMode walkMode)
        {
            fSplitList.Clear();

            if (startPerson == null)
            {
                AppHost.StdDialogs.ShowError(LangMan.LS(LSID.LSID_NotSelectedPerson));
            }
            else
            {
                TreeTools.WalkTree(startPerson, walkMode, fSplitList);
            }

            UpdateSplitLists();
        }
Example #5
0
        public void Select(GDMIndividualRecord startPerson, TreeTools.TreeWalkMode walkMode)
        {
            fSplitList.Clear();

            if (startPerson == null)
            {
                AppHost.StdDialogs.ShowError(LangMan.LS(LSID.LSID_NotSelectedPerson));
            }
            else
            {
                TreeTools.WalkTree(fBase.Context.Tree, startPerson, walkMode, fSplitList);
            }

            UpdateView();
        }
Example #6
0
 private static bool WalkProc(GDMIndividualRecord iRec, TreeTools.TreeWalkMode mode, object extData)
 {
     return(true);
 }
Example #7
0
 public void Select(TreeTools.TreeWalkMode walkMode)
 {
     Select(fBase.GetSelectedPerson(), walkMode);
 }