⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 showsigndlg.cpp

📁 用VC写的监控中心后台程序。 代码全
💻 CPP
字号:
// ShowSignDlg.cpp : implementation file
//

#include "stdafx.h"
#include "GpsSC.h"
#include "ShowSignDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CShowSignDlg dialog

CShowSignDlg::CShowSignDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CShowSignDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CShowSignDlg)
	//}}AFX_DATA_INIT
}


void CShowSignDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CShowSignDlg)
	DDX_Control(pDX, IDC_SIGN_TRAFFIC, m_ctlSignTraffic);
	DDX_Control(pDX, IDC_SIGN_SHOPPING, m_ctlSignShopping);
	DDX_Control(pDX, IDC_SIGN_PLACENAME, m_ctlSignPlaceName);
	DDX_Control(pDX, IDC_SIGN_OIL, m_ctlSignOil);
	DDX_Control(pDX, IDC_SIGN_HOTEL, m_ctlSignHotel);
	DDX_Control(pDX, IDC_SIGN_HOSPITAL, m_ctlSignHospital);
	DDX_Control(pDX, IDC_SIGN_GOVERNMENT, m_ctlSignGoverment);
	DDX_Control(pDX, IDC_SIGN_COMPANY, m_ctlSignCompany);
	DDX_Control(pDX, IDC_SIGN_EDUCATION, m_ctlSingEducation);
	DDX_Control(pDX, IDC_SIGN_BUREAU, m_ctlSignBureau);
	DDX_Control(pDX, IDC_SIGN_BUILDING, m_ctlSignBuilding);
	DDX_Control(pDX, IDC_SIGN_AMUSE, m_ctlSignAmuse);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CShowSignDlg, CDialog)
	//{{AFX_MSG_MAP(CShowSignDlg)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CShowSignDlg message handlers

void CShowSignDlg::OnOK() 
{
	// TODO: Add extra validation here
	if(m_ctlSignBuilding.GetCheck())	m_byBuilding = 1;
	if(m_ctlSignHotel.GetCheck())		m_byHotel = 2;
	if(m_ctlSignCompany.GetCheck())		m_byCompany = 3;
	if(m_ctlSignAmuse.GetCheck())		m_byAmuse = 4;
	if(m_ctlSignPlaceName.GetCheck())	m_byPlaceName = 5;
	if(m_ctlSignGoverment.GetCheck())	m_byGovern = 7;
	if(m_ctlSignTraffic.GetCheck())		m_byTraffic = 8;
	if(m_ctlSignShopping.GetCheck())	m_byShopping = 9;
	if(m_ctlSingEducation.GetCheck())	m_byEducation = 10;
	if(m_ctlSignHospital.GetCheck())	m_byHospital = 12;
	if(m_ctlSignBureau.GetCheck())		m_byBureau = 13;
	if(m_ctlSignOil.GetCheck())			m_byOil = 14;

	CDialog::OnOK();
}

⌨️ 快捷键说明

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