LiFan
10 天以前 63eebabbfee1bc84850b36967ecac5116a28b73f
jrj/project/business/BasicCode/ExpressList.cpp
@@ -8,10 +8,12 @@
#include "viewobject/view.base.hpp"
using xml = KXMLDOMDocument;
class __declspec(dllexport) ExpressList : public xwin
class __declspec(dllexport) ExpressList : public listwin
{
public:
   ExpressList(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd) {}
   xdwgrid   dw_list;
public:
   ExpressList(void* implPtr, HWND hWnd) : listwin(implPtr, hWnd) {}
public:
   static ExpressList* CreateInstance(void* implPtr, void* hWnd)
   {
@@ -20,11 +22,17 @@
   }
   int onload()
   {
      list::onload();
      listwin::onload();
      SetAgent();
      return -1;
   }
   int ViewUpdate(param pr, xstring updateItem, xaserverarg   arg)
   int onloaded()
   {
      return listwin::onloaded();
   }
   int ViewUpdate(LPARAM pr, xstring updateItem, xaserverarg   arg)
   {
      if (updateItem == L"del")