コード例 #1
0
        public bool DataBind(Employee theDataToBind)
        {
            _ItsView.AccountIdForProcess = theDataToBind.Account.Id;
            bool retVal = new WorkInfoDataBinder(_ItsView, false).DataBind(theDataToBind);

            FatherSelectChangeEvent();
            DepartmentSelectChangeEvent();
            DiyProcessSelectChangeEvent(string.Empty);
            return(retVal);
        }
コード例 #2
0
        public bool DataBind(Employee theDataToBind)
        {
            _ItsView.AccountIdForProcess = theDataToBind.Account.Id;
            bool retVal = new WorkInfoDataBinder(_ItsView, _IsFront).DataBind(theDataToBind);

            //_ItsView.DepartmentLeader = theDataToBind.Account.Dept.Leader.Name;
            //todo wsl
            FatherSelectChangeEvent();
            DepartmentSelectChangeEvent();
            return(retVal);
        }