📄 cehuangyiview.h
字号:
// cehuangyiView.h : interface of the CCehuangyiView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_CEHUANGYIVIEW_H__EA3BAC4C_5386_11D5_8567_ED8BCAA1F540__INCLUDED_)
#define AFX_CEHUANGYIVIEW_H__EA3BAC4C_5386_11D5_8567_ED8BCAA1F540__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Test.h"
class CCehuangyiSet;
class CCehuangyiView : public CRecordView
{
protected: // create from serialization only
CCehuangyiView();
DECLARE_DYNCREATE(CCehuangyiView)
public:
//{{AFX_DATA(CCehuangyiView)
enum { IDD = IDD_CEHUANGYI_FORM };
CCehuangyiSet* m_pSet;
CTest* m_survey;
CString m_name;
CString m_wenti;
CString m_wentiid;
int m_nanswer;
//}}AFX_DATA
// Attributes
public:
CCehuangyiDoc* GetDocument();
HANDLE hcom;
CPoint p[100][4];
CPoint lin[4];
CPoint lxt[4];
CPoint lhx[4];
CPoint x[100][4];
CPoint h[100][4];
unsigned int pz;
unsigned int xt;
unsigned int hx;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCehuangyiView)
public:
virtual CRecordset* OnGetRecordset();
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 OnDraw(CDC* pDC);
//}}AFX_VIRTUAL
// Implementation
public:
CPoint pt[160];
CPoint ph[160];
CPoint ppx[160];
int py[160];
int px[160];
int pyh[160];
int pyx[160];
int number;
BOOL bfirst;
void draw();
virtual ~CCehuangyiView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CCehuangyiView)
afx_msg void OnStart();
afx_msg void OnStop();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnPeople();
afx_msg void OnQuestion();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in cehuangyiView.cpp
inline CCehuangyiDoc* CCehuangyiView::GetDocument()
{ return (CCehuangyiDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CEHUANGYIVIEW_H__EA3BAC4C_5386_11D5_8567_ED8BCAA1F540__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -