📄 daosamp1dlg.h
字号:
// daosamp1Dlg.h : header file
//
#if !defined(AFX_DAOSAMP1DLG_H__DAF26778_6EC3_4181_97A8_E41F9FED95EE__INCLUDED_)
#define AFX_DAOSAMP1DLG_H__DAF26778_6EC3_4181_97A8_E41F9FED95EE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CDaosamp1Dlg dialog
class CDaosamp1Dlg : public CDialog
{
// Construction
public:
bool Delete(CString pTableName,CStringArray & pFieldValue);
int DeleteRecords(CString pTableName);
bool InsertRecord(CString pTableName,CStringArray & pFieldValue);
void RefreshList(int rType,CString strTableName);
void RefreshTree();
CDaosamp1Dlg(CWnd* pParent = NULL); // standard constructor
//韩祖行
CDaoDatabase * m_pDB;
HTREEITEM m_hTreeItem1;
// Dialog Data
//{{AFX_DATA(CDaosamp1Dlg)
enum { IDD = IDD_DAOSAMP1_DIALOG };
CTreeCtrl m_DBTree;
CListCtrl m_DBList;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDaosamp1Dlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CDaosamp1Dlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnFileOpen();
afx_msg void OnRecordInsert();
afx_msg void OnRecordDelete();
afx_msg void OnSelchangedTree1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnMenuitem32773();
afx_msg void OnMenuitem32774();
afx_msg void OnMenuitem32775();
afx_msg void OnMenuitem32776();
afx_msg void OnMenuitem32777();
afx_msg void OnMenuitem32778();
afx_msg void OnMenuitem32779();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DAOSAMP1DLG_H__DAF26778_6EC3_4181_97A8_E41F9FED95EE__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -