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

📄 yy0view.h

📁 一个简单的钻床仿真的小程序
💻 H
字号:
// yy0View.h : interface of the CYy0View class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_YY0VIEW_H__769A74CD_3540_11D4_9A45_A4E162AB890C__INCLUDED_)
#define AFX_YY0VIEW_H__769A74CD_3540_11D4_9A45_A4E162AB890C__INCLUDED_

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


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

// Attributes
public:
	CYy0Doc* GetDocument();

// Operations
public:
    CPoint pp[3];
	double x_point[9];
	double y_point[9];
	double x_apoint[9];
	double y_apoint[9];
	double x_pos;
	double y_pos;
	double x_pos1;
	double y_pos1;
	int x_pos2;
	int y_pos2;
	int i,j,k,l,t,m;
    int d,cy1;
	double cx,cy;
	CString text1,text2,text3;
	int m_k,m_r,m_rc,m_z1,m_z2;
	
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CYy0View)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CYy0View)
	afx_msg void OnShowtext();
	afx_msg void OnFileNew();
	afx_msg void OnStart();
	afx_msg void OnUpdateStart(CCmdUI* pCmdUI);
	afx_msg void OnPaint();
	afx_msg void OnShowbz();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	BOOL m_Stop;
	BOOL m_Start;
};

#ifndef _DEBUG  // debug version in yy0View.cpp
inline CYy0Doc* CYy0View::GetDocument()
   { return (CYy0Doc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_YY0VIEW_H__769A74CD_3540_11D4_9A45_A4E162AB890C__INCLUDED_)

⌨️ 快捷键说明

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