consolesend.cpp

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

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

#include "stdafx.h"
#include "ConsoleDisplay.h"
#include "ConsoleSend.h"
#include "DialogSend.h"

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

/////////////////////////////////////////////////////////////////////////////
// CConsoleSend dialog


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


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


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

/////////////////////////////////////////////////////////////////////////////
// CConsoleSend message handlers

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

⌨️ 快捷键说明

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