/// <summary> /// 页面入口,不需要页面结构信息 /// </summary> /// <param name="pagename">页面名称</param> /// <returns>页面错误信息</returns> public string MakePage(string pagename) { BasePage testpage = new BasePage(pagename, this, false); testpage.MakePage(); return testpage.GetMsg(); }
/// <summary> /// 页面入口,需要页面结构信息 /// </summary> /// <param name="pagename">页面名称</param> /// <param name="PageString">结构信息</param> /// <returns>页面错误信息</returns> public string MakePage(string pagename, out string PageString) { PageString = ""; BasePage testpage = new BasePage(pagename, this, false); testpage.MakePage(); PageString = testpage.ToPageString(); return testpage.GetMsg(); }