Пример #1
0
        public void deleteIcon(uint id, String name, uint language)
        {
            ResIcon resicon = (ResIcon)getDataItem(icons, id, name);

            if (resicon != null)
            {
                resicon.deleteItem(language);
            }
        }
Пример #2
0
//-----------------------------------------------------------------------------

        public void addIcon(uint id, String name, uint language, Icon icon)
        {
            ResIcon resicon = (ResIcon)getDataItem(icons, id, name);

            if (resicon == null)
            {
                resicon = new ResIcon(id, name);
                icons.Add(resicon);
            }
            resicon.addItem(language, icon);
        }