mydlg2.cpp
来自「一个用于管理学校教职工的一个管理系统,比较简单,但很实用.」· C++ 代码 · 共 59 行
CPP
59 行
// MyDlg2.cpp : implementation file
//
#include "stdafx.h"
#include "教职工信息管理系统.h"
#include "MyDlg2.h"
#include"MyDlg1.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMyDlg2 dialog
CMyDlg2::CMyDlg2(CWnd* pParent /*=NULL*/)
: CDialog(CMyDlg2::IDD, pParent)
{
//{{AFX_DATA_INIT(CMyDlg2)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CMyDlg2::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CMyDlg2)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CMyDlg2, CDialog)
//{{AFX_MSG_MAP(CMyDlg2)
ON_BN_CLICKED(IDC_COMBACK, OnComback)
ON_BN_CLICKED(IDC_ZHIGONGXINXI, OnZhigongxinxi)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CMyDlg2 message handlers
void CMyDlg2::OnComback()
{
// TODO: Add your control notification handler code here
OnOK();
}
void CMyDlg2::OnZhigongxinxi()
{
// TODO: Add your control notification handler code here
CMyDlg1 MyDlg1;
MyDlg1.DoModal();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?