rcvstudentview.h
来自「C源码 数据库通过网络进行发 收 通过网络发送数据库中的数据 通过网络接收数」· C头文件 代码 · 共 79 行
H
79 行
// RcvStudentView.h : interface of the CRcvStudentView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_RCVSTUDENTVIEW_H__8248ACBA_5564_474F_8EBD_C40BDD19AAB3__INCLUDED_)
#define AFX_RCVSTUDENTVIEW_H__8248ACBA_5564_474F_8EBD_C40BDD19AAB3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CRcvStudentSet;
class CRcvStudentView : public CRecordView
{
protected: // create from serialization only
CRcvStudentView();
DECLARE_DYNCREATE(CRcvStudentView)
public:
//{{AFX_DATA(CRcvStudentView)
enum { IDD = IDD_RCVSTUDENT_FORM };
CRcvStudentSet* m_pSet;
long m_nID;//编辑框“学号”的变量
CString m_strName;//编辑框“姓名”的变量
CString m_strPhone;//编辑框“电话”的变量
CIPAddressCtrl m_ipDest;//客户机IP控件
//}}AFX_DATA
// Attributes
public:
CRcvStudentDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRcvStudentView)
public:
virtual CRecordset* OnGetRecordset();
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:
virtual ~CRcvStudentView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CRcvStudentView)
afx_msg void OnBtReceiveFromCom2();
afx_msg void OnDestroy();
afx_msg void OnBtSaveToDb();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in RcvStudentView.cpp
inline CRcvStudentDoc* CRcvStudentView::GetDocument()
{ return (CRcvStudentDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RCVSTUDENTVIEW_H__8248ACBA_5564_474F_8EBD_C40BDD19AAB3__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?