📄 employview.h
字号:
// EmployView.h : interface of the CEmployView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_EMPLOYVIEW_H__B081DFED_7CB3_11D6_9DFE_5254AB1C303A__INCLUDED_)
#define AFX_EMPLOYVIEW_H__B081DFED_7CB3_11D6_9DFE_5254AB1C303A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Employee.h"
#include "MainFrm.h"
#include "SearchDg.h"
#include "SortDg.h"
class CEmployView : public CFormView
{
protected: // create from serialization only
CEmployView();
DECLARE_DYNCREATE(CEmployView)
public:
//{{AFX_DATA(CEmployView)
enum { IDD = IDD_EMPLOY_FORM };
CSliderCtrl m_SlideBarCtrl;
CComboBox m_SexIn;
CString m_sNameIn;
int m_iSexIn;
CString m_sEducateIn;
CString m_sDutyIn;
CString m_sAddressIn;
CString m_sPhoneIn;
CString m_sMemoIn;
CString m_sNameDel;
CString m_sEducateDel;
CString m_sDutyDel;
CString m_sAddressDel;
CString m_sPhoneDel;
CString m_sMemoDel;
UINT m_uiBirthDayIn;
UINT m_uiBirthMonthIn;
UINT m_uiBirthYearIn;
UINT m_uiWorkDayIn;
UINT m_uiWorkMonthIn;
UINT m_uiWorkYearIn;
CString m_sBirthDel;
CString m_sWorkDel;
CString m_sSexDel;
//}}AFX_DATA
// Attributes
public:
CEmployDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEmployView)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CEmployView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
CString m_sPrint;
bool m_IsTimer;
//{{AFX_MSG(CEmployView)
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnButtonIn();
afx_msg void OnReleasedcaptureSliderbar(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnButtonDel();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnUpdateSearch(CCmdUI* pCmdUI);
afx_msg void OnSearch();
afx_msg void OnSort();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in EmployView.cpp
inline CEmployDoc* CEmployView::GetDocument()
{ return (CEmployDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_EMPLOYVIEW_H__B081DFED_7CB3_11D6_9DFE_5254AB1C303A__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -