private Table CreateControlHierarchy_CreateLayoutWithSideBar() { Wizard.WizardChildTable table3 = new Wizard.WizardChildTable(base.Owner) { EnableTheming = false }; Table child = table3; TableRow row = new TableRow(); child.Controls.Add(row); TableCell cell = base.Owner._sideBarTableCell ?? this.CreateControlHierarchy_CreateSideBarTableCell(); row.Controls.Add(cell); base.Owner._sideBarTableCell = cell; base.Owner._renderSideBarDataList = false; TableCell cell2 = new TableCell { Height = Unit.Percentage(100.0) }; row.Controls.Add(cell2); WizardDefaultInnerTable table2 = new WizardDefaultInnerTable { CellSpacing = 0, Height = Unit.Percentage(100.0), Width = Unit.Percentage(100.0) }; cell2.Controls.Add(table2); if (!base.Owner.DesignMode && base.Owner.IsMacIE5) { cell2.Height = Unit.Pixel(1); } using (new Wizard.WizardControlCollectionModifier(base.Owner)) { base.Owner.Controls.Add(child); } base.CreateControlHierarchy_CleanUpOldSideBarList(base.Owner.SideBarList); base.Owner._sideBarList = base.CreateControlHierarchy_SetUpSideBarList(base.Owner._sideBarTableCell); this._renderTable = child; return table2; }
private Table CreateControlHierarchy_CreateLayoutWithoutSideBar() { Wizard.WizardChildTable child = new Wizard.WizardChildTable(base.Owner) { EnableTheming = false }; using (new Wizard.WizardControlCollectionModifier(base.Owner)) { base.Owner.Controls.Add(child); } this._renderTable = child; return child; }