?? studentdlg.h
字號:
#if !defined(AFX_STUDENTDLG_H__A9D6F643_0678_4CEA_898F_77E8414E32A2__INCLUDED_)
#define AFX_STUDENTDLG_H__A9D6F643_0678_4CEA_898F_77E8414E32A2__INCLUDED_
#include "StudentSet.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// StudentDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CStudentDlg dialog
#include"StudentSet.h"
class CStudentDlg : public CDialog
{
// Construction
public:
CFont m_font;
CBrush m_brush;
CButton* femaleRadio;
CButton* maleRadio;
void ResetButton();
void RefreshList();
CStudentSet m_studentSet;
CStudentDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CStudentDlg)
enum { IDD = IDD_DIALOG3 };
CButton m_bEdit;
CButton m_bDel;
CButton m_bConfirm;
CButton m_bAdd;
CEdit m_strPhone;
CEdit m_strNo;
CEdit m_strName;
CComboBox m_strAge;
CEdit m_strAddress;
CListCtrl m_list;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CStudentDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CStudentDlg)
virtual BOOL OnInitDialog();
afx_msg void OnClickListStudent(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnStudentAdd();
afx_msg void OnStudnetDel();
afx_msg void OnStudnetEdit();
afx_msg void OnStudentOk();
virtual void OnCancel();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STUDENTDLG_H__A9D6F643_0678_4CEA_898F_77E8414E32A2__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -