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

📄 logindialog.cpp

📁 一个基于VC6.0MFC的超市管理系统,SQL SERVER 2000数据库.实现基本功能,
💻 CPP
字号:
// LoginDialog.cpp : implementation file
//

#include "stdafx.h"
#include "MarketManager.h"
#include "LoginDialog.h"

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

/////////////////////////////////////////////////////////////////////////////
// CLoginDialog dialog


CLoginDialog::CLoginDialog(CWnd* pParent /*=NULL*/)
	: CDialog(CLoginDialog::IDD, pParent)
{
	//{{AFX_DATA_INIT(CLoginDialog)
	m_uid = _T("");
	m_code = _T("");
//	m_time = _T("");
	//}}AFX_DATA_INIT
//////////////////////////////////////////////////////////
//peter statements
	CTime ct=CTime::GetCurrentTime();
	m_time=ct.Format("%B-%d-%Y");
//peter statements
/////////////////////////////////////////////////////////
}


void CLoginDialog::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CLoginDialog)
	DDX_Text(pDX, ID_DIALOG_UID, m_uid);
	DDV_MaxChars(pDX, m_uid, 10);
	DDX_Text(pDX, ID_DIALOG_CODE, m_code);
	DDV_MaxChars(pDX, m_code, 10);
	DDX_Text(pDX, ID_DIAlOG_TIME, m_time);
	DDV_MaxChars(pDX, m_time, 30);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CLoginDialog message handlers

⌨️ 快捷键说明

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