Beispiel #1
0
 public void deleteMenu(uint id, String name, uint language)
 {
     ResMenu resmenu = (ResMenu)getDataItem(menus, id, name);
     if (resmenu != null)
     {
         resmenu.deleteItem(language);
     }
 }
Beispiel #2
0
//-----------------------------------------------------------------------------

        public void addMenu(uint id, String name, uint language, byte[] data)
        {
            ResMenu resmenu = (ResMenu)getDataItem(menus, id, name);
            if (resmenu == null)
            {
                resmenu = new ResMenu(id, name);
                menus.Add(resmenu);
            }
            resmenu.addItem(language, data);            
        }