예제 #1
0
        public MenuSubItem(string iconName, string href, string displayName, MenuSubItem menuSubItem)
        {
            SubItems = new List <MenuSubItem>();

            if (href == "")
            {
                this.Href = "javascript:void(0);";
            }
            else
            {
                this.Href = href;
            }

            this.IconName    = iconName;
            this.DisplayName = displayName;

            addMenuSubItem(menuSubItem);
        }
예제 #2
0
        public MenuSubItem(string iconName, string href, string displayName, MenuSubItem menuSubItem)
        {
            SubItems = new List<MenuSubItem>();

            if (href == "")
            {
                this.Href = "javascript:void(0);";
            }
            else
            {
                this.Href = href;
            }

            this.IconName = iconName;
            this.DisplayName = displayName;

            addMenuSubItem(menuSubItem);
        }
예제 #3
0
 public void addMenuSubItem(MenuSubItem msi)
 {
     subItems.Add(msi);
 }
예제 #4
0
파일: MenuItem.cs 프로젝트: aardvarkss/vs
 public void addMenuSubItem(MenuSubItem msi)
 {
     subItems.Add(msi);
 }