#pragma once #include "resource.h" #include "afxwin.h" //账户登录 class CUIISQLiteServer; class CZHDLDlg : public CDialog { DECLARE_DYNAMIC(CZHDLDlg) public: CZHDLDlg(CWnd* pParent = NULL); virtual ~CZHDLDlg(); enum { IDD = IDD_ZHDL_DLG }; protected: virtual void DoDataExchange(CDataExchange* pDX); DECLARE_MESSAGE_MAP() public: afx_msg void OnBnClickedOk(); afx_msg void OnBnClickedButton1(); BOOL InitADOServer(); void InitMeIPCombox(); void InitDeptCombox(); virtual BOOL OnInitDialog(); CString m_sName; CString m_sProName; CString m_sIP; CString m_sPassword; CString m_sPassword2; CString m_sIPs; BOOL m_bCreate; CUIISQLiteServer* m_pMySQLDb; CComboBox m_wndIPCombox; CComboBox m_wndDeptCombo; CString m_sPartMt; };