using System; using System.IO; using System.Collections; using BP.DA; using System.Data; using BP.Sys; using BP.En; namespace BP.Sys.XML { public class XmlMenuAttr { public const string No = "No"; public const string Name = "Name"; public const string Url = "Url"; public const string Target = "Target"; public const string Img = "Img"; } abstract public class XmlMenu : XmlEnNoName { /// /// 功能编号 /// public string Img { get { return this.GetValStringByKey("Img"); } } /// /// 名称. /// public string Name { get { return this.GetValStringByKey("Name"); } } /// /// URL /// public string Url { get { return this.GetValStringByKey("Url"); } } public string Target { get { return this.GetValStringByKey("Target"); } } /// /// 菜单 /// public XmlMenu() { } /// /// 菜单 /// /// public XmlMenu(string no) { this.RetrieveByPK("No", no); } } /// /// XmlMenus 的摘要说明。 /// abstract public class XmlMenus : XmlEns { #region 构造 /// /// 构造 /// public XmlMenus() { } #endregion 构造 } }