?? mydbview.h
字號:
// mydbView.h : interface of the CMydbView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MYDBVIEW_H__63442E06_6EF8_4573_8D32_3434F061E22D__INCLUDED_)
#define AFX_MYDBVIEW_H__63442E06_6EF8_4573_8D32_3434F061E22D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CMydbSet;
class CMydbView : public CRecordView
{
protected: // create from serialization only
CMydbView();
DECLARE_DYNCREATE(CMydbView)
public:
//{{AFX_DATA(CMydbView)
enum { IDD = IDD_MYDB_FORM };
CMydbSet* m_pSet;
CString m_DepartID;
CString m_Birthday;
CString m_EmployeeID;
CString m_EmployeeName;
CString m_HomeTele;
double m_Salary;
CString m_DDpartID;
CString m_Manager;
CString m_DepartName;
CString m_Office;
CString m_EDpartID;
CString m_EDepartID;
CString m_DDepartID;
double m_AVGSalary;
//}}AFX_DATA
// Attributes
public:
CMydbDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMydbView)
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
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
// virtual void CalAVG();
//}}AFX_VIRTUAL
// Implementation
public:
virtual void CalAVG();
virtual ~CMydbView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CMydbView)
afx_msg void OnChangeId();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in mydbView.cpp
inline CMydbDoc* CMydbView::GetDocument()
{ return (CMydbDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MYDBVIEW_H__63442E06_6EF8_4573_8D32_3434F061E22D__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -