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

📄 rulerview.h

📁 电子尺源程序说明 本程序使用ADO访问Access2000的数据库。
💻 H
字号:
// RulerView.h : interface of the CRulerView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_RULERVIEW_H__F71FD0F1_D342_490D_BFF5_BFC6CBEF3483__INCLUDED_)
#define AFX_RULERVIEW_H__F71FD0F1_D342_490D_BFF5_BFC6CBEF3483__INCLUDED_

#include "Target.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CRulerView : public CFormView
{
protected: // create from serialization only
	CRulerView();
	DECLARE_DYNCREATE(CRulerView)

public:
	//{{AFX_DATA(CRulerView)
	enum { IDD = IDD_NEWRULER_FORM };
	CString	m_cm;
	CString	m_EndX;
	CString	m_EndY;
	CString	m_Inch;
	CString	m_mm;
	CString	m_Pixel;
	CString	m_StartX;
	CString	m_StartY;
	CString	m_AreaCir_Inch;
	CString	m_AreaCir_MM;
	CString	m_AreaCir_Pixel;
	CString	m_AreaRect_Inch;
	CString	m_AreaRect_MM;
	CString	m_AreaRect_Pixel;
	//}}AFX_DATA

// Attributes
public:
	CRulerDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRulerView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate(); // called first time after construct
	//}}AFX_VIRTUAL

// Implementation
public:
	CTarget target;
	virtual ~CRulerView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CRulerView)
	afx_msg void OnMenuStart();
	afx_msg LRESULT OnEndClick(WPARAM wParam, LPARAM lParam);
	afx_msg LRESULT OnCancelClick(WPARAM wParam, LPARAM lParam);
	afx_msg void OnFileSave();
	afx_msg void OnFileSaveAs();
	afx_msg void OnFileOpen();
	afx_msg void OnFileNew();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	int m_ID;
	_RecordsetPtr m_pRs;
	BOOL IsNew;
	_ConnectionPtr m_pConnection;
};

#ifndef _DEBUG  // debug version in RulerView.cpp
inline CRulerDoc* CRulerView::GetDocument()
   { return (CRulerDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_RULERVIEW_H__F71FD0F1_D342_490D_BFF5_BFC6CBEF3483__INCLUDED_)

⌨️ 快捷键说明

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