📄 retry.cpp
字号:
// Retry.cpp : implementation file
//
#include "stdafx.h"
#include "WinDemo.h"
#include "Retry.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CRetry dialog
CRetry::CRetry(CWnd* pParent /*=NULL*/)
: CDialog(CRetry::IDD, pParent)
{
//{{AFX_DATA_INIT(CRetry)
//}}AFX_DATA_INIT
}
void CRetry::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CRetry)
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CRetry, CDialog)
//{{AFX_MSG_MAP(CRetry)
ON_BN_CLICKED(IDC_Exit, OnExit)
ON_BN_CLICKED(IDC_TryAgain, OnTryAgain)
ON_WM_CLOSE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CRetry message handlers
void CRetry::OnExit()
{
CDialog::OnCancel();
}
void CRetry::OnTryAgain()
{
CDialog::OnOK();
}
void CRetry::OnClose()
{
// TODO: Add your message handler code here and/or call default
CDialog::OnClose();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -