YMData.h
上传用户:asikq0571
上传日期:2014-07-12
资源大小:528k
文件大小:1k
- #if !defined(AFX_YMDATA_H__04AE50E8_62A3_4E54_840B_0580B4BEF6F0__INCLUDED_)
- #define AFX_YMDATA_H__04AE50E8_62A3_4E54_840B_0580B4BEF6F0__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // YMData.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CYMData dialog
- class CYMData : public CDialog
- {
- // Construction
- public:
- CYMData(CWnd* pParent = NULL); // standard constructor
- DECLARE_DYNCREATE(CYMData)
- // Dialog Data
- //{{AFX_DATA(CYMData)
- enum { IDD = IDD_YMDATA };
- // NOTE: the ClassWizard will add data members here
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CYMData)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- public:
- void ReDrawCtr();
- void UpdateYMGrid();
- void DrawYMGrid();
- CGridCtrl* m_pYMGridCtrl; //电度表格,用于显示、设置电度
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CYMData)
- virtual BOOL OnInitDialog();
- afx_msg void OnDestroy();
- //}}AFX_MSG
- afx_msg LRESULT OnNotifyGrid(WPARAM wParam,LPARAM lParam);
- afx_msg LRESULT OnNotifyDblClkGrid(WPARAM wParam,LPARAM lParam);
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_YMDATA_H__04AE50E8_62A3_4E54_840B_0580B4BEF6F0__INCLUDED_)