📄 dware.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -