sjsysview.h

来自「本程序使用Visual C++6.0编写」· C头文件 代码 · 共 76 行

H
76
字号
// SjsysView.h : interface of the CSjsysView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_SJSYSVIEW_H__48F587DF_C5D8_4F12_983A_01CB8F2BEE94__INCLUDED_)
#define AFX_SJSYSVIEW_H__48F587DF_C5D8_4F12_983A_01CB8F2BEE94__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CSjsysCntrItem;
class CSjsysDoc;
class CSjsysView : public CRichEditView
{
protected: // create from serialization only
	CSjsysView();
	DECLARE_DYNCREATE(CSjsysView)

// Attributes
public:
	CSjsysDoc* GetDocument();

// Operations
public:
	_RecordsetPtr pDetailRecordset;
	_RecordsetPtr pFlowRecordset;
	int CurrentDeviceID;	//当前选中设备ID
	int CurrentDetailID;    //当前最后一条上网记录对应的ID号

	void UpdateDetail();	//更新细节记录
	void UpdateFlow();	//更新流量
	CString	m_flow;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSjsysView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void OnInitialUpdate(); // called first time after construct
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CSjsysView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CSjsysView)
	afx_msg void OnDestroy();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in SjsysView.cpp
inline CSjsysDoc* CSjsysView::GetDocument()
   { return (CSjsysDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SJSYSVIEW_H__48F587DF_C5D8_4F12_983A_01CB8F2BEE94__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?