Page3.h
资源名称:酒店管理系统源代码.rar [点击查看]
上传用户:czfddz
上传日期:2013-03-20
资源大小:1517k
文件大小:2k
源码类别:
酒店行业
开发平台:
C/C++
- #if !defined(AFX_PAGE3_H__61858C43_F2D7_42AF_AEC7_C571B7DDE546__INCLUDED_)
- #define AFX_PAGE3_H__61858C43_F2D7_42AF_AEC7_C571B7DDE546__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // Page3.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CPage3 dialog
- class CPage3 : public CDialog
- {
- DECLARE_DYNCREATE(CPage3)
- // Construction
- public:
- void DrawTreeImage(CDC *pDC, CPoint pntStart);
- void DrawFrameAndText(CDC *pDC, CPoint LeftTop, CPoint RightButtom,const CString& strDrawedText);
- static CPoint GetImgOrgPoint();
- void DrawFrameImg(CDC *pDC,CRect rect);
- void DrawRangeText(CRect rect,CString strTtext,CDC*pDC)
- {//函数重载
- DrawRangeText(rect.left,rect.top,rect.right,rect.bottom,strTtext,pDC);
- }
- void DrawRangeText(long x1,long y1,long x2,long y2,CString strTtext,CDC*pDC);
- void DrawFrameImage(CDC *pDC,CRect rect);
- CPage3(CWnd* pParent = NULL); // standard constructor
- //属性
- // static CMapPtrToPtr m_RanglePtr; //映射对象
- // Dialog Data
- //{{AFX_DATA(CPage3)
- enum { IDD = IDD_PAGE3 };
- int m_ShowType;
- //}}AFX_DATA
- static long xStart;
- static long yStart;
- static CPoint pntArray[30];
- static BOOL bDrawTreeImage;//是否画树型图
- static BOOL bDrawFrameImage;//是否画框架图
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CPage3)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CPage3)
- afx_msg void OnRadio();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_PAGE3_H__61858C43_F2D7_42AF_AEC7_C571B7DDE546__INCLUDED_)