📄 sendstudentview.h
字号:
// SendStudentView.h : interface of the CSendStudentView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_SENDSTUDENTVIEW_H__920C149F_760C_4AAB_B7F8_BDF63902E1FF__INCLUDED_)
#define AFX_SENDSTUDENTVIEW_H__920C149F_760C_4AAB_B7F8_BDF63902E1FF__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CSendStudentSet;
class CSendStudentView : public CRecordView
{
protected: // create from serialization only
CSendStudentView();
DECLARE_DYNCREATE(CSendStudentView)
public:
//{{AFX_DATA(CSendStudentView)
enum { IDD = IDD_SENDSTUDENT_FORM };
CSendStudentSet* m_pSet;
long m_nID;
CString m_strName;
CString m_strPhone;
//}}AFX_DATA
// Attributes
public:
CSendStudentDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSendStudentView)
public:
virtual CRecordset* OnGetRecordset();
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual BOOL OnMove(UINT nIDMoveCommand);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
//}}AFX_VIRTUAL
// Implementation
public:
int GetIpAddress(const CString &sHostName, CString &sIpAddress);
int GetLocalHostName(CString &sHostName);
virtual ~CSendStudentView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CSendStudentView)
afx_msg void OnBtSendToCom1();
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in SendStudentView.cpp
inline CSendStudentDoc* CSendStudentView::GetDocument()
{ return (CSendStudentDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SENDSTUDENTVIEW_H__920C149F_760C_4AAB_B7F8_BDF63902E1FF__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -