from.h

来自「Viewdraw 30」· C头文件 代码 · 共 30 行

H
30
字号
// From.h: interface for the CFrom class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_FROM_H__7CD7B3F8_83DE_415D_B468_3A521B90B0B3__INCLUDED_)
#define AFX_FROM_H__7CD7B3F8_83DE_415D_B468_3A521B90B0B3__INCLUDED_

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

#include "Object1.h"

class CFrom : public CObject1  
{
	DECLARE_SERIAL(CFrom)
public:
	virtual	void Serialize(CArchive &ar);
	virtual void GetPoint(CPoint pt1,CPoint pt2);
	virtual void Draw(CDC*pDC);
	CFrom();
	virtual ~CFrom();
private:
	CPoint m_ptPoint1[500];
	CPoint m_ptPoint2[500];
	int m_nNumber;
};

#endif // !defined(AFX_FROM_H__7CD7B3F8_83DE_415D_B468_3A521B90B0B3__INCLUDED_)

⌨️ 快捷键说明

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