⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xiahuaview.h

📁 彩电故障维修信息管理系统
💻 H
字号:
// xiahuaView.h : interface of the CXiahuaView class
//
/////////////////////////////////////////////////////////////////////////////
#include "dataset.h"
#include "loginset.h"
#if !defined(AFX_XIAHUAVIEW_H__1C61EE75_FA0D_4C3B_82C9_78504D3BC737__INCLUDED_)
#define AFX_XIAHUAVIEW_H__1C61EE75_FA0D_4C3B_82C9_78504D3BC737__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "InfoDlg.h"
#include "RecordSearch.h"
#include "RecordEdit.h"
#include "Record.h"

class CXiahuaView : public CListView
{
protected: // create from serialization only
	CXiahuaView();
	DECLARE_DYNCREATE(CXiahuaView)

// Attributes
public:
	CXiahuaDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CXiahuaView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void OnInitialUpdate(); // called first time after construct
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	int memberright();
	int adiministrator();
	CDaoDatabase pDatabase;
	CDaoDatabase* m_pDatabase;
	void Sort(BOOL isAsc=TRUE);
	void ShowTableData();
	
	
	virtual ~CXiahuaView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	afx_msg void OnContextMenu(CWnd*, CPoint point);
	
	//{{AFX_MSG(CXiahuaView)
	afx_msg void OnColumnclick(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnRecordAdd();
	afx_msg void OnRecordDel();
	afx_msg void OnUpdateRecordDel(CCmdUI* pCmdUI);
	afx_msg void OnRecordSearch();
	afx_msg void OnRecordShowAll();
	afx_msg void OnRecordEdit();
	afx_msg void OnDblclk(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnPasswardEdit();
	afx_msg void OnRecordView();
	afx_msg void OnUserAdd();
	afx_msg void OnUserDel();
	afx_msg void OnUpdateRecordEdit(CCmdUI* pCmdUI);
	afx_msg void OnUpdateRecordView(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CLoginSet* m_pLset;
	void PrintPageFooter(CDC *pDC);
	void PrintPageHeader(CDC *pDc,CPrintInfo *pInfo);
	BOOL m_bIsShowAll;
	CDataSet* m_pSet;
	BOOL m_bIsAsc;
};

#ifndef _DEBUG  // debug version in xiahuaView.cpp
inline CXiahuaDoc* CXiahuaView::GetDocument()
   { return (CXiahuaDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_XIAHUAVIEW_H__1C61EE75_FA0D_4C3B_82C9_78504D3BC737__INCLUDED_)

⌨️ 快捷键说明

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