internal override void ItemsChanged(int change)
 {
     base.ItemsChanged(change);
     if (change == 0)
     {
         if ((this.menu != null) && this.menu.created)
         {
             this.UpdateMenuItem(true);
             base.CreateMenuItems();
         }
     }
     else
     {
         if (!this.hasHandle && this.IsParent)
         {
             this.UpdateMenuItem(true);
         }
         MainMenu mainMenu = base.GetMainMenu();
         if ((mainMenu != null) && ((this.data.State & 0x200) == 0))
         {
             mainMenu.ItemsChanged(change, this);
         }
     }
 }