📄 changeornotdlg.cpp
字号:
// ChangeornotDlg.cpp : implementation file
//
#include "stdafx.h"
#include "dangan.h"
#include "ChangeornotDlg.h"
#include "ChangeDlg.h"
#include "AllDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CChangeornotDlg dialog
CChangeornotDlg::CChangeornotDlg(CWnd* pParent /*=NULL*/)
: CDialog(CChangeornotDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CChangeornotDlg)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CChangeornotDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CChangeornotDlg)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CChangeornotDlg, CDialog)
//{{AFX_MSG_MAP(CChangeornotDlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CChangeornotDlg message handlers
void CChangeornotDlg::OnOK()
{
flag_1=1;
// MessageBox("修改成功!");
CDialog::OnOK();
// CAllDlg dlg;
// dlg.DoModal();
}
void CChangeornotDlg::OnCancel()
{
flag_1=0;
AfxMessageBox("取消修改!");
CDialog::OnCancel();
// CChangeDlg dlg;
// dlg.DoModal();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -