📄 dlgsub_base.cpp
字号:
// dlgSub_Base.cpp : implementation file
//
#include "stdafx.h"
#include "EquipManage2.h"
#include "dlgSub_Base.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// dlgSub_Base dialog
dlgSub_Base::dlgSub_Base(CWnd* pParent /*=NULL*/)
: CDialog(dlgSub_Base::IDD, pParent)
{
//{{AFX_DATA_INIT(dlgSub_Base)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void dlgSub_Base::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(dlgSub_Base)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(dlgSub_Base, CDialog)
//{{AFX_MSG_MAP(dlgSub_Base)
ON_BN_CLICKED(IDC_BUTTON1, OnButton1)
ON_BN_CLICKED(IDC_BUTTON2, OnButton2)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// dlgSub_Base message handlers
void dlgSub_Base::OnButton1()
{
// TODO: Add your control notification handler code here
this->ShowWindow(SW_HIDE);
AfxMessageBox("信息初始化完毕");
}
void dlgSub_Base::OnButton2()
{
this->ShowWindow(SW_HIDE);
dlgBaseInfoAdd tdlgBaseInfoAdd;
tdlgBaseInfoAdd.DoModal();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -