public TwoLevelConc(LcmCache cache, IConcPolicy cp, IGetNodeInfo gni) { m_cp = cp; m_gni = gni; InitializeBasic(cache, false); // JT: was Initialize, that now has more args; not retested. InitializeComponentBasic(); // Can't add null values to Controls, // now that there isn't a SliceCollection, which could hold nulls. //m_slices.AddRange(new Slice[cp.Count]); // adds appropriate # nulls // Temporary: until I figure how to be lazy, we have to make slices // for all nodes. for (int i = 0; i < cp.Count; i++) { FieldAt(i); } }
public TwoLevelConc(FdoCache cache, IConcPolicy cp, IGetNodeInfo gni) { m_cp = cp; m_gni = gni; InitializeBasic(cache, false); // JT: was Initialize, that now has more args; not retested. InitializeComponentBasic(); // Can't add null values to Controls, // now that there isn't a SliceCollection, which could hold nulls. //m_slices.AddRange(new Slice[cp.Count]); // adds appropriate # nulls // Temporary: until I figure how to be lazy, we have to make slices // for all nodes. for (int i = 0; i < cp.Count; i++) FieldAt(i); }
int m_index; // slice number public ConcView(IConcPolicy cp, IGetNodeInfo gni, int index) { m_cp = cp; m_gni = gni; m_index = index; }