instruction.cpp

来自「毕业设计——本程序用于网络检测——监听的一种代码。」· C++ 代码 · 共 51 行

CPP
51
字号
// Instruction.cpp : implementation file
//

#include "stdafx.h"
#include "listen.h"
#include "Instruction.h"
#include "class\\FaderWnd.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CInstruction dialog


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


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


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

/////////////////////////////////////////////////////////////////////////////
// CInstruction message handlers

void CInstruction::OnOK() 
{
	// TODO: Add extra validation here
	new CFaderWnd(this,500);
	
	CDialog::OnOK();
}

⌨️ 快捷键说明

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