⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 leafdlg.cpp

📁 此文件是加油站管理系统的界面,开发环境是 visual studio 2008 MFC
💻 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 + -