mydlg1.h
来自「适用于高校的自动排课系统 MFC编程 实现教务半自动化」· C头文件 代码 · 共 63 行
H
63 行
#if !defined(AFX_MYDLG1_H__3EADDFF6_8F16_4268_AFC2_DE7CBC43FBD4__INCLUDED_)
#define AFX_MYDLG1_H__3EADDFF6_8F16_4268_AFC2_DE7CBC43FBD4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyDlg1.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMyDlg1 dialog
struct Lesson
{
int no;
CString name;
int num;
};
class CMyDlg1 : public CDialog
{
// Construction
public:
BOOL OnInitDialog();
CMyDlg1(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CMyDlg1)
enum { IDD = IDD_DIALOG1 };
CString m_name;
int m_num;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyDlg1)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CMyDlg1)
afx_msg void OnBUTTONfin();
afx_msg void OnBUTTONadd();
afx_msg void OnBUTTONbefore();
afx_msg void OnBUTTONshow();
afx_msg void OnBUTTONnext();
afx_msg void OnBUTTONmod();
afx_msg void OnBUTTONrefresh();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
Lesson LessonArray[45];
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MYDLG1_H__3EADDFF6_8F16_4268_AFC2_DE7CBC43FBD4__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?