📄 bussettingview.h
字号:
#if !defined(AFX_BUSSETTINGVIEW_H__C4258BC1_5C27_48A5_B519_388D542F25CC__INCLUDED_)
#define AFX_BUSSETTINGVIEW_H__C4258BC1_5C27_48A5_B519_388D542F25CC__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BussettingView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CBussettingView record view
#include "Busset.h"
class CBussettingView : public CRecordView
{
protected:
CBussettingView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CBussettingView)
// Form Data
public:
//{{AFX_DATA(CBussettingView)
enum { IDD = IDD_BUSSETVIEW };
CComboBox m_seattype;
CComboBox m_routeid;
CComboBox m_driver;
CComboBox m_company;
CComboBox m_bustype;
CListCtrl m_list;
CBusset* m_pSet;
CString m_busno;
int m_seattotal;
//}}AFX_DATA
// Attributes
public:
// Operations
public:
CBusset* GetRecordset();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBussettingView)
// 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 ~CBussettingView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CBussettingView)
afx_msg void OnAdd();
afx_msg void OnChange();
afx_msg void OnDelete();
afx_msg void OnSave();
afx_msg void OnReturn();
afx_msg void OnRefurbish();
afx_msg void OnClickList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnCloseupBustype();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void Showlist();
void Getvalue();
int operation;
int curiItem;
void EnableView(bool b);
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BUSSETTINGVIEW_H__C4258BC1_5C27_48A5_B519_388D542F25CC__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -