materialdlg.cpp

来自「这是本人帮别人做的万能试验机数据吹系统(部分)」· C++ 代码 · 共 74 行

CPP
74
字号
// MaterialDlg.cpp : implementation file
//

#include "stdafx.h"
#include "WJC.h"
#include "MaterialDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CMaterialDlg dialog


CMaterialDlg::CMaterialDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CMaterialDlg::IDD, pParent)
{
	EnableAutomation();

	//{{AFX_DATA_INIT(CMaterialDlg)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CMaterialDlg::OnFinalRelease()
{
	// When the last reference for an automation object is released
	// OnFinalRelease is called.  The base class will automatically
	// deletes the object.  Add additional cleanup required for your
	// object before calling the base class.

	CDialog::OnFinalRelease();
}

void CMaterialDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CMaterialDlg)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CMaterialDlg, CDialog)
	//{{AFX_MSG_MAP(CMaterialDlg)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

BEGIN_DISPATCH_MAP(CMaterialDlg, CDialog)
	//{{AFX_DISPATCH_MAP(CMaterialDlg)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_DISPATCH_MAP
END_DISPATCH_MAP()

// Note: we add support for IID_IMaterialDlg to support typesafe binding
//  from VBA.  This IID must match the GUID that is attached to the 
//  dispinterface in the .ODL file.

// {89722B2E-C75B-43CF-B24D-00EB306AF3EA}
static const IID IID_IMaterialDlg =
{ 0x89722b2e, 0xc75b, 0x43cf, { 0xb2, 0x4d, 0x0, 0xeb, 0x30, 0x6a, 0xf3, 0xea } };

BEGIN_INTERFACE_MAP(CMaterialDlg, CDialog)
	INTERFACE_PART(CMaterialDlg, IID_IMaterialDlg, Dispatch)
END_INTERFACE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMaterialDlg message handlers

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?