pricesettingview.h

来自「汽车站售票管理系统,源代码完整无错」· C头文件 代码 · 共 83 行

H
83
字号
#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 + =
减小字号Ctrl + -
显示快捷键?