| | |
| | | private: // |
| | | xnode m_agentNode; //Agent Condition |
| | | xstring m_agentCond; //Agent Node |
| | | public: |
| | | int SetAgent() |
| | | { |
| | | /* |
| | |
| | | if (comdid == L"xmPreview") |
| | | { |
| | | } |
| | | else if (comdid == L"xmImport") |
| | | { |
| | | xwin w = GetFrameWindow(); |
| | | xtreeview tv_folder = w.GetControl(L"DevExplorer"); |
| | | HTREEITEM hItem = tv_folder.GetSelectedItem(); |
| | | if (!hItem) return 1; |
| | | |
| | | KXMLDOMElement e = tv_folder.GetItemData(hItem); |
| | | xstring src = e.getAttribute(L"src"); |
| | | if(src==L"Profit3.vface") |
| | | ImportItems(L"file://D:/jrjhome/developer-yh/projects/mherp.com.cn/前端策略/works/供应链.xml", |
| | | L"Profit3.vface"); |
| | | else if (src == L"Profit3.iface") |
| | | ImportItems(L"file://D:/jrjhome/developer-yh/projects/mherp.com.cn/数据中心/works/trade.xml", |
| | | L"Profit3.iface"); |
| | | return 1; |
| | | |
| | | } |
| | | else if (comdid == L"xmFileSaveEx") |
| | | { |
| | | xsedit xs = GetControl(L"xpagecontent"); |