Exemple #1
0
        public override bool OpenFile(String fileName, ref FamilyTreeStoreBaseClass inFamilyTree, CompletedCallback callback)
        {
            FamilyTreeStoreGeni2 GeniStore = (FamilyTreeStoreGeni2)inFamilyTree;

            trace.TraceInformation("GeniFileType::OpenFile( " + fileName + ")");
            GeniStore.SetFile(fileName);
            if (!GeniStore.CallbackArmed())
            {
                callback(true);
            }
            return(true);
        }
Exemple #2
0
        public override bool OpenFile(String fileName, ref IFamilyTreeStoreBaseClass inFamilyTree, CompletedCallback callback)
        {
            if (GeniStore != null)
            {
                trace.TraceData(TraceEventType.Warning, 0, "Tree is not null");
            }
            GeniStore = (FamilyTreeStoreGeni2)inFamilyTree;

            trace.TraceInformation("GeniFileType::OpenFile( " + fileName + ")");
            GeniStore.SetFile(fileName);
            if (!GeniStore.CallbackArmed())
            {
                callback(true);
            }
            return(true);
        }