📄 setting5.cpp
字号:
// Setting5.cpp : implementation file
//
#include "stdafx.h"
#include "ConsoleDisplay.h"
#include "Setting5.h"
#include "ConsoleDisplay.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
extern bool tmodmo;
/////////////////////////////////////////////////////////////////////////////
// CSetting5 dialog
CSetting5::CSetting5(CWnd* pParent /*=NULL*/)
: CDialog(CSetting5::IDD, pParent)
{
//{{AFX_DATA_INIT(CSetting5)
m_setting5 = tmodmo;
//}}AFX_DATA_INIT
}
void CSetting5::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CSetting5)
DDX_Check(pDX, IDC_CHECK1, m_setting5);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CSetting5, CDialog)
//{{AFX_MSG_MAP(CSetting5)
ON_BN_CLICKED(IDC_CHECK1, OnCheck1)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSetting5 message handlers
void CSetting5::OnCheck1()
{
// TODO: Add your control notification handler code here
if(m_setting5 == false)
{
m_setting5=true;
tmodmo = m_setting5;
}
else
m_setting5=false;
tmodmo = m_setting5;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -