main.h

来自「演示vc与专业控制器的连接」· C头文件 代码 · 共 82 行

H
82
字号
#if !defined(AFX_MAIN_H__554DD679_8B7A_4ABC_8285_24D025058335__INCLUDED_)
#define AFX_MAIN_H__554DD679_8B7A_4ABC_8285_24D025058335__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Main.h : header file
//
#include "MPC2810DemoDoc.h"

/////////////////////////////////////////////////////////////////////////////
// CMain form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
#include "BtnST.h"

class CMain : public CFormView
{
protected:
	CMain();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CMain)

// Form Data
public:
	//{{AFX_DATA(CMain)
	enum { IDD = IDD_MAIN };
	CButtonST	m_cBtn3;
	CButtonST	m_cBtn2;
	CButtonST	m_cBtn1;
	CButtonST	m_cBtn4;
	CButtonST	m_cBtn5;
	//}}AFX_DATA

// Attributes
public:
	CMPC2810DemoDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMain)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CMain();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CMain)
	afx_msg void OnFunctiontest();
	afx_msg void OnMovetest();
	afx_msg void OnIotest();
	afx_msg void OnBtnDxffile();
	afx_msg void OnBtnCncfile();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in MPC2810DemoView.cpp
inline CMPC2810DemoDoc* CMain::GetDocument()
   { return (CMPC2810DemoDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MAIN_H__554DD679_8B7A_4ABC_8285_24D025058335__INCLUDED_)

⌨️ 快捷键说明

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