📄 dotnet界面view.h
字号:
// dotNET界面View.h : interface of the CDotNETView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_DOTNETVIEW_H__A65A2A49_F64B_4267_A69E_5849A765579F__INCLUDED_)
#define AFX_DOTNETVIEW_H__A65A2A49_F64B_4267_A69E_5849A765579F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "ColorEdit.h"
extern CDotNETApp theApp;
class CDotNETView : public CEditView
{
protected: // create from serialization only
CDotNETView();
DECLARE_DYNCREATE(CDotNETView)
// Attributes
public:
CDotNETDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDotNETView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void OnInitialUpdate();
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
CWnd * m_pWnd;
void FilesSave();
void DelectMyEdit();
CString m_Title;
CString m_TitleName;
HTREEITEM ShowItem;
CColorEdit m_wndSourceEdit;
int CreateMyEdit();
virtual ~CDotNETView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
public:
//{{AFX_MSG(CDotNETView)
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnFileSave();
afx_msg void OnUpdateFileSave(CCmdUI* pCmdUI);
afx_msg void OnAddannex();
afx_msg void OnUpdateAddannex(CCmdUI* pCmdUI);
afx_msg void OnShowannex();
afx_msg void OnUpdateShowannex(CCmdUI* pCmdUI);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
bool m_TAttachment;
public:
afx_msg void OnDelannex();
afx_msg void OnUpdateDelannex(CCmdUI *pCmdUI);
afx_msg void OnFilePrint();
afx_msg void OnUpdateFilePrint(CCmdUI *pCmdUI);
};
#ifndef _DEBUG // debug version in dotNET界面View.cpp
inline CDotNETDoc* CDotNETView::GetDocument()
{ return (CDotNETDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DOTNETVIEW_H__A65A2A49_F64B_4267_A69E_5849A765579F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -