?? studentinfomation.h
字號:
#if !defined(AFX_STUDENTINFOMATION_H__46ADE852_C306_42F2_B0AA_5AB7A666B696__INCLUDED_)
#define AFX_STUDENTINFOMATION_H__46ADE852_C306_42F2_B0AA_5AB7A666B696__INCLUDED_
#include "數據庫作業View.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// StudentInfomation.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CStudentInfomation dialog
struct studentinfo
{
CString no;
CString name;
int age;
CString sex;
CString dept;
};
struct classinfo
{
int no;
CString name;
int prve;
int cedit;
};
struct scinfo
{
CString sno;
int cno;
int grade;
};
class CStudentInfomation : public CDialog
{
// Construction
public:
CString m_sWindowTitle;
void SetDate(studentinfo data);
BOOL GetDateStatus() const;
studentinfo GetDate() const;
BOOL bIsNew;
CStudentInfomation(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CStudentInfomation)
enum { IDD = IDD_DIALOG1 };
CString m_sno;
CString m_sname;
int m_sage;
CString m_ssex;
CString m_sdept;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CStudentInfomation)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
BOOL m_bDateStatus;
studentinfo m_date;
// Generated message map functions
//{{AFX_MSG(CStudentInfomation)
virtual void OnOK();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
BOOL CheckDate();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STUDENTINFOMATION_H__46ADE852_C306_42F2_B0AA_5AB7A666B696__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -