LiFan
2 天以前 d4726c427464d5fa50c9fce848831c4cec36d8d1
jrj/project/business/BasicCode/ShipcompanyList.cpp
@@ -8,10 +8,13 @@
#include "viewobject/view.base.hpp"
using xml = KXMLDOMDocument;
class __declspec(dllexport) ShipcompanyList : public xwin
class __declspec(dllexport) ShipcompanyList : public listwin
{
public:
   ShipcompanyList(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd) {}
   xdwgrid  dw_list;
public:
   ShipcompanyList(void* implPtr, HWND hWnd) :listwin(implPtr, hWnd) {}
public:
   static ShipcompanyList* CreateInstance(void* implPtr, void* hWnd)
   {
@@ -20,11 +23,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")
      {