leafdlg.cpp
来自「此文件是加油站管理系统的界面,开发环境是 visual studio 2008 」· C++ 代码 · 共 69 行
CPP
69 行
// 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 + =
减小字号Ctrl + -
显示快捷键?