📄 energyvalview.h
字号:
//{{AFX_INCLUDES()
//}}AFX_INCLUDES
#if !defined(AFX_ENERGYVALVIEW_H__21EA24F5_2F84_45E4_8952_C7F9C17A0FD7__INCLUDED_)
#define AFX_ENERGYVALVIEW_H__21EA24F5_2F84_45E4_8952_C7F9C17A0FD7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// EnergyValView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CEnergyValView form view
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
#include "MbpcDoc.h"
class CEnergyValView : public CFormView
{
protected:
CEnergyValView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CEnergyValView)
// Form Data
public:
//{{AFX_DATA(CEnergyValView)
enum { IDD = IDD_ENERGYVALVIEW };
CComboBox m_CombId;
CListCtrl m_ListEnergy;
CString m_szName;
float m_fPratio;
float m_fSratio;
int m_nId;
//}}AFX_DATA
// Attributes
public:
// Operations
public:
int EnergyCntr;
CMbpcDoc* GetDocument();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEnergyValView)
public:
virtual void OnInitialUpdate();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CEnergyValView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CEnergyValView)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnParaset();
afx_msg void OnDestroy();
afx_msg void OnSelchangeId();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
UINT m_nTimerFlag;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ENERGYVALVIEW_H__21EA24F5_2F84_45E4_8952_C7F9C17A0FD7__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -