datdlg.h
来自「自制 猜数字游戏 mfc程序 记录游戏成绩」· C头文件 代码 · 共 56 行
H
56 行
#if !defined(AFX_DATDLG_H__F9654CF6_257F_4E67_8C29_064F03ECB6BD__INCLUDED_)
#define AFX_DATDLG_H__F9654CF6_257F_4E67_8C29_064F03ECB6BD__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DatDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDatDlg dialog
class CDatDlg : public CDialog
{
// Construction
public:
void LoadDat();
void NewData();
int datnew;
int timenew;
CString namenew;
CDatDlg(CWnd* pParent = NULL); // standard constructor
int num;
CString name[5]; int dat[5]; int time[5];
// Dialog Data
//{{AFX_DATA(CDatDlg)
enum { IDD = IDD_DAT };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDatDlg)
public:
virtual void Serialize(CArchive& ar);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDatDlg)
afx_msg void OnPaint();
afx_msg void OnDelete();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DATDLG_H__F9654CF6_257F_4E67_8C29_064F03ECB6BD__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?