#pragma once #include "afxwin.h" #include "resource.h" class CUIISQLiteServer; class CLJCSDlg : public CDialog { DECLARE_DYNAMIC(CLJCSDlg) public: CLJCSDlg(CWnd* pParent = NULL); // 标准构造函数 virtual ~CLJCSDlg(); enum { IDD = IDD_CO_LJCS_DLG }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 virtual BOOL OnInitDialog(); DECLARE_MESSAGE_MAP() afx_msg void OnBnClickedOk(); afx_msg void OnBnClickedLJCS(); public: static bool testSQL(); static CUIISQLiteServer* GetSHEarthWormConnect(); static bool GetSHEarthWormDbCfg(CString& _sSQLSrvName,CString& _sUser,CString& _sPWD,CString& _sDatabase); public: CString m_sSQLSrvName; CString m_sUser; CString m_sPWD; CString m_sDatabase; CButton m_wndOK; CButton m_wndLJCSBT; };