dlg1.cpp
来自「数据库模拟程序 实现控制台命令词法分析」· C++ 代码 · 共 50 行
CPP
50 行
// Dlg1.cpp : implementation file
//
#include "stdafx.h"
#include "database.h"
#include "Dlg1.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlg1 dialog
CDlg1::CDlg1(CWnd* pParent /*=NULL*/)
: CDialog(CDlg1::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlg1)
m_str = _T("");
//}}AFX_DATA_INIT
}
void CDlg1::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlg1)
DDX_Text(pDX, IDC_EDIT1, m_str);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlg1, CDialog)
//{{AFX_MSG_MAP(CDlg1)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlg1 message handlers
void CDlg1::OnOK()
{
// TODO: Add extra validation here
UpdateData();
CDialog::OnOK();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?