📄 inexpview.h
字号:
//{{AFX_INCLUDES()
#include "datacombo.h"
#include "adodc.h"
//}}AFX_INCLUDES
#if !defined(AFX_INEXPVIEW_H__03998F3E_81B6_44A2_BD39_E71149B4BF22__INCLUDED_)
#define AFX_INEXPVIEW_H__03998F3E_81B6_44A2_BD39_E71149B4BF22__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// InExpView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CInExpView form view
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
class CInExpView : public CFormView
{
protected:
CInExpView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CInExpView)
// Form Data
public:
//{{AFX_DATA(CInExpView)
enum { IDD = IDD_IN_EXP_FORM };
CListCtrl m_listInfo;
int m_nTypeSelected;
CDataCombo m_datacomboType;
COleDateTime m_dtInfo;
CString m_strDescrip;
double m_dbMoney;
CAdodc m_adoCtrl;
//}}AFX_DATA
// Attributes
public:
//初始化列表框控件.
void InitControl();
//从数据库获取收支信息并更新到控件中
void InitCtrlData();
//向列表框控件中插入数据
void InsertCtrlItem(CString item0,CString item1,CString item2,
CString item3,CString item4,CString item5);
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CInExpView)
public:
virtual void OnInitialUpdate();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnDraw(CDC* pDC);
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CInExpView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CInExpView)
afx_msg void OnRadio1();
afx_msg void OnRadio2();
afx_msg void OnBtnAdd();
afx_msg void OnBtnDel();
afx_msg void OnBtnRefresh();
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_INEXPVIEW_H__03998F3E_81B6_44A2_BD39_E71149B4BF22__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -