📄 staffinfo.h
字号:
#if !defined(AFX_STAFFINFO_H__E6DD5A02_6AAC_4175_ABAD_DDF9869653D2__INCLUDED_)
#define AFX_STAFFINFO_H__E6DD5A02_6AAC_4175_ABAD_DDF9869653D2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// StaffInfo.h : header file
//
#include "BaseEdit.h"
#include "BaseComboBox.h"
#include "BaseDateTimeCtrl.h"
#include "BaseButton.h"
/////////////////////////////////////////////////////////////////////////////
// CStaffInfo dialog
class CStaffInfo : public CDialog
{
// Construction
public:
CString strPath;
IStream* m_pIStream;
CStaffInfo(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CStaffInfo)
enum { IDD = IDD_DIA_StaffInfo };
CBaseComboBox m_Comsnation;
CBaseComboBox m_Comtitle;
CBaseComboBox m_Comduty;
CBaseComboBox m_Comygxs;
CBaseComboBox m_Comsquali;
CBaseComboBox m_ComDep;
CBaseEdit m_EdtStel;
CBaseEdit m_EdtSSID;
CBaseEdit m_EdtSschool;
CBaseEdit m_EdtSpro;
CBaseEdit m_EdtSnum;
CBaseEdit m_EdtSnat;
CBaseEdit m_EdtSname;
CBaseEdit m_EdtSIID;
CBaseEdit m_EdtSID;
CBaseEdit m_EdtSaddress;
CBaseEdit m_EdtRemark;
CDateTimeCtrl m_DatZtime;
CDateTimeCtrl m_DatTtime;
CDateTimeCtrl m_DatRtime;
CButton m_Butadd;
CButton m_Butchange;
CButton m_Butdelete;
CButton m_Butexit;
CButton m_Butsave;
CButton m_Butundo;
CBaseComboBox m_ComLever;
CBaseComboBox m_ComSinser;
CBaseComboBox m_ComSex;
CBaseComboBox m_ComSmarry;
CDateTimeCtrl m_DatBirtime;
CDateTimeCtrl m_DatBtime;
CDateTimeCtrl m_DatLtime;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CStaffInfo)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CStaffInfo)
virtual BOOL OnInitDialog();
afx_msg void OnButadd();
afx_msg void OnButchange();
afx_msg void OnButdelete();
afx_msg void OnButsave();
afx_msg void OnButundo();
afx_msg void OnButexit();
afx_msg void OnPaint();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void CheckID(CString ID);
int AddOrChange;
CString m_sID;
void Display(CString sID);
void ButtonEnabled(bool bEnabled);
void Clear();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STAFFINFO_H__E6DD5A02_6AAC_4175_ABAD_DDF9869653D2__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -