📄 dispatchview.h
字号:
#if !defined(AFX_DISPATCHVIEW_H__99494C3E_115C_442E_83F4_2436F69A14D0__INCLUDED_)
#define AFX_DISPATCHVIEW_H__99494C3E_115C_442E_83F4_2436F69A14D0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DispatchView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDispatchView record view
#include "DayPlanSet.h"
class CDispatchView : public CRecordView
{
protected:
CDispatchView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CDispatchView)
// Form Data
public:
//{{AFX_DATA(CDispatchView)
enum { IDD = IDD_DISPATCHVIEW };
CListCtrl m_dayplanList;
CDayPlanSet* m_pSet;
int m_route_id;
CString m_end;
CString m_fcdate1;
CString m_fctime;
float m_price;
CString m_route;
CString m_seattype;
int m_left_seat;
//}}AFX_DATA
// Attributes
public:
// Operations
public:
int OnButtonAdd;
int OnButtonModify;
int CurrentItem;
void RefreshData();
void showList(CRecordset* m_pSet,CListCtrl &m_list);
CDayPlanSet* GetRecordset();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDispatchView)
// 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 ~CDispatchView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CDispatchView)
afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnBUTTONplan();
afx_msg void OnBadd();
afx_msg void OnBdelete();
afx_msg void OnBmodify();
afx_msg void OnBsave();
afx_msg void OnBreturn();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DISPATCHVIEW_H__99494C3E_115C_442E_83F4_2436F69A14D0__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -