📄 operatorview.h
字号:
#if !defined(AFX_OPERATORVIEW_H__706D23C2_3DC6_497E_A8AB_3258CD2FC061__INCLUDED_)
#define AFX_OPERATORVIEW_H__706D23C2_3DC6_497E_A8AB_3258CD2FC061__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// OperatorView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// COperatorView form view
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
#include "ADO.h" // Added by ClassView
class COperatorView : public CFormView
{
protected:
COperatorView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(COperatorView)
// Form Data
public:
//{{AFX_DATA(COperatorView)
enum { IDD = IDD_OPERATORSTU };
CComboBox m_CStuID;
CComboBox m_CName;
CListCtrl m_listContent;
CString m_eCourseName;
CString m_CStudentID;
CString m_eCode;
//}}AFX_DATA
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(COperatorView)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~COperatorView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(COperatorView)
afx_msg void OnDestroy();
afx_msg void OnPaint();
afx_msg void OnAdd();
afx_msg void OnModify();
afx_msg void OnRefresh();
afx_msg void OnDelete();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
_RecordsetPtr m_pResult;
CADO m_pConn;
BOOL m_bExist;
BOOL m_bFirstTime;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_OPERATORVIEW_H__706D23C2_3DC6_497E_A8AB_3258CD2FC061__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -