SuperMarketView.h
上传用户:tyjx315
上传日期:2015-01-18
资源大小:1685k
文件大小:2k
源码类别:

百货/超市行业

开发平台:

Visual C++

  1. // SuperMarketView.h : interface of the CSuperMarketView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_SUPERMARKETVIEW_H__14C8032F_2D6A_47A8_9855_399907F213E0__INCLUDED_)
  5. #define AFX_SUPERMARKETVIEW_H__14C8032F_2D6A_47A8_9855_399907F213E0__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CSuperMarketView : public CView
  10. {
  11. protected: // create from serialization only
  12. CSuperMarketView();
  13. DECLARE_DYNCREATE(CSuperMarketView)
  14. // Attributes
  15. public:
  16. CSuperMarketDoc* GetDocument();
  17. CBitmap bitmap;
  18. // Operations
  19. public:
  20. // Overrides
  21. // ClassWizard generated virtual function overrides
  22. //{{AFX_VIRTUAL(CSuperMarketView)
  23. public:
  24. virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  25. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  26. protected:
  27. virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  28. virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  29. virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  30. //}}AFX_VIRTUAL
  31. // Implementation
  32. public:
  33. virtual ~CSuperMarketView();
  34. #ifdef _DEBUG
  35. virtual void AssertValid() const;
  36. virtual void Dump(CDumpContext& dc) const;
  37. #endif
  38. protected:
  39. // Generated message map functions
  40. protected:
  41. //{{AFX_MSG(CSuperMarketView)
  42. afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  43. afx_msg void OnPaint();
  44. //}}AFX_MSG
  45. DECLARE_MESSAGE_MAP()
  46. };
  47. #ifndef _DEBUG  // debug version in SuperMarketView.cpp
  48. inline CSuperMarketDoc* CSuperMarketView::GetDocument()
  49.    { return (CSuperMarketDoc*)m_pDocument; }
  50. #endif
  51. /////////////////////////////////////////////////////////////////////////////
  52. //{{AFX_INSERT_LOCATION}}
  53. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  54. #endif // !defined(AFX_SUPERMARKETVIEW_H__14C8032F_2D6A_47A8_9855_399907F213E0__INCLUDED_)