public PageInfo(Panel panel, PageRoutine initializePage, PageRoutine cleanupPage, PageRoutine processPage, PageRoutine toggleAdvanced, PageRoutine isPageToBeSkipped, string caption, string description) { this.panel = panel; this.initializePage = initializePage; this.cleanupPage = cleanupPage; this.processPage = processPage; this.toggleAdvanced = toggleAdvanced; this.isPageToBeSkipped = isPageToBeSkipped; this.caption = caption; this.description = description; if (null != panel) initialParent = panel.Parent; }
public PageInfo(Panel panel, PageRoutine initializePage, PageRoutine cleanupPage, PageRoutine processPage, PageRoutine toggleAdvanced, PageRoutine isPageToBeSkipped, string caption, string description) { this.panel = panel; this.initializePage = initializePage; this.cleanupPage = cleanupPage; this.processPage = processPage; this.toggleAdvanced = toggleAdvanced; this.isPageToBeSkipped = isPageToBeSkipped; this.caption = caption; this.description = description; if (null != panel) { initialParent = panel.Parent; } }
protected void AddPage(Panel panel, PageRoutine initializePage, PageRoutine cleanupPage, PageRoutine processPage, PageRoutine processToggleAdvanced, PageRoutine isPageToBeSkipped, String caption, String description) { pages.AddLast(new PageInfo(panel, initializePage, cleanupPage, processPage, processToggleAdvanced, isPageToBeSkipped, caption, description)); }