📄 studentdlg.h
字号:
//{{AFX_INCLUDES()
#include "datagrid.h"
//}}AFX_INCLUDES
#if !defined(AFX_STUDENTDLG_H__939F160E_9D0C_4A39_A575_2502D15F20E2__INCLUDED_)
#define AFX_STUDENTDLG_H__939F160E_9D0C_4A39_A575_2502D15F20E2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// StudentDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CStudentDlg dialog
class CStudentDlg : public CDialog
{
// Construction
public:
CStudentDlg(CWnd* pParent = NULL); // standard constructor
_RecordsetPtr m_pRecordset_stu;
int SelectType;
// Dialog Data
//{{AFX_DATA(CStudentDlg)
enum { IDD = IDD_STUDENT_DLG };
CEdit m_ID;
CDateTimeCtrl m_timectrlTime;
CString m_strNativePlace;
int m_nAge;
CString m_strName;
CDataGrid m_dgStudent;
CString m_strSex;
CString m_strID;
//}}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 OnAddStudentBtn();
afx_msg void OnModifyStudentBtn();
virtual void OnOK();
afx_msg void OnDelStudentBtn();
afx_msg void OnLookforStudentBtn();
afx_msg void OnKillfocusEditStudentId();
//}}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__939F160E_9D0C_4A39_A575_2502D15F20E2__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -