📄 stucharge.h
字号:
//{{AFX_INCLUDES()
#include "datagrid.h"
//}}AFX_INCLUDES
#if !defined(AFX_STUCHARGE_H__4C954F5D_B199_4E41_9D6A_0EB9804710D2__INCLUDED_)
#define AFX_STUCHARGE_H__4C954F5D_B199_4E41_9D6A_0EB9804710D2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// StuCharge.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CStuCharge dialog
class CStuCharge : public CDialog
{
// Construction
public:
CStuCharge(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CStuCharge)
enum { IDD = IDD_STUCHARGE };
CEdit m_ctrlstuchgperson;
CEdit m_ctrlstuchgitem;
CEdit m_ctrlstuchgid;
CEdit m_ctrlstuchgdemo;
CEdit m_ctrlstuchgdate;
CEdit m_ctrlstuchgcode;
CEdit m_ctrlstuchgtuition;
CEdit m_ctrlstuchgtatol;
CEdit m_ctrlstuchgmac;
CEdit m_ctrlstuchginsur;
CEdit m_ctrlstuchgincid;
CEdit m_ctrlstuchgfile;
CEdit m_ctrlstuchgdorm;
CEdit m_ctrlstuchgbook;
float m_stuchgbook;
float m_stuchgdorm;
float m_stuchgfile;
float m_stuchgincid;
float m_stuchginsur;
float m_stuchgmac;
float m_stuchgtatol;
float m_stuchgtuition;
CString m_stuchgcode;
CString m_stuchgdate;
CString m_stuchgdemo;
CString m_stuchgid;
CString m_stuchgitem;
CString m_stuchgperson;
CDataGrid m_stuchggrid;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CStuCharge)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CStuCharge)
virtual BOOL OnInitDialog();
afx_msg void OnStuchgiteminsert();
afx_msg void OnStuchgitemselect();
afx_msg void OnStuchgitemdele();
afx_msg void OnStuchgitemsubmit();
afx_msg void OnStuchgitemnew();
afx_msg void OnStuchgmodify();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
void RefreshInfo(); //用于刷新显示的信息
// bool isRepeated(CString str1,CString str2); //要插入的元组已经存在
// bool notExist(CString str1,CString str2); //不存在要删除的元组
bool notExist(CString str); //不存在要删除的元组
bool insertItem; //判断是否是插入信息(true为是)
bool deleteItem;
bool modifyItem;
bool queryItem;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STUCHARGE_H__4C954F5D_B199_4E41_9D6A_0EB9804710D2__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -