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

📄 mouserlt.cpp

📁 VC开发的一个笔记本线上测试系统
💻 CPP
字号:
// MouseRlt.cpp : implementation file
//

#include "stdafx.h"
#include "NoteBook.h"
#include "MouseRlt.h"
#include "ReaderRlt.h"

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

/////////////////////////////////////////////////////////////////////////////
// CMouseRlt dialog


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


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


BEGIN_MESSAGE_MAP(CMouseRlt, CDialog)
	//{{AFX_MSG_MAP(CMouseRlt)
	ON_BN_CLICKED(IDC_PASS, OnPass)
	ON_BN_CLICKED(IDC_FAIL, OnFail)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMouseRlt message handlers

void CMouseRlt::OnPass() 
{
	// TODO: Add your control notification handler code here
	::SetDlgItemText(::FindWindow(NULL,"外设、端口测试模块"),IDC_EDIT3,
		"鼠标测试成功");
	SendMessage(WM_SYSCOMMAND,SC_CLOSE,0);
/*	MessageBox("请按spec说明插入卡进行读卡器测试!");
	Sleep(10000);
	CReaderRlt dlg;
	dlg.DoModal();*/
}

void CMouseRlt::OnFail() 
{
	// TODO: Add your control notification handler code here
	::SetDlgItemText(::FindWindow(NULL,"外设、端口测试模块"),IDC_EDIT3,
		"鼠标测试成功");
	SendMessage(WM_SYSCOMMAND,SC_CLOSE,0);
	
}

⌨️ 快捷键说明

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