📄 ox_planerview.h
字号:
// Ox_PlanerView.h : interface of the COx_PlanerView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_OX_PLANERVIEW_H__D452BF61_A05B_4F2A_B1AD_902554FE0BD4__INCLUDED_)
#define AFX_OX_PLANERVIEW_H__D452BF61_A05B_4F2A_B1AD_902554FE0BD4__INCLUDED_
#include "planer.h"
#include "GetData.h" // Added by ClassView
//#include "math.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class COx_PlanerView : public CView
{
protected: // create from serialization only
COx_PlanerView();
DECLARE_DYNCREATE(COx_PlanerView)
// Attributes
public:
COx_PlanerDoc* GetDocument();
void OnD(double x,double y,double m,double n,double angle);
// Operations
public:
int i;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(COx_PlanerView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void Serialize(CArchive& ar);
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
//}}AFX_VIRTUAL
// Implementation
public:
GetData Getdata;
int flag;
planer oxplaner;
virtual ~COx_PlanerView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(COx_PlanerView)
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnCartoon();
afx_msg void Onfssfsffsd();
afx_msg void OnSva();
afx_msg void OnShaft();
afx_msg void OnClear();
afx_msg void OnTb();
afx_msg void OnGetData();
afx_msg void OnText();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in Ox_PlanerView.cpp
inline COx_PlanerDoc* COx_PlanerView::GetDocument()
{ return (COx_PlanerDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_OX_PLANERVIEW_H__D452BF61_A05B_4F2A_B1AD_902554FE0BD4__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -