Beispiel #1
0
        public void LoadDeptData()
        {
            List <BaseDeptLayer> layerlist = NewObject <BaseDeptLayer>().getlist <BaseDeptLayer>();
            List <BaseDept>      deptlist  = NewObject <BaseDept>().getlist <BaseDept>();

            frmDeptEmp.loadDeptTree(layerlist, deptlist);
        }
        public void LoadDeptData()
        {
            ServiceResponseData retdata = InvokeWcfService("MainFrame.Service", "EmpUserController", "LoadDeptData");

            List <BaseDeptLayer> layerlist = retdata.GetData <List <BaseDeptLayer> >(0);
            List <BaseDept>      deptlist  = retdata.GetData <List <BaseDept> >(0);

            frmDeptEmp.loadDeptTree(layerlist, deptlist);
        }
        public void LoadDeptData()
        {
            Object retdata = InvokeWCFService("EmpUserController", "LoadDeptData");

            List <BaseDeptLayer> layerlist = ToListObj <BaseDeptLayer>(ToArray(retdata)[0]);
            List <BaseDept>      deptlist  = ToListObj <BaseDept>(ToArray(retdata)[1]);

            frmDeptEmp.loadDeptTree(layerlist, deptlist);
        }