| | |
| | | #include <xcontrol/xdwgrid.hpp> |
| | | #include <xcontrol/xsedit.hpp> |
| | | #include <xcontrol/xcombobox.hpp> |
| | | #include "XDevEditPage.hpp" |
| | | |
| | | using xml = KXMLDOMDocument; |
| | | class export XDevEditAction : public xwin |
| | | class export XDevEditAction : public XDevEditPage |
| | | { |
| | | public: |
| | | XDevEditAction(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd) {} |
| | | XDevEditAction(void* implPtr, HWND hWnd) :XDevEditPage(implPtr, hWnd) {} |
| | | public: |
| | | static XDevEditAction* CreateInstance(void* implPtr, void* hWnd) |
| | | { |
| | |
| | | |
| | | xnode m_agentNode; //Agent Condition |
| | | xstring m_agentCond; //Agent Node |
| | | public: |
| | | int SetAgent() |
| | | { |
| | | /* |
| | |
| | | xstring v = e1.getAttribute(L"source"); |
| | | xc.SetText(L"" + v); |
| | | xc = GetControl(L"linkname"); |
| | | xstring v = e1.getAttribute(L"link"); |
| | | v = e1.getAttribute(L"link"); |
| | | xc.SetText(L"" + v); |
| | | |
| | | KXMLDOMElement e2 = e.selectSingleNode(L"paras"); |
| | |
| | | AttachEvent(L"WM_XCOMMAND", (FEvent) & XDevEditAction::OnXCommand); |
| | | //获取焦点事件,用于重置工具条 |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&XDevEditAction::OnSetFocus); |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | int OnInitial() |