dlgstatis.cpp
来自「航空公司简单考勤系统:主要运用指纹管理深圳航空公司的会议签到管理系统」· C++ 代码 · 共 65 行
CPP
65 行
// DlgStatis.cpp : implementation file
//
#include "stdafx.h"
#include "Demo_airline.h"
#include "DlgStatis.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgStatis property page
IMPLEMENT_DYNCREATE(CDlgStatis, CPropertyPage)
CDlgStatis::CDlgStatis() : CPropertyPage(CDlgStatis::IDD)
{
//{{AFX_DATA_INIT(CDlgStatis)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
CDlgStatis::~CDlgStatis()
{
}
void CDlgStatis::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgStatis)
DDX_Control(pDX, IDC_TREE1, m_tree);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgStatis, CPropertyPage)
//{{AFX_MSG_MAP(CDlgStatis)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgStatis message handlers
BOOL CDlgStatis::OnInitDialog()
{
CPropertyPage::OnInitDialog();
CRect rectTree;
m_tree.GetClientRect(&rectTree);
CRect rectWindow;
GetClientRect(&rectWindow);
m_sheet.AddPage(&m_dlgInfoStatis);
m_sheet.AddPage(&m_dlgAbsentList);
m_sheet.Create(this,WS_CHILD|WS_VISIBLE,WS_EX_CONTROLPARENT);
m_sheet.SetWindowPos(NULL,rectTree.right+ 5,0,rectWindow.right,rectWindow.bottom-50,NULL);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?