myview1.h

来自「DMC VC++ 的程序  给大学生毕业用 啦 其它不多说了 用了就知道!」· C头文件 代码 · 共 68 行

H
68
字号
#if !defined(AFX_MYVIEW1_H__4BC11D66_4021_4596_AD11_00D0234AB8FB__INCLUDED_)
#define AFX_MYVIEW1_H__4BC11D66_4021_4596_AD11_00D0234AB8FB__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyView1.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CMyView1 view

class CMyView1 : public CView
{
protected:
	CMyView1();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CMyView1)

// Attributes
public:

// Operations
public:
	void DrawU();
	void DrawRY();
	void DrawS();
	void DrawCoordinate2();
	void DrawCoordinate1();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMyView1)
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	//}}AFX_VIRTUAL

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

	// Generated message map functions
protected:
	//{{AFX_MSG(CMyView1)
	afx_msg void OnRun();
	afx_msg void OnCreate();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CPen pen1;
	CPen pen2;
	CPen pen3;
	CPen pen4;
	CPen pen5;

	BOOL flagRY;
};

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

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

#endif // !defined(AFX_MYVIEW1_H__4BC11D66_4021_4596_AD11_00D0234AB8FB__INCLUDED_)

⌨️ 快捷键说明

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