insert.cpp

来自「教工请假情况登记」· C++ 代码 · 共 61 行

CPP
61
字号
// Insert.cpp : implementation file
//

#include "stdafx.h"
#include "办公室负责登入教工请假情况.h"
#include "Insert.h"

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

/////////////////////////////////////////////////////////////////////////////
// Insert dialog


Insert::Insert(CWnd* pParent /*=NULL*/)
	: CDialog(Insert::IDD, pParent)
{
	//{{AFX_DATA_INIT(Insert)
	m_Date = 0;
	m_Name = 0;
	m_Reason = 0;
	//}}AFX_DATA_INIT
}


void Insert::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(Insert)
	DDX_Text(pDX, IDC_DATE, m_Date);
	DDX_Text(pDX, IDC_NAME, m_Name);
	DDX_Text(pDX, IDC_REASON, m_Reason);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(Insert, CDialog)
	//{{AFX_MSG_MAP(Insert)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// Insert message handlers

void Insert::OnOK() 
{
	// TODO: Add extra validation here
	
	CDialog::OnOK();
}

void Insert::OnCancel() 
{
	// TODO: Add extra cleanup here
	
	CDialog::OnCancel();
}

⌨️ 快捷键说明

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