📄 pricesettingview.h
字号:
#if !defined(AFX_PRICESETTINGVIEW_H__28869B97_E46B_4598_84C9_C799392F3507__INCLUDED_)
#define AFX_PRICESETTINGVIEW_H__28869B97_E46B_4598_84C9_C799392F3507__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PricesettingView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CPricesettingView record view
#include "StationSet.h"
class CPricesettingView : public CRecordView
{
protected:
CPricesettingView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CPricesettingView)
// Form Data
public:
//{{AFX_DATA(CPricesettingView)
enum { IDD = IDD_PRICESETVIEW };
CListCtrl m_list;
CStationSet* m_pSet;
double m_addpercent;
double m_price;
double m_reducepercent;
//}}AFX_DATA
// Attributes
public:
// Operations
public:
CStationSet* GetRecordset();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPricesettingView)
// NOTE - the ClassWizard will add and remove member functions here.
public:
virtual CRecordset* OnGetRecordset();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate();
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CPricesettingView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CPricesettingView)
afx_msg void OnAddbypercent();
afx_msg void OnClickList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnReturn();
afx_msg void OnReducebypercent();
afx_msg void OnSet();
afx_msg void OnSave();
afx_msg void OnRefurbish();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int curiItem;
int operation;
void EnableView(bool b);
void Showlist();
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PRICESETTINGVIEW_H__28869B97_E46B_4598_84C9_C799392F3507__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -