main.cpp

来自「人事管理系统.SQL的数据库.所用密码和用户名均是531」· C++ 代码 · 共 76 行

CPP
76
字号
// Main.cpp : implementation file
//

#include "stdafx.h"
#include "people2.h"
#include "Main.h"

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

/////////////////////////////////////////////////////////////////////////////
// Main dialog


Main::Main(CWnd* pParent /*=NULL*/)
	: CDialog(Main::IDD, pParent)
{
	//{{AFX_DATA_INIT(Main)
	m_Number = _T("");
	//}}AFX_DATA_INIT
}


void Main::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(Main)
	DDX_Text(pDX, IDC_PEOPLE_EDIT1, m_Number);
	DDX_Control(pDX, IDC_ADODC1, m_adodc);
	DDX_Control(pDX, IDC_DATAGRID1, m_datagrid);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(Main, CDialog)
	//{{AFX_MSG_MAP(Main)
	ON_COMMAND(ID_MENUITEM32775, OnMenuitem32775)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// Main message handlers

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

BOOL Main::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

void Main::OnCancel() 
{
	// TODO: Add extra cleanup here
	
	CDialog::OnCancel();
}

void Main::OnMenuitem32775() 
{
	// TODO: Add your command handler code here
	
}

⌨️ 快捷键说明

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