📄 bitreeshow001view.h
字号:
// BiTreeShow001View.h : interface of the CBiTreeShow001View class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_BITREESHOW001VIEW_H__04A46CFD_49C1_4F94_9948_78D6F4AEEA93__INCLUDED_)
#define AFX_BITREESHOW001VIEW_H__04A46CFD_49C1_4F94_9948_78D6F4AEEA93__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "BiTree.hpp"
class CBiTreeShow001View : public CFormView
{
protected: // create from serialization only
CBiTreeShow001View();
DECLARE_DYNCREATE(CBiTreeShow001View)
public:
//{{AFX_DATA(CBiTreeShow001View)
enum { IDD = IDD_BITREESHOW001_FORM };
int m_LInsertData;
int m_RInsertData;
int m_Root;
int m_MaxLayer;
//}}AFX_DATA
// Attributes
public:
CBiTree<int> tmpBitTree;
public:
CBiTreeShow001Doc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBiTreeShow001View)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
virtual void OnDraw(CDC* pDC);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CBiTreeShow001View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CBiTreeShow001View)
afx_msg void OnButtonUp();
afx_msg void OnButtonMovelef();
afx_msg void OnButtonMoveright();
afx_msg void OnButtonReset();
afx_msg void OnButtonInsertl();
afx_msg void OnButtonInsertr();
afx_msg void OnButtonCreateroot();
afx_msg void OnButtonSetmaxlayer();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in BiTreeShow001View.cpp
inline CBiTreeShow001Doc* CBiTreeShow001View::GetDocument()
{ return (CBiTreeShow001Doc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BITREESHOW001VIEW_H__04A46CFD_49C1_4F94_9948_78D6F4AEEA93__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -