setting6.cpp
来自「自己写的关于车台控制面板的演示程序」· C++ 代码 · 共 60 行
CPP
60 行
// Setting6.cpp : implementation file
//
#include "stdafx.h"
#include "ConsoleDisplay.h"
#include "Setting6.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSetting6 dialog
CSetting6::CSetting6(CWnd* pParent /*=NULL*/)
: CDialog(CSetting6::IDD, pParent)
{
//{{AFX_DATA_INIT(CSetting6)
m_setting61 = FALSE;
m_setting62 = FALSE;
//}}AFX_DATA_INIT
}
void CSetting6::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CSetting6)
DDX_Check(pDX, IDC_CHECK1, m_setting61);
DDX_Check(pDX, IDC_CHECK2, m_setting62);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CSetting6, CDialog)
//{{AFX_MSG_MAP(CSetting6)
ON_BN_CLICKED(IDC_CHECK1, OnCheck1)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSetting6 message handlers
void CSetting6::OnCheck1()
{
// TODO: Add your control notification handler code here
if(m_setting61 == false)
m_setting61=true;
else
m_setting61=false;
if(m_setting62 == false)
m_setting62=true;
else
m_setting62=false;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?