public ModifyRegexBasedFormatScenario( IWizardScenarioHost host, IObjectFactory fac ) { this.host = host; formatDoc = new XmlDocument(); formatDoc.LoadXml("<format><regular-grammar/></format>"); regexPage = fac.CreateRegexBasedFormatPage(host); identityPage = fac.CreateFormatIdentityPage(host, newFormatMode: false); optionsPage = fac.CreateFormatAdditionalOptionsPage(host); savePage = fac.CreateSaveFormatPage(host, newFormatMode: false); ResetFormatDocument(); }