📄 expenddlg.cpp
字号:
// ExpendDlg.cpp : implementation file
//
#include "stdafx.h"
#include "bpnlayerexe.h"
#include "ExpendDlg.h"
#include "BpNlayerEXEDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// ExpendDlg dialog
ExpendDlg::ExpendDlg(CWnd* pParent /*=NULL*/)
: CDialog(ExpendDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(ExpendDlg)
m_iExpend = 0;
//}}AFX_DATA_INIT
}
void ExpendDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(ExpendDlg)
DDX_Text(pDX, IDC_EDIT1, m_iExpend);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(ExpendDlg, CDialog)
//{{AFX_MSG_MAP(ExpendDlg)
ON_BN_CLICKED(IDC_BUTTON1, OnButton1)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// ExpendDlg message handlers
void ExpendDlg::OnButton1()
{
// TODO: Add your control notification handler code here
UpdateData();
CBpNlayerEXEDoc *pDoc=CBpNlayerEXEDoc::GetDoc();
pDoc->m_bDataOk=FALSE;
pDoc->SetDatabase();
pDoc->Expend(m_iExpend);
EndDialog(0);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -