relationsdlg.cpp
来自「功能建立家谱」· C++ 代码 · 共 48 行
CPP
48 行
// RelationsDlg.cpp : implementation file
//
#include "stdafx.h"
#include "Familytree.h"
#include "RelationsDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CRelationsDlg dialog
CRelationsDlg::CRelationsDlg(CWnd* pParent /*=NULL*/)
: CDialog(CRelationsDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CRelationsDlg)
m_firstname = _T("");
m_secondname = _T("");
//}}AFX_DATA_INIT
}
void CRelationsDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CRelationsDlg)
DDX_Text(pDX, IDC_EDIT_FIRST_NAME, m_firstname);
DDV_MaxChars(pDX, m_firstname, 128);
DDX_Text(pDX, IDC_EDIT_SECOND_NAME, m_secondname);
DDV_MaxChars(pDX, m_secondname, 128);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CRelationsDlg, CDialog)
//{{AFX_MSG_MAP(CRelationsDlg)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CRelationsDlg message handlers
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?