|  |  | 
 |  |  |  | 
 |  |  | #include "vbusiness/vframe/listwin.vframe.vbusiness.hpp" | 
 |  |  | #include "viewobject/view.base.hpp" | 
 |  |  | #include "HrEmployeex.hpp" | 
 |  |  |  | 
 |  |  | using xml = KXMLDOMDocument; | 
 |  |  | class __declspec(dllexport) HrPersonSel : public xframe | 
 |  |  | { | 
 |  |  | public: | 
 |  |  |    HrEmployeex lw_obj; | 
 |  |  |    HrEmployeex* lw_obj; | 
 |  |  |    xdwgrid   dw_list; | 
 |  |  |  | 
 |  |  |    xnode   m_agentNode;   //Agent Condition | 
 |  |  | 
 |  |  |  | 
 |  |  |             int  OnRetrieve() | 
 |  |  |             { | 
 |  |  |                control xc = new control; | 
 |  |  |                xc.setNativePointer(GetControl(L"QueryTxt")); | 
 |  |  |                xcontrol xc = GetControl(L"QueryTxt"); | 
 |  |  |                m_sTxt = xc.GetText() + L""; | 
 |  |  |                xstring query = L"[MSSqlHrJob.xq]"; | 
 |  |  |                xml x; |