📄 myfile.h
字号:
#if !defined(AFX_MYFILE_H__E2A20B9A_ABAD_46AD_932C_A8B058561902__INCLUDED_)
#define AFX_MYFILE_H__E2A20B9A_ABAD_46AD_932C_A8B058561902__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyFile.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMyFile dialog
class CMyFile : public CPropertyPage
{
DECLARE_DYNCREATE(CMyFile)
// Construction
public:
void Show();
void DbToFile(CString StrPath);
void FileToDb(CString StrPath);
CMyFile();
~CMyFile();
// Dialog Data
//{{AFX_DATA(CMyFile)
enum { IDD = IDD_MYFILE };
CListCtrl m_ListCtrl;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CMyFile)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
_ConnectionPtr m_pCon; //连接对象
_RecordsetPtr m_pRs; //记录集对象
//{{AFX_MSG(CMyFile)
virtual BOOL OnInitDialog();
afx_msg void OnAdd();
afx_msg void OnRead();
afx_msg void OnDelete();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MYFILE_H__E2A20B9A_ABAD_46AD_932C_A8B058561902__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -