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