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

📄 boyecutterview.h

📁 本程序为激光切割机的源代码
💻 H
字号:
// BoyeCutterView.h : interface of the CBoyeCutterView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_BOYECUTTERVIEW_H__F4135F50_ED05_4C9A_A6A1_E648C43338C8__INCLUDED_)
#define AFX_BOYECUTTERVIEW_H__F4135F50_ED05_4C9A_A6A1_E648C43338C8__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CBoyeCutterCntrItem;
#include "boyexpsdk.h"

class CBoyeCutterView : public CView
{
protected: // create from serialization only
	CBoyeCutterView();
	DECLARE_DYNCREATE(CBoyeCutterView)

// Attributes
public:
	CBoyeCutterDoc* GetDocument();
	// m_pSelection holds the selection to the current CBoyeCutterCntrItem.
	// For many applications, such a member variable isn't adequate to
	//  represent a selection, such as a multiple selection or a selection
	//  of objects that are not CBoyeCutterCntrItem objects.  This selection
	//  mechanism is provided just to help you get started.

	// TODO: replace this selection mechanism with one appropriate to your app.
	CBoyeCutterCntrItem* m_pSelection;

// Operations
public:
	void DrawAll(CDC* pDC);
    void run();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBoyeCutterView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void OnInitialUpdate(); // called first time after construct
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
	virtual BOOL IsSelected(const CObject* pDocItem) const;// Container support
	//}}AFX_VIRTUAL

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

protected:
	CXPFacade* m_pFacade;

// Generated message map functions
protected:
	//{{AFX_MSG(CBoyeCutterView)
	afx_msg void OnDestroy();
	afx_msg void OnSetFocus(CWnd* pOldWnd);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnInsertObject();
	afx_msg void OnCancelEditCntr();
	afx_msg void OnArc();
	afx_msg void OnCircle();
	afx_msg void OnClearScreen();
	afx_msg void OnCutParameter();
	afx_msg void OnDeviceinfoSetting();
	afx_msg void OnLaserParameter();
	afx_msg void OnMoveParameter();
	afx_msg void OnNetOutput();
	afx_msg void OnNetworkParameter();
	afx_msg void OnSline();
	afx_msg void OnSqure();
	afx_msg void OnSystemOutput();
	afx_msg void OnSystemParameter();
	afx_msg void OnTest();
	afx_msg void OnVline();
	afx_msg void OnWronginfo();
	afx_msg void OnUpdateWronginfo(CCmdUI* pCmdUI);
	afx_msg void OnUpdateTest(CCmdUI* pCmdUI);
	afx_msg void OnUpdateNetworkParameter(CCmdUI* pCmdUI);
	afx_msg void OnUpdateCutParameter(CCmdUI* pCmdUI);
	afx_msg void OnUpdateSystemParameter(CCmdUI* pCmdUI);
	afx_msg void OnUpdateMoveParameter(CCmdUI* pCmdUI);
	afx_msg void OnUpdateLaserParameter(CCmdUI* pCmdUI);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CPoint m_endPoint;
	CPoint m_startPoint;
};

#ifndef _DEBUG  // debug version in BoyeCutterView.cpp
inline CBoyeCutterDoc* CBoyeCutterView::GetDocument()
   { return (CBoyeCutterDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_BOYECUTTERVIEW_H__F4135F50_ED05_4C9A_A6A1_E648C43338C8__INCLUDED_)

⌨️ 快捷键说明

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