?? 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 + -