Ejemplo n.º 1
0
        public void InitMenuData()
        {
            List <BaseModule> modulelist = NewObject <BaseModule>().getlist <BaseModule>();
            List <BaseMenu>   menulist   = NewObject <BaseMenu>().getlist <BaseMenu>();

            frmMenu.loadMenuTree(modulelist, menulist);
        }
        public void InitMenuData()
        {
            Object            retdata    = InvokeWCFService("RightController", "InitMenuData");
            List <BaseModule> modulelist = ToListObj <BaseModule>(ToArray(retdata)[0]);
            List <BaseMenu>   menulist   = ToListObj <BaseMenu>(ToArray(retdata)[1]);

            frmMenu.loadMenuTree(modulelist, menulist);
        }
Ejemplo n.º 3
0
        public void InitMenuData()
        {
            ServiceResponseData retdata    = InvokeWcfService("MainFrame.Service", "RightController", "InitMenuData");
            List <BaseModule>   modulelist = retdata.GetData <List <BaseModule> >(0);
            List <BaseMenu>     menulist   = retdata.GetData <List <BaseMenu> >(1);

            frmMenu.loadMenuTree(modulelist, menulist);
        }