示例#1
0
        public HierarchicalMenu(string i_MenuTopic)
        {
            Topic           = i_MenuTopic;
            r_AttachedItems = new List <MenuItem>();
            MenuItem GoBackMenu = new MenuItem();

            AttachedItems.Add(GoBackMenu);
            AttachedItems[k_GoToUpperMenuIndex].Topic = k_GoToUpperMenuTopic;
        }
        public HierarchicalMenu(string i_Topic)
        {
            r_AttachedItems = new List <MenuItem>();
            Topic           = i_Topic;
            MenuAction backItem = new MenuAction();

            AttachedItems.Add(backItem);
            AttachedItems[k_GoToUpperMenuIndex].Topic = k_GoToUpperMenuTopic;
        }