From a4d2315ee4ca3f6177b4fb2526bed2feff3d89be Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期三, 22 十月 2025 16:52:58 +0800
Subject: [PATCH] update
---
jrj/project/business/BasicCode/BrandInforList.cpp | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/jrj/project/business/BasicCode/BrandInforList.cpp b/jrj/project/business/BasicCode/BrandInforList.cpp
index 48538a7..1ca38a2 100644
--- a/jrj/project/business/BasicCode/BrandInforList.cpp
+++ b/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();
+ }
};
\ No newline at end of file
--
Gitblit v1.9.3