📄 mydlg1.cpp
字号:
// MyDlg1.cpp : implementation file
//
#include "stdafx.h"
#include "教职工信息管理系统.h"
#include "MyDlg1.h"
#include "MyDlg2.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMyDlg1 dialog
CMyDlg1::CMyDlg1(CWnd* pParent /*=NULL*/)
: CDialog(CMyDlg1::IDD, pParent)
{
//{{AFX_DATA_INIT(CMyDlg1)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CMyDlg1::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CMyDlg1)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CMyDlg1, CDialog)
//{{AFX_MSG_MAP(CMyDlg1)
ON_BN_CLICKED(IDC_OVER, OnOver)
ON_BN_CLICKED(IDC_BUTTON2, OnButton2)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CMyDlg1 message handlers
void CMyDlg1::OnOver()
{
// TODO: Add your control notification handler code here
OnOK();
}
void CMyDlg1::OnButton2()
{
// TODO: Add your control notification handler code here
CMyDlg2 MyDlg2;
MyDlg2.DoModal();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -