📄 stueditdlg.h
字号:
#include "Speciality.h"
#if !defined(AFX_STUEDITDLG_H__0371D376_FA12_46C4_8644_581A72C5C285__INCLUDED_)
#define AFX_STUEDITDLG_H__0371D376_FA12_46C4_8644_581A72C5C285__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// StuEditDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CStuEditDlg dialog
class CStuEditDlg : public CDialog
{
public:
CString cStuId; //用于保存当前编辑学生的编号
CString Name; //用于保存当前编辑学生姓名
long DepId; //用于保存当前编辑学生院系编号
long SpeId; //用于保存当前编辑学生专业编号
CString cSpe; //用于保存当前编辑学生专业名称
CString cSex; //用于保存当前学生的性别
CSpeciality spe; // 专业对象
// Construction
public:
CStuEditDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CStuEditDlg)
enum { IDD = IDD_STU_EDIT_DIALOG };
CComboBox m_speciality;
CComboBox m_sex;
CString m_ClassName;
CString m_FillinPerson;
CString m_FillinTime;
CString m_IdCard;
CString m_name;
BOOL m_ZhuSu;
BOOL m_CunChe;
BOOL m_PinKun;
BOOL m_TeKun;
int m_Year;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CStuEditDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CStuEditDlg)
virtual BOOL OnInitDialog();
virtual void OnOK();
afx_msg void OnSelchangeSpecialityCombo();
afx_msg void OnPinKunCheck();
afx_msg void OnTeKunCheck();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STUEDITDLG_H__0371D376_FA12_46C4_8644_581A72C5C285__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -