📄 finiteelecdoc.h
字号:
// FiniteElecDoc.h : interface of the CFiniteElecDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_FINITEELECDOC_H__8E125483_E00C_4ADC_9DCC_FA01D8BFAF0D__INCLUDED_)
#define AFX_FINITEELECDOC_H__8E125483_E00C_4ADC_9DCC_FA01D8BFAF0D__INCLUDED_
#include "Example.h" // Added by ClassView
#include "Structure.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CFiniteElecDoc : public CDocument
{
protected: // create from serialization only
CFiniteElecDoc();
DECLARE_DYNCREATE(CFiniteElecDoc)
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFiniteElecDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
//}}AFX_VIRTUAL
// Implementation
public:
int m_savetype; //模型类型 1-例子一,2-例子二 ,100-自定义模型
CString m_strOutputFileName;//数据体文件名=全路径名
CString m_strInputFileName; //分析结果文件名
boolean m_isLoaded; //文件是是否成功加载true成功false失败
CStructure m_structure; //结构模型对象,唯一当前工作实体对象
virtual ~CFiniteElecDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
public://我已经更改了。protected;
int m_modeltype;
//{{AFX_MSG(CFiniteElecDoc)
afx_msg void OnModalOne(); //生成第一个例子模型
afx_msg void OnModalTwo(); //生成第二个例子模型
afx_msg void OnFileSave();
afx_msg void OnModalSetmesh();
afx_msg void OnModalUser();
afx_msg void OnFileOpen();
afx_msg void OnModelSolve();
afx_msg void OnFileSavemodel();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FINITEELECDOC_H__8E125483_E00C_4ADC_9DCC_FA01D8BFAF0D__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -