lxyview.h

来自「(1)学生信息的输入」· C头文件 代码 · 共 106 行

H
106
字号
// LXYView.h : interface of the CLXYView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_LXYVIEW_H__82EB3822_9C76_417F_BAD4_974C2E2A664D__INCLUDED_)
#define AFX_LXYVIEW_H__82EB3822_9C76_417F_BAD4_974C2E2A664D__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "SCSet.h"
#include "StudentSet.h"
class CLXYView : public CFormView
{
protected: // create from serialization only
	CLXYView();
	DECLARE_DYNCREATE(CLXYView)

public:
	//{{AFX_DATA(CLXYView)
	enum { IDD = IDD_LXY_FORM };
	CButton	m_next;
	CButton	m_prev;
	CButton	m_radio;
	CButton	m_check;
	CString	m_sno;
	CString	m_sname;
	int		m_sage;
	CString	m_ssex;
	CString	m_semail;
	CString	m_sdept;
	CString	m_text;
	//}}AFX_DATA

// Attributes
public:
	CLXYDoc* GetDocument();

// Operations
public:
   CDatabase *pdb;
	StudentSet *m_pSet;	
	SCSet *m_pSet1;
	CString sqlstr;
	void Show();

	_bstr_t strform;
	HBITMAP m_bitmap;
	_ConnectionPtr m_ctp;
	void ShowPic();
  void EjzPic();
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CLXYView)
	public:
	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 OnPrint(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CLXYView)
	afx_msg void Onadd();
	afx_msg void Ondel();
	afx_msg void Onnext();
	afx_msg void Onpre();
	afx_msg void Onfind();
	afx_msg void Onsort();
	afx_msg void OnButton3();
	afx_msg void Onguanli();
	afx_msg void Onloadout();
	afx_msg void OnGogout();
	afx_msg void Onpicture();
	afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in LXYView.cpp
inline CLXYDoc* CLXYView::GetDocument()
   { return (CLXYDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_LXYVIEW_H__82EB3822_9C76_417F_BAD4_974C2E2A664D__INCLUDED_)

⌨️ 快捷键说明

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