dware.h

来自「商品销售管理系统:随着信息技术的快速进步」· C头文件 代码 · 共 82 行

H
82
字号
#if !defined(AFX_DWARE_H__9A622AF4_6952_41EB_B628_A25F01EAA530__INCLUDED_)
#define AFX_DWARE_H__9A622AF4_6952_41EB_B628_A25F01EAA530__INCLUDED_

#include "RxRecordset.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DWare.h : header file
//
#include "BaseEdit.h"
#include "BaseDateTimeCtrl.h"
/////////////////////////////////////////////////////////////////////////////
// CDWare dialog

class CDWare : public CDialog
{
// Construction
public:
	void SetID(CString sID);
	void Clear();
	void Enabled(bool bEnabled);
	void Display(CString sField,CString sValue);
	CDWare(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDWare)
	enum { IDD = IDD_DIAWARE };
	CBaseEdit	m_EdtSellPrice;
	CButton	m_ButUndo;
	CButton	m_ButSave;
	CButton	m_ButExit;
	CBaseEdit	m_EdtUnit;
	CBaseEdit	m_EdtSpec;
	CBaseEdit	m_EdtSName;
	CBaseEdit	m_EdtPrice;
	CBaseEdit	m_EdtName;
	CBaseEdit	m_EdtID;
	CBaseEdit	m_EdtArer;
	CBaseDateTimeCtrl	m_DtpOutDate;
	CBaseDateTimeCtrl	m_DtpKeepDate;
	CButton	m_ButDelete;
	CButton	m_ButChange;
	CButton	m_ButAdd;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDWare)
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	afx_msg void OnWareButadd();
	afx_msg void OnWareButchange();
	afx_msg void OnWareButdele();
	afx_msg void OnWareButsave();
	afx_msg void OnWareButexit();
	afx_msg void OnWareButundo();
	afx_msg void OnChangeWareEdtname();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CString m_sID;
	RxRecordset Warerst;
	int AddOrChange;
};

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

#endif // !defined(AFX_DWARE_H__9A622AF4_6952_41EB_B628_A25F01EAA530__INCLUDED_)

⌨️ 快捷键说明

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