1234567891011121314151617181920212223242526272829303132333435 |
- #pragma once
- // CDlg_ReadDB 对话框
- class CDlg_ReadDB : public CDialog
- {
- DECLARE_DYNAMIC(CDlg_ReadDB)
- public:
- CDlg_ReadDB(CWnd* pParent = NULL); // 标准构造函数
- virtual ~CDlg_ReadDB();
- // 对话框数据
- enum { IDD = IDD_DLG_READDB };
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
- DECLARE_MESSAGE_MAP()
- public:
- virtual BOOL OnInitDialog();
- CComboBox m_Comb_DBType;
- CString m_sComb_DBType;
- CString m_sEdit_DBIP;
- CString m_sEdit_DBName;
- CString m_sEdit_DBUser;
- CString m_sEdit_DBPwd;
- void GetIni();
- void SetIni();
- void Apply();
- CString m_sEdit_SQL;
- };
|