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