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

📄 1view.h

📁 该软件能很好地实现数控机床上的G00
💻 H
字号:
// 1View.h : interface of the CMy1View class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_1VIEW_H__3343D940_A42D_4AF6_BFF7_A26B414219D6__INCLUDED_)
#define AFX_1VIEW_H__3343D940_A42D_4AF6_BFF7_A26B414219D6__INCLUDED_

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


class CMy1View : public CEditView
{
protected: // create from serialization only
	CMy1View();
	DECLARE_DYNCREATE(CMy1View)

// Attributes
public:
	CMy1Doc* GetDocument();
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMy1View)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	//}}AFX_VIRTUAL

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

protected:
int delay( int uSec ) 
    { 
       int n=0;
        for(int i = 0; i < uSec*100; i++)
        {
            n++;
            _asm{nop} 
        } 
    }


// Generated message map functions
protected:
	int m_nMapMode,I,J,R;
    	CString m,n;
	char* str;
	float G,X,Y,a,b;
	
	//{{AFX_MSG(CMy1View)
	afx_msg void OnButtonfz();
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnButtoncx();
	afx_msg void OnButtonx1();
	afx_msg void OnButtonx2();
	afx_msg void OnButtony1();
	afx_msg void OnButtony2();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in 1View.cpp
inline CMy1Doc* CMy1View::GetDocument()
   { return (CMy1Doc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_1VIEW_H__3343D940_A42D_4AF6_BFF7_A26B414219D6__INCLUDED_)

⌨️ 快捷键说明

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