📄 yuangongview.h
字号:
//{{AFX_INCLUDES()
#include "control\adodc.h"
#include "Control\datagrid.h"
//}}AFX_INCLUDES
#if !defined(AFX_YUANGONGVIEW_H__4546F79B_B91B_47F3_9735_0987A3EDCFED__INCLUDED_)
#define AFX_YUANGONGVIEW_H__4546F79B_B91B_47F3_9735_0987A3EDCFED__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// YuangongView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CYuangongView form view
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
#include "Class\Bumen.h"
#include "Class\ControlPos.h"
class CYuangongView : public CFormView
{
protected:
CYuangongView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CYuangongView)
// Form Data
public:
//{{AFX_DATA(CYuangongView)
enum { IDD = IDD_YUANGONG_VIEW };
CTreeCtrl m_tree;
CComboBox m_combo;
CAdodc m_Adodc;
CDataGrid m_datagrid;
//}}AFX_DATA
// Attributes
public:
HTREEITEM m_hRoot; //保存Tree控件的根节点
CBumen m_Bumen; //CBumen对象
CImageList m_imageList; //定义图像列表
CControlPos m_cp;
public:
void Refresh_Data();
void AddtoTree(HTREEITEM m_hNode, int UpperID);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CYuangongView)
public:
virtual void OnInitialUpdate();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CYuangongView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CYuangongView)
afx_msg void OnDestroy();
afx_msg void OnSelchangeTypeCombo();
afx_msg void OnAddButton();
afx_msg void OnModiButton();
afx_msg void OnDelButton();
afx_msg void OnTransferButton();
afx_msg void OnFamilyButton();
afx_msg void OnExpButton();
afx_msg void OnSelchangedTree1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnButtonXml();
afx_msg void OnRefreshButton();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_YUANGONGVIEW_H__4546F79B_B91B_47F3_9735_0987A3EDCFED__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -