📄 leafdlg.cpp
字号:
// leafDlg.cpp : implementation file
//
#include "stdafx.h"
#include "newgas.h"
#include "leafDlg.h"
// leafDlg dialog
IMPLEMENT_DYNAMIC(leafDlg, CDialog)
leafDlg::leafDlg(CWnd* pParent /*=NULL*/)
: CDialog(leafDlg::IDD, pParent)
{
}
leafDlg::~leafDlg()
{
}
void leafDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP(leafDlg, CDialog)
ON_BN_CLICKED(IDC_leaf, &leafDlg::OnleafDlg)
ON_EN_CHANGE(IDC_EDIT1, &leafDlg::OnEnChangeEdit1)
ON_BN_CLICKED(IDOK, &leafDlg::OnBnClickedOk)
ON_BN_CLICKED(IDCANCEL, &leafDlg::OnBnClickedCancel)
END_MESSAGE_MAP()
// leafDlg message handlers
void leafDlg::OnleafDlg()
{
leafDlg leaf;
leaf.DoModal();
// TODO: Add your control notification handler code here
}
void leafDlg::OnEnChangeEdit1()
{
// TODO: If this is a RICHEDIT control, the control will not
// send this notification unless you override the CDialog::OnInitDialog()
// function and call CRichEditCtrl().SetEventMask()
// with the ENM_CHANGE flag ORed into the mask.
// TODO: Add your control notification handler code here
}
void leafDlg::OnBnClickedOk()
{
// TODO: Add your control notification handler code here
OnOK();
}
void leafDlg::OnBnClickedCancel()
{
// TODO: Add your control notification handler code here
OnCancel();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -