📄 dia7.cpp
字号:
// dia7.cpp : implementation file
//
#include "stdafx.h"
#include "CodeDialog.h"
#include "dia7.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// dia7 dialog
dia7::dia7(CWnd* pParent /*=NULL*/)
: CDialog(dia7::IDD, pParent)
{
//{{AFX_DATA_INIT(dia7)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
rep = false;
}
bool dia7::replace()
{
return rep;
}
void dia7::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(dia7)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(dia7, CDialog)
//{{AFX_MSG_MAP(dia7)
ON_BN_CLICKED(IDC_BUTTON1, OnButton1)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// dia7 message handlers
void dia7::OnOK()
{
rep = true;
EndDialog(1);
}
void dia7::OnButton1()
{
rep = false;
EndDialog(1);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -