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

📄 trcuk.cpp

📁 是一款车库模拟控制系统,可以实现对当前车库存车状态的实时描述.
💻 CPP
字号:
// Trcuk.cpp : implementation file
//

#include "stdafx.h"
#include "garage.h"
#include "Trcuk.h"

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

/////////////////////////////////////////////////////////////////////////////
// CTrcuk dialog


CTrcuk::CTrcuk(CWnd* pParent /*=NULL*/)
	: CDialog(CTrcuk::IDD, pParent)
{
	//{{AFX_DATA_INIT(CTrcuk)
	m_sCarNo = _T("");
	m_sEnterTime = _T("");
	m_sGood = _T("");
	//}}AFX_DATA_INIT
}


void CTrcuk::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CTrcuk)
	DDX_Text(pDX, IDC_EDIT_TRUCK_CARNO, m_sCarNo);
	DDX_Text(pDX, IDC_EDIT_TRUCK_ENTERTIME, m_sEnterTime);
	DDX_Text(pDX, IDC_EDIT_TRUCK_GOOD, m_sGood);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CTrcuk, CDialog)
	//{{AFX_MSG_MAP(CTrcuk)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CTrcuk message handlers

int CTrcuk::DoModal() 
{
	m_sEnterTime=COleDateTime::GetCurrentTime().Format("20%y年%m月%d日 %H:%M");
	
	return CDialog::DoModal();
}

⌨️ 快捷键说明

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