consolesetting.cpp

来自「自己写的关于车台控制面板的演示程序」· C++ 代码 · 共 53 行

CPP
53
字号
// ConsoleSetting.cpp : implementation file
//

#include "stdafx.h"
#include "ConsoleDisplay.h"
#include "ConsoleSetting.h"
#include "DialogSetting.h"

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

/////////////////////////////////////////////////////////////////////////////
// CConsoleSetting dialog


CConsoleSetting::CConsoleSetting(CWnd* pParent /*=NULL*/)
	: CDialog(CConsoleSetting::IDD, pParent)
{
	//{{AFX_DATA_INIT(CConsoleSetting)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CConsoleSetting::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CConsoleSetting)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CConsoleSetting, CDialog)
	//{{AFX_MSG_MAP(CConsoleSetting)
	ON_BN_CLICKED(IDC_BUTTON2, OnButton2)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CConsoleSetting message handlers

void CConsoleSetting::OnButton2() 
{
	// TODO: Add your control notification handler code here
	CDialog::OnOK();
	CDialogSetting a;
	a.DoModal();	
}

⌨️ 快捷键说明

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