| | |
| | | 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) |
| | |
| | | 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+ |
| | | "\r\nContent:"+Content); |
| | | */ |
| | | x = ViewObject::AddMessage(Category, Reciever, NO, EntityID, Subject, Content); |
| | | ViewObject::AddMessage(GetServerUrl(), Category, Reciever, NO, EntityID, Subject, Content); |
| | | |
| | | return 1; |
| | | } |
| | |
| | | Send(PersonID, CName, EntityNo, EntityID); |
| | | } |
| | | } |
| | | xitem.Release(); |
| | | |
| | | //return 1; |
| | | } |
| | | |
| | |
| | | |
| | | int onload() |
| | | { |
| | | SetArg(); |
| | | dw_list = GetControl(L"dw_list"); |
| | | dw_list.openUrl(L"/sale/view/UserGroup/template/entityusergrouplist"); |
| | | dw_list.SetReadOnly(true); |