main1.h

来自「一个evc下的关于文件操作的程序」· C头文件 代码 · 共 62 行

H
62
字号
#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 + =
减小字号Ctrl + -
显示快捷键?