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

📄 dlgpr0003daytx.cpp

📁 用户管理系统
💻 CPP
字号:
// DlgPr0003DayTx.cpp : implementation file
//

#include "stdafx.h"
#include "Kvip.h"
#include "DlgPr0003DayTx.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDlgPr0003DayTx dialog


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


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


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

/////////////////////////////////////////////////////////////////////////////
// CDlgPr0003DayTx message handlers
BOOL CDlgPr0003DayTx::OnCellStart(CDataCell *pData, BOOL bIsPrint)
{
  if(pData->strName == "KT_STATE")
  {
	if(pData->strText == "ZC")
		pData->strText = "正常";
	if(pData->strText == "QD")
		pData->strText = "迟到";
	if(pData->strText == "ZT")
		pData->strText = "早退";
	if(pData->strText == "KG")
		pData->strText = "扩工";
  }
  return true;
}

⌨️ 快捷键说明

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