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); }
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); }