private AddPropertyPages ( |
||
pageCollection | ||
Résultat | void |
internal void AddPropertyPages(PropertyPageCollection pageCollection)
{
if (pageCollection == null)
{
throw new ArgumentNullException("pageCollection");
}
for (int i = 0; i < pageCollection.Count; i++)
{
PropertyPage propertyPage = pageCollection[i];
propertyPage.SetPageIdAndParentSheet(i, this);
this.AddPropertyPage(propertyPage);
}
}
internal PropertySheet CreatePropertySheet(int sheetId, PropertyPageCollection pageCollection, AuxiliarySelectionData auxiliarySelectionData) { if (pageCollection == null) { throw new ArgumentNullException("pageCollection"); } PropertySheet sheet = new PropertySheet(this, sheetId, auxiliarySelectionData); sheet.AddPropertyPages(pageCollection); this.AddPropertySheet(sheet); return sheet; }