#pragma once #include "resource.h" #include "uiiado.h" class CQCBDDlg : public CDialog { DECLARE_DYNAMIC(CQCBDDlg) public: CQCBDDlg(CWnd* pParent = NULL); virtual ~CQCBDDlg(); enum { IDD = IDD_QCBD_DLG }; int GetCols(CStringArray &arCols) const; protected: virtual void DoDataExchange(CDataExchange* pDX); afx_msg void OnBnClickedOk(); afx_msg void OnBnClickedButton1(); afx_msg void OnCbnSelendokCombo7(); afx_msg void OnCbnSelendokCombo6(); afx_msg void OnBnClickedButton2(); afx_msg void OnBnClickedButton3(); afx_msg void OnBnClickedButton5(); afx_msg void OnBnClickedButton7(); DECLARE_MESSAGE_MAP() public: virtual BOOL OnInitDialog(); void ReadSetting(); void SaveSetting(); CString m_sXlsFile; CString m_sWorkSheet; int m_nRowFrom; int m_nRowTo; int m_nTitleRow; CString m_sColTo1; CString m_sColTo2; CString m_sColTo; CStringArray m_arCols; CListCtrl m_wndList; CUIISQLiteServer m_dB; };