Files
envi-code/SourceCode/Code2026/CoreCommand/LJCSDlg.h
T

38 lines
794 B
C++
Raw Normal View History

2026-10-04 00:04:20 +08:00
#pragma once
2026-09-28 15:28:50 +08:00
#include "afxwin.h"
#include "resource.h"
class CUIISQLiteServer;
class CLJCSDlg : public CDialog
{
DECLARE_DYNAMIC(CLJCSDlg)
public:
2026-10-04 00:04:20 +08:00
CLJCSDlg(CWnd* pParent = NULL); // 标准构造函数
2026-09-28 15:28:50 +08:00
virtual ~CLJCSDlg();
enum { IDD = IDD_CO_LJCS_DLG };
protected:
2026-10-04 00:04:20 +08:00
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
2026-09-28 15:28:50 +08:00
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;
};