LiFan
2025-04-24 9b3b2eb20b09e13da837a28f16e552ba70a090c4
jrj/project/business/BasicCode/BrandInforList.cpp
@@ -8,11 +8,12 @@
#include "viewobject/view.base.hpp"
using xml = KXMLDOMDocument;
class __declspec(dllexport) BrandInforList : public xwin
class __declspec(dllexport) BrandInforList : public listwin
{
public:
   BrandInforList(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd) {}
   xdwgrid   dw_list;
public:
   BrandInforList(void* implPtr, HWND hWnd) :listwin(implPtr, hWnd) {}
public:
   static BrandInforList* CreateInstance(void* implPtr, void* hWnd)
   {
@@ -21,7 +22,7 @@
   }
   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();
@@ -30,9 +31,14 @@
      return 1;
   }
   int onload()
   {
      list::onload();
   {
      SetAgent();
      listwin::onload();
      return -1;
   }
   int onloaded()
   {
      return listwin::onloaded();
   }
};