public void NextPageNoSave(Session aSession, string aPageId) { // create a new instance of the specified page PageInstance pageInst = PageManager.Instance.CreatePageInstance(aPageId, aSession); // open this new page instance for this session pageInst.Open(aSession); }
public void NextPage(Session aSession, string aPageId) { // the user has moved on to the next wizard page so notify the current page that it has been completed iPageStack[iPageStack.Count - 1].Completed(); // create a new instance of the specified page PageInstance pageInst = PageManager.Instance.CreatePageInstance(aPageId, aSession); // add the new page instance to the stack iPageStack.Add(pageInst); // open this new page instance for this session pageInst.Open(aSession); }