From 0b8444d0eef50d1ee4e0d0b51e174fa5b447d802 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期三, 17 七月 2024 17:50:35 +0800
Subject: [PATCH] base code

---
 jrj/project/business/Public/UserGroupShare.cpp |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/jrj/project/business/Public/UserGroupShare.cpp b/jrj/project/business/Public/UserGroupShare.cpp
index 51f37e5..da79ba3 100644
--- a/jrj/project/business/Public/UserGroupShare.cpp
+++ b/jrj/project/business/Public/UserGroupShare.cpp
@@ -152,6 +152,7 @@
 			AttachEvent(L"WM_XCOMMAND", (FEvent)&UserGroupShareWin::OnXCommand);
 			//获取焦点事件,用于重置工具条
 			AttachEvent(L"WM_SETFOCUS", (FEvent)&UserGroupShareWin::OnSetFocus);
+			return 1;
 		}
 
 		int Send(xstring PersonID, xstring CName, xstring NO, xstring EntityID)
@@ -166,7 +167,7 @@
 			KXMLDOMNodeList nlist = x.selectNodes(L"//data/Item");
 			KXMLDOMElement xitem = nlist.item(0);
 			xstring Reciever = xitem.selectSingleNode(L"userno").text();
-			xitem.Release();
+		
 
 			/*alert(L"Category:"+Category +
 					"\r\nReciever:"+Reciever + L"\r\nNo:"+NO + L"\r\nEntityID:"+EntityID + L"Subject:"+Subject+
@@ -208,7 +209,7 @@
 						Send(PersonID, CName, EntityNo, EntityID);
 					}
 				}
-				xitem.Release();
+				
 				//return 1;
 			}
 
@@ -274,6 +275,7 @@
 
 		int onload()
 		{
+			SetArg();
 			dw_list = GetControl(L"dw_list");
 			dw_list.openUrl(L"/sale/view/UserGroup/template/entityusergrouplist");
 			dw_list.SetReadOnly(true);

--
Gitblit v1.9.3