}// ResultQDO internal override bool ResultCompareObjects(Object o1, Object o2, out bool fEqual) { if (o1 is AssemInfo && o2 is AssemInfo) { fEqual = Fusion.CompareAssemInfo((AssemInfo)o1, (AssemInfo)o2); return(true); } MessageBox("Ack. I'm in ResultCompareObjects and they aren't AssemInfos!", "", 0); fEqual = false; return(false); }// ResultCompareObjects
}// ApplyPropPages private CPropPage[] GetPropertyPages(AssemInfo ai) { // Let's see if we already have an entry for this assemby item int nLen = m_alResultPropPages.Count; for (int i = 0; i < nLen; i++) { if (Fusion.CompareAssemInfo(((PropPagePairs)m_alResultPropPages[i]).ai, ai)) { return(((PropPagePairs)m_alResultPropPages[i]).ppages); } } // If we're here, then we have a new property page to add PropPagePairs ppp = new PropPagePairs(); ppp.ppages = new CPropPage[1] { new CAssemGenProps(ai) }; ppp.ai = ai; m_alResultPropPages.Add(ppp); return(ppp.ppages); }// GetPropertyPages