📄 chargeitem.h
字号:
//{{AFX_INCLUDES()
#include "datagrid.h"
//}}AFX_INCLUDES
#if !defined(AFX_CHARGEITEM_H__D5AA761A_18F7_482A_A008_C070837DF983__INCLUDED_)
#define AFX_CHARGEITEM_H__D5AA761A_18F7_482A_A008_C070837DF983__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ChargeItem.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CChargeItem dialog
class CChargeItem : public CDialog
{
// Construction
public:
CChargeItem(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CChargeItem)
enum { IDD = IDD_CHARGEITEM };
CEdit m_ctrlchgtatol;
CEdit m_ctrlchgfile;
CEdit m_ctrlchgdorm;
CEdit m_ctrlchgbook;
CEdit m_ctrlchgyear;
CEdit m_ctrlchgtuition;
CEdit m_ctrlchgspe;
CEdit m_ctrlchgmac;
CEdit m_ctrlchgincid;
CEdit m_ctrlchginsur;
CEdit m_ctrlchgitem;
CString m_chgitem;
CString m_chgspe;
CString m_chgyear;
CDataGrid m_chggrid;
float m_chgbook;
float m_chgdorm;
float m_chgfile;
float m_chgincid;
float m_chginsur;
float m_chgmactime;
float m_chgtatol;
float m_chgtuition;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CChargeItem)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CChargeItem)
afx_msg void OnChgiteminsert();
afx_msg void OnChgitemenquire();
afx_msg void OnChgitemdele();
afx_msg void OnChgitemsubmit();
afx_msg void OnChgitemnew();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
void RefreshInfo(); //用于刷新显示的信息
// bool isRepeated(CString str1,CString str2); //要插入的元组已经存在
// bool notExist(CString str1,CString str2); //不存在要删除的元组
bool notExist(CString str1); //不存在要删除的元组
bool insertItem; //判断是否是插入信息(true为是)
bool deleteItem;
bool queryItem;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CHARGEITEM_H__D5AA761A_18F7_482A_A008_C070837DF983__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -