|  |  | 
 |  |  |       } | 
 |  |  |       else if (comdid == L"xmImport") | 
 |  |  |       { | 
 |  |  |          ImportItems(L"file://D:/jrjhome/developer-yh/projects/mherp.com.cn/前端策略/works/供应链.xml", | 
 |  |  |             L"Profit3.vface");// L"{94124797-1F4A-4BAC-8839-B5A119895C92}"); | 
 |  |  |          //ImportItems(L"file://D:/jrjhome/developer-yh/projects/mherp.com.cn/数据中心/works/trade.xml", | 
 |  |  |          //   L"Profit3.iface");// L"{94124797-1F4A-4BAC-8839-B5A119895C92}"); | 
 |  |  |          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; | 
 |  |  |  | 
 |  |  |       } |