⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 finiteelementview.h

📁 自编的有限元方法解决弹性力学平面问题的软件。有图形显示
💻 H
字号:
// FiniteElementView.h : interface of the CFiniteElementView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_FINITEELEMENTVIEW_H__CF3EAE4E_9305_489F_973E_DEAD0B100DCE__INCLUDED_)
#define AFX_FINITEELEMENTVIEW_H__CF3EAE4E_9305_489F_973E_DEAD0B100DCE__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CFiniteElementView : public CScrollView
{
protected: // create from serialization only
	CFiniteElementView();
	DECLARE_DYNCREATE(CFiniteElementView)

// Attributes
public:
	CFiniteElementDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFiniteElementView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnPrepareDC(CDC* pDC, CPrintInfo* pInfo = NULL);
	protected:
	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);
	//}}AFX_VIRTUAL

// Implementation
public:
	int m_pagebase;
	int m_linebase;
	void DisplayFirst(CDC* pDC);
	int m_page;			//每行滚动的点数
	int m_line;			//每页滚动的点数
	CFont m_title_font;	//标题字体
	CFont m_content_font;	//内容字体
	void DisplayAnalysisData(CDC *pDC, CFiniteElementDoc *pDoc);
	void DisplayStructureGraph(CDC *pDC, CFiniteElementDoc *pDoc);
	void DisplayInputData(CDC* pDC,CFiniteElementDoc* pDoc);
	int m_tagView;
	virtual ~CFiniteElementView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CFiniteElementView)
	afx_msg void OnViewInputdata();
	afx_msg void OnUpdateViewInputdata(CCmdUI* pCmdUI);
	afx_msg void OnViewGraph();
	afx_msg void OnUpdateViewGraph(CCmdUI* pCmdUI);
	afx_msg void OnViewAnalysis();
	afx_msg void OnUpdateViewAnalysis(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in FiniteElementView.cpp
inline CFiniteElementDoc* CFiniteElementView::GetDocument()
   { return (CFiniteElementDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_FINITEELEMENTVIEW_H__CF3EAE4E_9305_489F_973E_DEAD0B100DCE__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -