📄 pingjiaview.h
字号:
#if !defined(AFX_PINGJIAVIEW_H__61ABDF62_9CB6_4AA9_A65D_F237EC8090CE__INCLUDED_)
#define AFX_PINGJIAVIEW_H__61ABDF62_9CB6_4AA9_A65D_F237EC8090CE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PingjiaView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CPingjiaView form view
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
#include "control\adodc.h"
#include "control\datagrid.h"
#include "Class\ControlPos.h"
class CPingjiaView : public CFormView
{
protected:
CPingjiaView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CPingjiaView)
// Form Data
public:
//{{AFX_DATA(CPingjiaView)
enum { IDD = IDD_PINGJIA_VIEW };
CComboBox m_year;
CComboBox m_month;
CAdodc m_adodc;
CDataGrid m_datagrid;
CString m_BumenName;
//}}AFX_DATA
int iBumenID; //用于保存当前选择的部门编号
CControlPos m_cp;
public:
// Operations
public:
void Refresh_Data();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPingjiaView)
public:
virtual void OnInitialUpdate();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CPingjiaView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CPingjiaView)
afx_msg void OnSetButton();
afx_msg void OnSetBumenButton();
afx_msg void OnSelchangeYearCombo();
afx_msg void OnSelchangeMonthCombo();
afx_msg void OnDestroy();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnButtonXml();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PINGJIAVIEW_H__61ABDF62_9CB6_4AA9_A65D_F237EC8090CE__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -