dcheck.h

来自「用VC++编写的汽配管理系统,实用简单,程序简单模块化」· C头文件 代码 · 共 76 行

H
76
字号
#if !defined(AFX_DCHECK_H__A6494173_9A96_4FED_8BA1_7D05F5FFB3AA__INCLUDED_)
#define AFX_DCHECK_H__A6494173_9A96_4FED_8BA1_7D05F5FFB3AA__INCLUDED_
#include "RxRecordset.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DCheck.h : header file
//
#include "RxGrid.h"
#include "RxEdit.h"
#include "BaseStatic.h"
/////////////////////////////////////////////////////////////////////////////
// CDCheck dialog

class CDCheck : public CDialog
{
// Construction
public:
	void Enabled(bool bEnabled);
	void Clear();
	CDCheck(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDCheck)
	enum { IDD = IDD_DIA_CHECK };
	CBaseStatic	m_StaOP;
	CBaseStatic	m_StaID;
	CBaseStatic	m_StaDate;
	RxGrid	m_Grid;
	RxEdit	m_EdtStore;
	RxEdit	m_EdtDear;
	CButton	m_ButUndo;
	CButton	m_ButSave;
	CButton	m_ButPrint;
	CButton	m_ButExit;
	CButton	m_ButBookin;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDCheck)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDCheck)
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg void OnInputButbookin();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnInputButexit();
	afx_msg void OnInputButsave();
	afx_msg void OnInputButundo();
	afx_msg void OnInputButprint();
	//}}AFX_MSG
	void OnCellKillFocus();
	void OnCellSetFocus();

	DECLARE_MESSAGE_MAP()
private:
	RxRecordset rst;
};

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

#endif // !defined(AFX_DCHECK_H__A6494173_9A96_4FED_8BA1_7D05F5FFB3AA__INCLUDED_)

⌨️ 快捷键说明

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