- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
CAD2006Doc.h
资源名称:CAD2006.rar [点击查看]
上传用户:ckg1000
上传日期:2013-01-26
资源大小:630k
文件大小:2k
源码类别:
CAD
开发平台:
Visual C++
- // CAD2006Doc.h : interface of the CCAD2006Doc class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_CAD2006DOC_H__1868BEDA_ED10_4222_BEE9_1D44F8BE1914__INCLUDED_)
- #define AFX_CAD2006DOC_H__1868BEDA_ED10_4222_BEE9_1D44F8BE1914__INCLUDED_
- #include "NewEdit.h" // Added by ClassView
- #include "Shape.h"
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- enum SHAPE{shape,line,linedown,lineangle,trigon,circle,ellipse,circlemater,rect,polygon,font};
- enum TOOL{tool,arrow,draw,fill,move,zoom,msl,eddy,select};
- class CCAD2006Doc : public CDocument
- {
- protected: // create from serialization only
- CCAD2006Doc();
- DECLARE_DYNCREATE(CCAD2006Doc)
- // Attributes
- public:
- SHAPE m_shape;
- NewEdit m_text;
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CCAD2006Doc)
- public:
- virtual BOOL OnNewDocument();
- virtual void Serialize(CArchive& ar);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- CShape *m_shapetool;
- CObArray m_shapearray;
- TOOL m_tool;
- virtual ~CCAD2006Doc();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CCAD2006Doc)
- // NOTE - the ClassWizard will add and remove member functions here.
- // DO NOT EDIT what you see in these blocks of generated code !
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_CAD2006DOC_H__1868BEDA_ED10_4222_BEE9_1D44F8BE1914__INCLUDED_)