50 lines
1015 B
C++
50 lines
1015 B
C++
#pragma once
|
|
#include "resource.h"
|
|
#include "afxcmn.h"
|
|
#include "afxwin.h"
|
|
|
|
class CUIISQLiteServer;
|
|
class CXMTJDlg : public CDialog
|
|
{
|
|
DECLARE_DYNAMIC(CXMTJDlg)
|
|
|
|
public:
|
|
CXMTJDlg(CWnd* pParent = NULL);
|
|
virtual ~CXMTJDlg();
|
|
|
|
enum { IDD = IDD_XMTJ_DLG };
|
|
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX);
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
public:
|
|
CTreeCtrl m_wndProTree;
|
|
CListCtrl m_wndDwgFileList;
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg LONG_PTR onAcadKeepFocus( UINT_PTR, LONG_PTR);
|
|
protected:
|
|
|
|
BOOL InitADOServer();
|
|
|
|
void ShowProTree();
|
|
|
|
void ShowYearProjs(HTREEITEM hYear,LPCTSTR pszYear);
|
|
|
|
protected:
|
|
|
|
HTREEITEM m_hItemCur;
|
|
CImageList m_imageList;
|
|
CUIISQLiteServer* m_pMySQLDb;
|
|
public:
|
|
afx_msg void OnNMClickTree1(NMHDR *pNMHDR, LRESULT *pResult);
|
|
afx_msg void OnBnClickedButton2();
|
|
afx_msg void OnBnClickeRefrush();
|
|
CString m_sPath;
|
|
protected:
|
|
virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
|
|
public:
|
|
afx_msg void OnNMClickList1(NMHDR *pNMHDR, LRESULT *pResult);
|
|
CString m_sTitles;
|
|
};
|