From 7a91c3a1ed37b0332d4ff0ebeae60bd6da3665c0 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期二, 16 七月 2024 18:28:58 +0800
Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/mis-prj

---
 jrj/project/business/BasicCode/TestingCompanyList.cpp |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 42 insertions(+), 0 deletions(-)

diff --git a/jrj/project/business/BasicCode/TestingCompanyList.cpp b/jrj/project/business/BasicCode/TestingCompanyList.cpp
new file mode 100644
index 0000000..50c7dd3
--- /dev/null
+++ b/jrj/project/business/BasicCode/TestingCompanyList.cpp
@@ -0,0 +1,42 @@
+#include <wobject/xstring.hpp>
+#include <xcontrol/xtreeview.hpp>
+#include <xcontrol/xdwgrid.hpp>
+#include <wobject/xdouble.hpp>
+#include <xcontrol/xlayersheet.hpp>
+
+#include "vbusiness/vframe/listwin.vframe.vbusiness.hpp"
+#include "viewobject/view.base.hpp"
+
+using xml = KXMLDOMDocument;
+class __declspec(dllexport) TestingCompanyList : public xwin
+{
+public:
+
+	xdwgrid  dw_list;
+public:
+	TestingCompanyList(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd) {}
+public:
+	static TestingCompanyList* CreateInstance(void* implPtr, void* hWnd)
+	{
+		TestingCompanyList* pWin = new TestingCompanyList(implPtr, (HWND)hWnd);
+		return pWin;
+	}
+	int onload()
+	{
+		list::onload();
+		return -1;
+	}
+
+	int ViewUpdate(param pr, xstring updateItem, xaserverarg   arg)
+	{
+		if (updateItem == L"del")
+		{
+			int DelRow = dw_list.GetRow();
+			dw_list.DeleteRow(DelRow);
+
+		}
+
+		return 1;
+	}
+
+};
\ No newline at end of file

--
Gitblit v1.9.3