dialog2.cpp
来自「校表程序源码」· C++ 代码 · 共 60 行
CPP
60 行
// Dialog2.cpp : implementation file
//
#include "stdafx.h"
#include "VerifyAmmter.h"
#include "Dialog2.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDialog2 dialog
CDialog2::CDialog2(CWnd* pParent /*=NULL*/)
: CDialog(CDialog2::IDD, pParent)
{
//{{AFX_DATA_INIT(CDialog2)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CDialog2::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDialog2)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDialog2, CDialog)
//{{AFX_MSG_MAP(CDialog2)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDialog2 message handlers
BOOL CDialog2::Getbok() const
{
return m_bok;
}
void CDialog2::OnOK()
{
// TODO: Add extra validation here
m_bok=TRUE;
CDialog::OnOK();
}
void CDialog2::OnCancel()
{
// TODO: Add extra cleanup here
m_bok=FALSE;
CDialog::OnCancel();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?