SelectTables.h
资源名称:ISQL_src.zip [点击查看]
上传用户:jsxglz
上传日期:2007-01-03
资源大小:117k
文件大小:2k
源码类别:
SQL Server
开发平台:
Visual C++
- #if !defined(AFX_SELECTTABLES_H__8466BCB3_0FF4_11D2_AEF9_204C4F4F5020__INCLUDED_)
- #define AFX_SELECTTABLES_H__8466BCB3_0FF4_11D2_AEF9_204C4F4F5020__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- // SelectTables.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CSelectTables dialog
- class CMainFrame;
- class CSelectTables : public CDialog
- {
- // Construction
- public:
- CString m_strObjName;
- CString m_strType;
- CSelectTables(CWnd* pParent = NULL); // standard constructor
- CString m_strSQL;
- // Dialog Data
- //{{AFX_DATA(CSelectTables)
- enum { IDD = IDD_SELECT_TABLES };
- CButton m_buttonTextOnly;
- CButton m_buttonSystemTables;
- CButton m_buttonViews;
- CListCtrlEx m_ctrlList;
- BOOL m_bTextOnly;
- CString m_strSearch;
- //}}AFX_DATA
- CString m_strTableName;
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CSelectTables)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CSelectTables)
- virtual BOOL OnInitDialog();
- virtual void OnOK();
- afx_msg void OnDblclkList1(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnColumnclickList1(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnSystemTables();
- afx_msg void OnViews();
- afx_msg void OnChangeSearch();
- afx_msg void OnTextOnly();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- CString GetColumnListForTextDataSrc(const CString& sTable);
- CString GetColumnList(const CString& sTableName);
- bool m_bSort;
- BOOL PopulateList();
- CMainFrame* m_pFrame;
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_SELECTTABLES_H__8466BCB3_0FF4_11D2_AEF9_204C4F4F5020__INCLUDED_)