xsdlg.h

来自「visual c++编写的简单学生成绩管理系统」· C头文件 代码 · 共 64 行

H
64
字号
#if !defined(AFX_XSDLG_H__9EA7DF43_7761_4538_816C_80EE1F03202F__INCLUDED_)
#define AFX_XSDLG_H__9EA7DF43_7761_4538_816C_80EE1F03202F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// XSDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CXSDlg dialog

class CXSDlg : public CDialog
{
// Construction
public:
	CXSDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CXSDlg)
	enum { IDD = IDD_DIALOGXS };
	CListBox	m_ListBx;
	CString	m_strName;
	int		m_nMod;
	int		m_nShud;
	int		m_nYingy;
	int		m_nGaos;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CXSDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CXSDlg)
	afx_msg void OnButnadd();
	afx_msg void OnButndel();
	afx_msg void OnSelchangeListstate();
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	struct SStud
	{
	CString strName;
	int nYingy;
	int nMod;
	int nShud;
	int nGaos;
	};
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_XSDLG_H__9EA7DF43_7761_4538_816C_80EE1F03202F__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?