📄 dinput.h
字号:
#if !defined(AFX_DINPUT_H__09DDCF31_54DC_4221_BC3B_0C0AB41DDDD1__INCLUDED_)
#define AFX_DINPUT_H__09DDCF31_54DC_4221_BC3B_0C0AB41DDDD1__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "BaseStatic.h"
#include "RxEdit.h"
#include "RxGrid.h"
#include "BaseEdit.h"
/////////////////////////////////////////////////////////////////////////////
// CDInput dialog
#include "BaseButton.h"
class CDInput : public CDialog
{
// Construction
public:
CString m_Caption;
void Clear();
void Enabled(bool bEnabled);
RxRecordset rst;
CDInput(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDInput)
enum { IDD = IDD_DIA_INPUT };
CStatic m_StaSfje;
CStatic m_StaWfje;
CStatic m_staBlock;
RxEdit m_EdtStore;
CStatic m_StaSumNumber;
CStatic m_StaSumMoney;
CStatic m_StaBigSumMoney;
CBaseEdit m_EdtPay;
CBaseEdit m_EdtNoPay;
CBaseEdit m_EdtGiveChange;
CBaseStatic m_StaID;
CBaseStatic m_StaDate;
CBaseButton m_ButBookIn;
CBaseButton m_ButUndo;
CBaseButton m_ButSave;
CBaseButton m_ButPrint;
CBaseButton m_ButExit;
CStatic m_StaOP;
RxGrid m_Grid;
RxEdit m_EdtProvide;
RxEdit m_EdtDear;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDInput)
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(CDInput)
virtual void OnOK();
afx_msg void OnPaint();
virtual BOOL OnInitDialog();
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 OnChangeInputEdtpay();
afx_msg void OnInputButundo();
afx_msg void OnInputButprint();
afx_msg void OnKillfocusInputEdtdear();
//}}AFX_MSG
void OnCellKillFocus();
void OnCellSetFocus();
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DINPUT_H__09DDCF31_54DC_4221_BC3B_0C0AB41DDDD1__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -