How to add image to module

static client void Jimmy_ImageToModule()
{
    TreeNode treeNodeMenu;
;
    treeNodeMenu = SysDictMenu::newMenuName(menustr(Jimmy)).parmTreeNode();
    if (treeNodeMenu)
    {
        treeNodeMenu.AOTsetProperty(identifierstr(NormalImage), SysResource::getImagePath(resourcestr(Jimmy_jpg)));
        treeNodeMenu.AOTsave();
    }
}
posted @ 2012-03-29 11:35  Fandy Xie  Views(206)  Comments(0Edit  收藏  举报