#pragma once #include "resource.h" #include "afxwin.h" #include "afxcmn.h" #include "afxdtctl.h" class CUIISQLiteServer; class CXZWJDlg : public CDialog { DECLARE_DYNAMIC(CXZWJDlg) public: CXZWJDlg(CWnd* pParent = NULL); virtual ~CXZWJDlg(); // Dialog Data enum { IDD = IDD_XZWJ_DLG }; protected: virtual void DoDataExchange(CDataExchange* pDX); DECLARE_MESSAGE_MAP() public: afx_msg void OnBnClickedButton2(); virtual BOOL OnInitDialog(); afx_msg void OnBnClickedButton1(); afx_msg void OnBnClickedOk(); afx_msg void OnCbnSelchangeCombo1(); afx_msg void OnBnClickedButton4(); afx_msg void OnNMClickList2(NMHDR *pNMHDR, LRESULT *pResult); afx_msg void OnBnClickedButton5(); CComboBox m_wndProCombox; CComboBox m_wndSubProCombox; CComboBox m_wndProNameCombox; CString m_sKeyword; CString m_sProjName; CString m_sSubProjName; CString m_sProfName; CListCtrl m_wndDwgFileList; CString m_sTitles; CImageList m_imageList; CUIISQLiteServer* m_pMySQLDb; CComboBox m_wndDesignerCombo; CString m_sDesigner; CString m_sPath; CProgressCtrl m_wndProgressCtrl; protected: void InitCombox(); BOOL InitADOServer(); BOOL BrowseForFolder(HWND hWnd,CString& sFolder,LPCTSTR lpszTitle,UINT nFlags) const; public: afx_msg void OnBnClickedButton3(); CDateTimeCtrl m_wndTimeFrom; CDateTimeCtrl m_wndTimeTo; };