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

📄 dlgyg.cpp

📁 这是一个信息管理系统的源代码
💻 CPP
字号:
// DlgYG.cpp : implementation file
//

#include "stdafx.h"
#include "a1.h"
#include "DlgYG.h"


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

/////////////////////////////////////////////////////////////////////////////
// CDlgYG dialog


CDlgYG::CDlgYG(CWnd* pParent /*=NULL*/)
	: CDialog(CDlgYG::IDD, pParent)
{
	//{{AFX_DATA_INIT(CDlgYG)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
	m_tabYg=new CTabYG(8);
}


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


BEGIN_MESSAGE_MAP(CDlgYG, CDialog)
	//{{AFX_MSG_MAP(CDlgYG)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDlgYG message handlers

void CDlgYG::OnOK() 
{
	// TODO: Add extra validation here
	
	CDialog::OnOK();
}

BOOL CDlgYG::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	CRect rect;
	this->GetClientRect(rect);
	this->m_tabYg->Create(WS_CHILD|WS_VISIBLE|WS_TABSTOP,rect,this,ID_TABCTRL_YG);
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

BOOL CDlgYG::DestroyWindow()
{
	delete this->m_tabYg;
	m_tabYg=NULL;	
	return CDialog::DestroyWindow();
}

⌨️ 快捷键说明

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