| | |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\Public\GroupManagerList.cpp" /> |
| | | <ClCompile Include="..\project\business\Public\GroupManagerList.cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\Public\memo.edit.new.cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild> |
| | | </ClCompile> |
| | |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\Public\search.dialog.cpp" /> |
| | | <ClCompile Include="..\project\business\Public\SupplierUserGroupPersonSelect.cpp" /> |
| | | <ClCompile Include="..\project\business\Public\UserGroupMaint.cpp" /> |
| | | <ClCompile Include="..\project\business\Public\UserGroupPersonSelect.cpp" /> |
| | | <ClCompile Include="..\project\business\Public\UserGroupPersonSelectEx.cpp" /> |
| | | <ClCompile Include="..\project\business\Public\UserGroupSelect.cpp" /> |
| | | <ClCompile Include="..\project\business\Public\UserGroupShare.cpp" /> |
| | | <ClCompile Include="..\project\business\Public\UserGroupShareEx.cpp" /> |
| | | <ClCompile Include="..\project\business\Public\search.dialog.cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\Public\SupplierUserGroupPersonSelect.cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\Public\UserGroupMaint.cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\Public\UserGroupPersonSelect.cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\Public\UserGroupPersonSelectEx.cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\Public\UserGroupSelect.cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\Public\UserGroupShare.cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\Public\UserGroupShareEx.cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\quote.enquiry.cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild> |
| | | </ClCompile> |
| | |
| | | AttachEvent(L"WM_XCOMMAND", (FEvent)&APListBankMaint::OnXCommand); |
| | | //获取焦点事件,用于重置工具条 |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&APListBankMaint::OnSetFocus); |
| | | return 1; |
| | | } |
| | | |
| | | /* |
| | |
| | | //获取焦点事件,用于重置工具条 |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&APSelectDlg::OnSetFocus); |
| | | AttachEvent(L"dw_list", L"DWV_DOUBLECLICKED", (FEvent)&APSelectDlg::onOk); |
| | | return 1; |
| | | } |
| | | |
| | | int RetrieveData() |
| | |
| | | AttachEvent(L"dw_list", L"DWV_DOUBLECLICKED", (FEvent)&ListAP::OnDoubleClicked);//行双击 |
| | | AttachEvent(L"cbx_state", L"CBN_SELCHANGE", (FEvent)&ListAP::OnDatePicker); |
| | | AttachEvent(L"dw_list", L"DWV_ITEMCHANGED", (FEvent)&ListAP::OnItemChanged); |
| | | return 1; |
| | | } |
| | | |
| | | int OnDatePicker(TEvent* evt, int lParam) |
| | |
| | | AttachEvent(L"dw_base", L"DWV_ITEMCHANGED", (FEvent)&MaintAP::OnItemChanged); |
| | | //获取焦点事件,用于重置工具条 |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&MaintAP::OnSetFocus); |
| | | return 1; |
| | | } |
| | | |
| | | int OnRetrieve() |
| | |
| | | //获取焦点事件,用于重置工具条 |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&CustomerTranARView::OnSetFocus); |
| | | AttachEvent(L"dw_list", L"DWV_ASKSTYLE", (FEvent)&CustomerTranARView::OnItemAskStyle); |
| | | return 1; |
| | | } |
| | | |
| | | int OnSave() |
| | |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&Deduction::OnSetFocus); |
| | | AttachEvent(L"dw_list", L"DWV_ROWFOCUSCHANGED", (FEvent)&Deduction::OnRowChanged); |
| | | AttachEvent(L"dw_list", L"DWV_ITEMCHANGED", (FEvent)&Deduction::OnItemChanged); |
| | | return 1; |
| | | } |
| | | |
| | | |
| | |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&ExchangeFileView::OnSetFocus); |
| | | AttachEvent(L"dw_exchangefile", L"CELL_ITEMCHANGED", (FEvent)&ExchangeFileView::OnCellItemChanged); |
| | | AttachEvent(L"dw_exchangefile", L"DWV_CLICKED", (FEvent)&ExchangeFileView::OnCellClicked); |
| | | return 1; |
| | | } |
| | | |
| | | |
| | |
| | | AttachEvent(L"cbx_type", L"CBN_SELCHANGE", (FEvent)&ExchangeInputView::OnCombboChanged);//属性组切换list中列的数量变化 |
| | | AttachEvent(L"dw_adjust", L"DWV_ITEMCHANGED", (FEvent)&ExchangeInputView::OnBaseItemChanged); |
| | | AttachEvent(L"dw_list", L"DWV_DOUBLECLICKED", (FEvent)&ExchangeInputView::OnDoubleClicked);//行双击 |
| | | return 1; |
| | | |
| | | } |
| | | |
| | |
| | | AttachEvent(L"WM_XCOMMAND", (FEvent)&ExchangeBankTranView::OnXCommand); |
| | | //获取焦点事件,用于重置工具条 |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&ExchangeBankTranView::OnSetFocus); |
| | | return 1; |
| | | } |
| | | |
| | | int OnSave() |
| | |
| | | AttachEvent(L"WM_XCOMMAND", (FEvent)&ExchangeColumnTranView::OnXCommand); |
| | | //获取焦点事件,用于重置工具条 |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&ExchangeColumnTranView::OnSetFocus); |
| | | return 1; |
| | | } |
| | | |
| | | int OnSave() |
| | |
| | | AttachEvent(L"dw_unexch", L"DWV_DOUBLECLICKED", (FEvent)&ExchangeSignFastWin::OnDoubleClicked);//行双击 |
| | | AttachEvent(L"cbx_customer", L"CBN_SELCHANGE", (FEvent)&ExchangeSignFastWin::OnCombboChanged);//属性组切换list中列的数量变化 |
| | | AttachEvent(L"dw_unexch", L"DWV_ITEMCHANGED", (FEvent)&ExchangeSignFastWin::OnItemChanged); |
| | | return 1; |
| | | |
| | | } |
| | | |
| | |
| | | //获取焦点事件,用于重置工具条 |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&SettlementExchangeEdit::OnSetFocus); |
| | | AttachEvent(L"dw_base", L"DWV_ITEMCHANGED", (FEvent)&SettlementExchangeEdit::OnItemChanged); |
| | | return 1; |
| | | } |
| | | |
| | | |
| | |
| | | AttachEvent(L"WM_XCOMMAND", (FEvent)&BlankExcelTemplateView::OnXCommand); |
| | | //获取焦点事件,用于重置工具条 |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&BlankExcelTemplateView::OnSetFocus); |
| | | return 1; |
| | | } |
| | | |
| | | /*//加载数据 |
| | |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&ViewManpowerFileList::OnSetFocus); |
| | | AttachEvent(L"dw_list", L"DWV_DOUBLECLICKED", (FEvent)&ViewManpowerFileList::OnDoubleClicked);//行双击 |
| | | AttachEvent(L"tv_folder", L"TVN_SELCHANGED", (FEvent)&ViewManpowerFileList::OnTreeSelChanged); //树选择 |
| | | return 1; |
| | | } |
| | | |
| | | //数据传输函数 |
| | |
| | | #include <wobject/xstring.hpp> |
| | | #include <xcontrol/xtreeview.hpp> |
| | | #include <xcontrol/xdwgrid.hpp> |
| | | #include <xcontrol/xcell.hpp> |
| | | |
| | | |
| | | #include "vbusiness/vframe/listwin.vframe.vbusiness.hpp" |
| | | #include "viewobject/view.base.hpp" |
| | |
| | | if (s > 0) |
| | | for (i = 0; i < s; i++) |
| | | { |
| | | KXMLDOMElement e = nlist.item(i); |
| | | |
| | | KXMLDOMElement& e = *new KXMLDOMElement(nlist.item(i)); |
| | | xstring name = e.selectSingleNode(L"@name").text(); |
| | | HTREEITEM hw = xtreeview::InsertChildItem(wid, h, name,e , 15); |
| | | HTREEITEM hw = xtreeview::InsertChildItem(wid, h, name,(LPARAM)&e , 15); |
| | | createSubTree(wid, hw, e); |
| | | } |
| | | return 1; |
| | |
| | | int i; |
| | | for (i = 0; i < len; i++) |
| | | { |
| | | KXMLDOMElement e = nlist.item(i); |
| | | KXMLDOMElement& e = *new KXMLDOMElement(nlist.item(i)); |
| | | xstring name = e.selectSingleNode(L"@name").text(); |
| | | int h = xtreeview::InsertChildItem(wid, 0, name, trust(e as int), 15); |
| | | HTREEITEM h = xtreeview::InsertChildItem(wid, 0, name, name, (LPARAM)&e, 15); |
| | | createSubTree(wid, h, e); |
| | | xtreeview::ExpandItem(wid, h); |
| | | } |
| | |
| | | //获取焦点事件,用于重置工具条 |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&GroupManagerList::OnSetFocus); |
| | | AttachEvent(L"tv_folder", L"TVN_SELCHANGED", (FEvent)&GroupManagerList::OnTreeSelChanged); //树选择 |
| | | return 1; |
| | | } |
| | | |
| | | |
| | |
| | | AttachEvent(L"WM_XCOMMAND", (FEvent)&SupplierUserGroupPersonSelect::OnXCommand); |
| | | //获取焦点事件,用于重置工具条 |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&SupplierUserGroupPersonSelect::OnSetFocus); |
| | | return 1; |
| | | } |
| | | |
| | | int OnInitial() |
| | |
| | | AttachEvent(L"WM_XCOMMAND", (FEvent)&UserGroupMaintWin::OnXCommand); |
| | | //获取焦点事件,用于重置工具条 |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&UserGroupMaintWin::OnSetFocus); |
| | | return 1; |
| | | } |
| | | |
| | | /* |
| | |
| | | AttachEvent(L"WM_XCOMMAND", (FEvent)&UserGroupPersonSelectWin::OnXCommand); |
| | | //获取焦点事件,用于重置工具条 |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&UserGroupPersonSelectWin::OnSetFocus); |
| | | return 1; |
| | | } |
| | | |
| | | int OnInitial() |
| | |
| | | AttachEvent(L"WM_XCOMMAND", (FEvent)&UserGroupPersonSelectWinEx::OnXCommand); |
| | | //获取焦点事件,用于重置工具条 |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&UserGroupPersonSelectWinEx::OnSetFocus); |
| | | return 1; |
| | | } |
| | | |
| | | int OnInitial() |
| | |
| | | AttachEvent(L"WM_XCOMMAND", (FEvent)&UserGroupSelectWin::OnXCommand); |
| | | //获取焦点事件,用于重置工具条 |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&UserGroupSelectWin::OnSetFocus); |
| | | return 1; |
| | | } |
| | | |
| | | int OnInitial() |
| | |
| | | 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) |
| | |
| | | AttachEvent(L"WM_XCOMMAND", (FEvent)&UserGroupShareExWin::OnXCommand); |
| | | //获取焦点事件,用于重置工具条 |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&UserGroupShareExWin::OnSetFocus); |
| | | return 1; |
| | | } |
| | | |
| | | int onload() |
| | |
| | | AttachEvent(L"WM_XCOMMAND", (FEvent)&SearchDlg::OnXCommand); |
| | | //获取焦点事件,用于重置工具条 |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&SearchDlg::OnSetFocus); |
| | | return 1; |
| | | } |
| | | |
| | | int onload() |
| | |
| | | AttachEvent(L"WM_XCOMMAND", (FEvent)&ProductFetchNoWin::OnXCommand); |
| | | //获取焦点事件,用于重置工具条 |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&ProductFetchNoWin::OnSetFocus); |
| | | return 1; |
| | | } |
| | | |
| | | /* |
| | |
| | | AttachEvent(L"dwc_list", L"DWV_CLICKED", (FEvent)&ProductSelectSOWin::OnDwcClicked); |
| | | |
| | | AttachEvent(L"dwc_list", L"DWV_DOUBLECLICKED", (FEvent)&ProductSelectSOWin::OnImport); |
| | | return 1; |
| | | } |
| | | |
| | | int onload() |
| | |
| | | AttachEvent(L"WM_XCOMMAND", (FEvent)&DocSO3::OnXCommand); |
| | | //获取焦点事件,用于重置工具条 |
| | | //AttachEvent(L"WM_SETFOCUS",OnSetFocus); |
| | | return 1; |
| | | } |
| | | |
| | | /* |
| | |
| | | AttachEvent(L"WM_XCOMMAND", (FEvent)&SelectItemSOWin::OnXCommand); |
| | | //获取焦点事件,用于重置工具条 |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&SelectItemSOWin::OnSetFocus); |
| | | return 1; |
| | | } |
| | | |
| | | int onload() |
| | |
| | | AttachEvent(L"WM_XCOMMAND", (FEvent)&VATNotifyParse::OnXCommand); |
| | | //获取焦点事件,用于重置工具条 |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&VATNotifyParse::OnSetFocus); |
| | | return 1; |
| | | } |
| | | |
| | | /* |
| | |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&listvatnotifyWin::OnSetFocus); |
| | | AttachEvent(L"dw_list", L"DWV_CLICKED", (FEvent)&listvatnotifyWin::OnDWClick); |
| | | AttachEvent(L"cbx_state", L"CBN_SELCHANGE", (FEvent)&listvatnotifyWin::OnDatePicker); |
| | | return 1; |
| | | } |
| | | |
| | | int OnDatePicker(TEvent* evt, int lParam) |
| | |
| | | AttachEvent(L"dw_fob", L"DWV_ITEMCHANGED", (FEvent)&maintpapercardvatnotifyWin::OnFobItemChanged); |
| | | AttachEvent(L"dw_item", L"DWV_ROWFOCUSCHANGED", (FEvent)&maintpapercardvatnotifyWin::OnRowChanged); |
| | | AttachEvent(L"dw_item", L"DWV_ASKDATA", (FEvent)&maintpapercardvatnotifyWin::OnAskDataItem); |
| | | return 1; |
| | | } |
| | | |
| | | int RetrieveFob(xstring InvoiceNo, bool start = false) |
| | |
| | | AttachEvent(L"dw_item", L"DWV_ROWFOCUSCHANGED", (FEvent)&simplemaintvatnotifyWin::OnRowChanged); |
| | | AttachEvent(L"dw_item", L"DWV_ASKDATA", (FEvent)&simplemaintvatnotifyWin::OnAskDataItem); |
| | | AttachCloseWindow(); |
| | | return 1; |
| | | } |
| | | |
| | | int RetrieveFob(xstring InvoiceNo, bool start = false) |
| | |
| | | //获取焦点事件,用于重置工具条 |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&UpdateVatNotifyWin::OnSetFocus); |
| | | AttachEvent(L"dw_item", L"DWV_ROWFOCUSCHANGED", (FEvent)&UpdateVatNotifyWin::OnRowChanged); |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | int RetrieveCustomSource(xstring classifyID, xstring supplierID) |