// Operations public:
// Overrides
// ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMyView) public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view virtual BOOL PreCreateWindow(CREATESTRUCT& cs); protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo); //}}AFX_VIRTUAL
// Implementation public:
void CPaint();
void Gettingfunction(); virtual ~CMyView(); #ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const; #endif
protected:
// Generated message map functions protected:
//{{AFX_MSG(CMyView)
afx_msg void OnLButtonDown(UINT nFlags, CPoint point); afx_msg void OnLButtonUp(UINT nFlags, CPoint point); afx_msg void OnMouseMove(UINT nFlags, CPoint point); afx_msg void Onstart(); afx_msg void Onselect(); afx_msg void OnGetting(); afx_msg void OnSave(); afx_msg void OnOpen(); afx_msg void OnClear(); //}}AFX_MSG
private: //主要成员变量和函数 CPtrArray m_ptrArray; vector <CGetting> Save; CGetting Getting;