📄 dialognewstudent.h
字号:
//
/****************************************/
/* SchoolManageSystem */
/*设计者:全佳营 */
/*时间:2004.5.9-2004-5.18 */
/*Email:ghostman@tzc.edu.cn */
/****************************************/
#pragma once
#include "afxwin.h"
#include "afxdtctl.h"
#include "AdoConnection.h"
#include "AdoRecordSet.h"
#include "afxcmn.h"
// CDialogNewStudent 对话框
class CDialogNewStudent : public CDialog
{
DECLARE_DYNAMIC(CDialogNewStudent)
public:
CDialogNewStudent(CWnd* pParent = NULL); // 标准构造函数
virtual ~CDialogNewStudent();
virtual BOOL OnInitDialog();
// 对话框数据
enum { IDD = IDD_DIALOGNEWSTUDENT };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
CString m_newname;
CString m_studynum;
CComboBox m_NewSex;
int m_newage;
CString m_newroom;
CString m_newqq;
CString m_newemail;
CString m_newaddr;
CString m_newphone;
CString m_newlessons;
int m_newlessonmark;
CDateTimeCtrl m_newdatain;
COleDateTime m_Datein;
int m_newyear;
CString m_selectsex;
CString m_selectcid;
CEdit m_newmarkd;
CEdit m_newlessond;
CComboBox m_newclassid;
CEdit m_newnamed;
CEdit m_newnumd;
CEdit m_newaged;
CEdit m_newroomd;
CEdit m_newqqd;
CEdit m_newemaild;
CEdit m_newaddrd;
CEdit m_newphoned;
CEdit m_newyeard;
CBitmap m_bitmap;
CString m_strpathname;
CListCtrl m_listlesson;
int countoflesson;
public:
afx_msg void OnBnClickedButtonNewphoto();
afx_msg void OnBnClickedButtonNewclass();
afx_msg void OnCbnSelchangeComboNewsex();
afx_msg void OnBnClickedOk();
afx_msg void OnBnClickedCancel();
afx_msg void OnCbnSelchangeComboNewclassid();
afx_msg void OnOK();
afx_msg void OnCancel();
protected:
CAdoConnection m_adoconnection;
CAdoRecordSet m_adorecordset_studentinfo,m_adorecordset_lessoninfo;
public:
afx_msg void OnEnSetfocusEditNewname();
afx_msg void OnEnKillfocusEditNewname();
afx_msg void OnEnKillfocusEditNewnum();
afx_msg void OnEnSetfocusEditNewnum();
afx_msg void OnEnKillfocusEditNewage();
afx_msg void OnEnSetfocusEditNewage();
afx_msg void OnEnKillfocusEditNewroom();
afx_msg void OnEnSetfocusEditNewroom();
afx_msg void OnEnKillfocusEditNewqq();
afx_msg void OnEnSetfocusEditNewqq();
afx_msg void OnEnKillfocusEditNewemail();
afx_msg void OnEnSetfocusEditNewemail();
afx_msg void OnEnKillfocusEditNewaddr();
afx_msg void OnEnSetfocusEditNewaddr();
afx_msg void OnEnKillfocusEditNewphone();
afx_msg void OnEnSetfocusEditNewphone();
afx_msg void OnEnKillfocusEditNewyear();
afx_msg void OnEnSetfocusEditNewyear();
afx_msg void OnEnKillfocusEditNewlesson();
afx_msg void OnEnSetfocusEditNewlesson();
afx_msg void OnEnKillfocusEditNewmark();
afx_msg void OnEnSetfocusEditNewmark();
afx_msg void OnDtnDatetimechangeDatetimepicker1(NMHDR *pNMHDR, LRESULT *pResult);
CString m_newteacher;
CEdit m_newteacherd;
afx_msg void OnEnKillfocusEditTeacher();
afx_msg void OnEnSetfocusEditTeacher();
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -