|  |  | 
 |  |  | #include "viewobject/view.base.hpp" | 
 |  |  |  | 
 |  |  | using xml = KXMLDOMDocument; | 
 |  |  | class __declspec(dllexport) CustomerMarketList : public xwin | 
 |  |  | class __declspec(dllexport) CustomerMarketList : public listwin | 
 |  |  | { | 
 |  |  |  | 
 |  |  | public: | 
 |  |  |    CustomerMarketList(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd) {} | 
 |  |  |    xdwgrid   dw_list; | 
 |  |  | public: | 
 |  |  |    CustomerMarketList(void* implPtr, HWND hWnd) :listwin(implPtr, hWnd) {} | 
 |  |  | public: | 
 |  |  |    static CustomerMarketList* CreateInstance(void* implPtr, void* hWnd) | 
 |  |  |    { | 
 |  |  | 
 |  |  |       return pWin; | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    int ViewUpdate(param pr, xstring updateItem, xaserverarg  arg) | 
 |  |  |    int ViewUpdate(LPARAM pr, xstring updateItem, xaserverarg  arg) | 
 |  |  |    { | 
 |  |  |       if (updateItem == L"del") { | 
 |  |  |          int DelRow = dw_list.GetRow(); | 
 |  |  | 
 |  |  |    } | 
 |  |  |    int onload() | 
 |  |  |    { | 
 |  |  |       list::onload(); | 
 |  |  |       SetAgent(); | 
 |  |  |       listwin::onload(); | 
 |  |  |  | 
 |  |  |       return -1; | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    int onloaded() | 
 |  |  |    { | 
 |  |  |       return listwin::onloaded(); | 
 |  |  |    } | 
 |  |  |  | 
 |  |  | }; |