📄 qfdview.h
字号:
// QFDView.h : interface of the CQFDView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_QFDVIEW_H__589E4C8D_5D99_4725_8090_D0A0C9BC254F__INCLUDED_)
#define AFX_QFDVIEW_H__589E4C8D_5D99_4725_8090_D0A0C9BC254F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CQFDView : public CView
{
protected: // create from serialization only
CQFDView();
DECLARE_DYNCREATE(CQFDView)
// Attributes
public:
CQFDDoc* GetDocument();
void FillRect0(CDC* pDC,COLORREF col,CPoint point,int chd,int kd);
void Line0(CDC* pDC,int x1,int y1,int x2,int y2,int siw,COLORREF col);
void drawinfo(CDC* pDC);
void drawinfo2(CDC* pDC);
void drawinfo3(CDC* pDC);
void drawinfo4(CDC* pDC);
// Operations
public:
//声明ADO记录集
_RecordsetPtr m_pRecordset;
int zhongyaodu2[20];
int zhongyaodu3[20];
int zhongyaodu4[20];
int print;
int offsety;
int offsetx;
public:
BOOL OpenRecordSet(_RecordsetPtr &recPtr, CString &strSQL);
CString VariantToCString(const _variant_t &var);
void textout(CDC* pDC,int x,int y,int xd,int yd,CString str,COLORREF col);
void textout2(CDC* pDC,int x,int y,int xd,int yd,CString str,COLORREF col);
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CQFDView)
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:
int yq;
int choose;
float HI;
virtual ~CQFDView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CQFDView)
afx_msg void OnBijiaoduixiang();
afx_msg void OnGongchencuoshi();
afx_msg void OnGukexuqiu();
afx_msg void OnXuqiuvsgongcheng();
afx_msg void OnDisplay();
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnReport();
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnGongchengvsbijiaoduixiang();
afx_msg void OnXuqiuvsbiaojiaoduixiang();
afx_msg void OnGongchengguanxi();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnGongchengvsbijiaoduixiang2();
afx_msg void OnGongchencuoshi2();
afx_msg void OnGongchengguanxi2();
afx_msg void OnReport2();
afx_msg void OnXuqiuvsgongcheng2();
afx_msg void OnXuqiuvsbiaojiaoduixiang2();
afx_msg void OnGongchencuoshi3();
afx_msg void OnGongchencuoshi4();
afx_msg void OnGongchengguanxi3();
afx_msg void OnGongchengguanxi4();
afx_msg void OnGongchengvsbijiaoduixiang3();
afx_msg void OnGongchengvsbijiaoduixiang4();
afx_msg void OnReport3();
afx_msg void OnReport4();
afx_msg void OnXuqiuvsbiaojiaoduixiang3();
afx_msg void OnXuqiuvsbiaojiaoduixiang4();
afx_msg void OnXuqiuvsgongcheng3();
afx_msg void OnXuqiuvsgongcheng4();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in QFDView.cpp
inline CQFDDoc* CQFDView::GetDocument()
{ return (CQFDDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_QFDVIEW_H__589E4C8D_5D99_4725_8090_D0A0C9BC254F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -