viewbirthday.cpp

来自「这个课程设计创建了在磁盘上存储某单位所有职工基本信息的系统。实现了添加」· C++ 代码 · 共 51 行

CPP
51
字号
// Viewbirthday.cpp : implementation file
//

#include "stdafx.h"
#include "p51_03_4.h"
#include "Viewbirthday.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CViewbirthday dialog


CViewbirthday::CViewbirthday(CWnd* pParent /*=NULL*/)
	: CDialog(CViewbirthday::IDD, pParent)
{
	//{{AFX_DATA_INIT(CViewbirthday)
	m_birthday = COleDateTime::GetCurrentTime();
	//}}AFX_DATA_INIT
}


void CViewbirthday::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CViewbirthday)
	DDX_DateTimeCtrl(pDX, IDC_BIRTHDAY, m_birthday);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CViewbirthday, CDialog)
	//{{AFX_MSG_MAP(CViewbirthday)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CViewbirthday message handlers

int CViewbirthday::DoModal() 
{
	// TODO: Add your specialized code here and/or call the base class
	
	return CDialog::DoModal();
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?