consolephone.cpp

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

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

#include "stdafx.h"
#include "ConsoleDisplay.h"
#include "ConsolePhone.h"
#include "DialogPhone.h"

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

/////////////////////////////////////////////////////////////////////////////
// CConsolePhone dialog


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


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


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

/////////////////////////////////////////////////////////////////////////////
// CConsolePhone message handlers

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

⌨️ 快捷键说明

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