| | |
| | | <ClCompile Include="..\xframe\src\nstring.cpp" /> |
| | | <ClCompile Include="..\xframe\src\xstring.cpp" /> |
| | | <ClCompile Include="dllmain.cpp" /> |
| | | <ClCompile Include="GraduationSchool.cpp" /> |
| | | <ClCompile Include="pch.cpp"> |
| | | <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader> |
| | | <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader> |
| | |
| | | |
| | | bool validProfit() |
| | | { |
| | | double amt = dw_profit.GetItemString(1, L"ProfitAmountEx"); |
| | | double amt = dw_profit.GetItemDouble(1, L"ProfitAmountEx"); |
| | | if (amt < 0.0) |
| | | { |
| | | if (dw_profit.GetItemString(1, L"Note") == L"") |
| | |
| | | dw_base.openUrl(L"/sale/view/GraduationSchool/template/win"); |
| | | gsid = L""; |
| | | |
| | | if (GetWinParam()) |
| | | gsid = GetWinParam(); |
| | | gsid = GetParamString(); |
| | | if (gsid != L"") |
| | | OnRetrieve(); |
| | | |
| | |
| | | if(rhs.data)((KStringBlock<wchar_t>*)rhs.data)->AddRef(); |
| | | } |
| | | |
| | | |
| | | xstring::xstring(wchar_t* val, bool shouldSysFree) :data(KStringBlock<wchar_t>::make(val,shouldSysFree)) |
| | | { |
| | | |
| | |
| | | { |
| | | |
| | | } |
| | | xstring::xstring(LPARAM val, bool bdata) :data(bdata?(void*)val:(KStringBlock<wchar_t>::make(val))) |
| | | { |
| | | if (bdata) |
| | | { |
| | | ((KStringBlock<wchar_t>*)data)->AddRef(); |
| | | } |
| | | } |
| | | |
| | | xstring::xstring(double val):data((KStringBlock<wchar_t>::make(val))) |
| | | { |
| | | |
| | | } |
| | | xstring::xstring(LPARAM val):data((KStringBlock<wchar_t>::make(val))) |
| | | { |
| | | |
| | | } |
| | | |
| | | xstring::~xstring() |
| | | { |
| | |
| | | { |
| | | public: |
| | | xframe(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd) { |
| | | this->SetArg(); |
| | | |
| | | } |
| | | |
| | | static int getUrl(string url1, string para, KXMLDOMDocument x) |
| | |
| | | int m_pageNumber; |
| | | listEx* m_listEx; |
| | | |
| | | listwin(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd){} |
| | | listwin(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd){ |
| | | this->SetArg(); |
| | | } |
| | | |
| | | xstring GetEntityWorkNode(/*param*/LPARAM pr, xstring what) |
| | | { |
| | |
| | | KXMLDOMDocument m_configDoc; |
| | | string m_EntityID; |
| | | |
| | | maint(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd) {} |
| | | maint(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd) { |
| | | this->SetArg(); |
| | | } |
| | | xstring GetEntityWorkNode(LPARAM pr, xstring what) |
| | | { |
| | | if (m_configDoc) |
| | |
| | | |
| | | xstring(int val); |
| | | xstring(double val); |
| | | xstring(LPARAM val); |
| | | xstring(LPARAM val,bool bdata=false); |
| | | |
| | | xstring(wchar_t* val, bool shouldSysFree = false); |
| | | xstring(const wchar_t* val, bool shouldSysFree = false); |
| | | ~xstring(); |
| | | public: |
| | | operator LPARAM() |
| | | { |
| | | return (LPARAM)data; |
| | | } |
| | | operator const wchar_t*() |
| | | { |
| | | return c_str(); |
| | |
| | | { |
| | | return getKWin()->SetParam((void*)pParam); |
| | | } |
| | | xstring GetParamString() |
| | | { |
| | | if (!GetWinParam())return xstring(); |
| | | return xstring(GetWinParam(), true); |
| | | } |
| | | |
| | | LPARAM GetFrameParam() |
| | | { |
| | | return (LPARAM)getKWin()->GetFrameParam(); |