tsqsyview.h

来自「一个水轮机调速的控制程序」· C头文件 代码 · 共 78 行

H
78
字号
#if !defined(AFX_TSQSYVIEW_H__86987FA2_E486_11D6_B840_AAE76EFB5E14__INCLUDED_)
#define AFX_TSQSYVIEW_H__86987FA2_E486_11D6_B840_AAE76EFB5E14__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TsqSyView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CTsqSyView form view
#include "TsqDoc.h"
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
#include "CzButton.h"
#include "LineChartItem.h"
class CTsqSyView : public CFormView
{
protected:
	          // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CTsqSyView)

// Form Data
public:
	CTsqSyView(); 
	CCzButton m_ZcdBt;
	CLineChartCtrl m_wndLineChart;
	//{{AFX_DATA(CTsqSyView)
	enum { IDD = IDD_TSQ_SY };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

// Attributes
public:
	CTsqDoc* GetDocument();
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTsqSyView)
	public:
	virtual void OnInitialUpdate();
	virtual BOOL DestroyWindow();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnDraw(CDC* pDC);
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CTsqSyView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CTsqSyView)
	afx_msg void OnBtZcd();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG  // debug version in TsqView.cpp
inline CTsqDoc* CTsqView::GetDocument()
   { return (CTsqDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_TSQSYVIEW_H__86987FA2_E486_11D6_B840_AAE76EFB5E14__INCLUDED_)

⌨️ 快捷键说明

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