📄 main1.h
字号:
#if !defined(AFX_MAIN1_H__BB4EF822_7FB3_4578_BF06_088B5F9F0E9A__INCLUDED_)
#define AFX_MAIN1_H__BB4EF822_7FB3_4578_BF06_088B5F9F0E9A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Main1.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMain dialog
class CMain : public CDialog
{
// Construction
public:
CMain(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CMain)
enum { IDD = IDD_Main_DIALOG };
CButton m_btndisplay;
CStatic m_count;
CButton m_btndelete;
CButton m_btnedit;
CButton m_btnsearch;
CButton m_btnnew;
CListCtrl m_stulist;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMain)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CMain)
virtual BOOL OnInitDialog();
afx_msg void Onbtnnew();
afx_msg void Onedit();
afx_msg void OnDblclkStuList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void Onbtndelete();
afx_msg void Onbtnsearch();
afx_msg void Ondisplay();
//}}AFX_MSG
void setstulistcontent();
void listcontent();//列表显示记录
void listsearchresult();//列出查找结果
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAIN1_H__BB4EF822_7FB3_4578_BF06_088B5F9F0E9A__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -