dialog1.cpp

来自「EVC环境」· C++ 代码 · 共 54 行

CPP
54
字号
// Dialog1.cpp : implementation file
//

#include "stdafx.h"
#include "FlightQuery.h"
#include "Dialog1.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CDialog1 dialog


CDialog1::CDialog1(CWnd* pParent /*=NULL*/)
	: CDialog(CDialog1::IDD, pParent)
{
	//{{AFX_DATA_INIT(CDialog1)
	m_BthConn = FALSE;
	m_BthDisc = FALSE;
	m_BthPower = FALSE;
	//}}AFX_DATA_INIT
}


void CDialog1::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDialog1)
	DDX_Check(pDX, IDC_BTHCONN_EN, m_BthConn);
	DDX_Check(pDX, IDC_BTHDISC_EN, m_BthDisc);
	DDX_Check(pDX, IDC_BTHPOWER_EN, m_BthPower);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CDialog1, CDialog)
	//{{AFX_MSG_MAP(CDialog1)
	ON_BN_CLICKED(IDC_BTHPOWER_EN, OnBthpowerEn)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDialog1 message handlers

void CDialog1::OnBthpowerEn() 
{
	// TODO: Add your control notification handler code here
	
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?