setdlg.h

来自「基于指纹技术的学生考勤系统」· C头文件 代码 · 共 60 行

H
60
字号
#if !defined(AFX_SETDLG_H__2945803C_C84D_4F33_828F_1F678202BBAD__INCLUDED_)
#define AFX_SETDLG_H__2945803C_C84D_4F33_828F_1F678202BBAD__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SetDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CSetDlg dialog

class CSetDlg : public CDialog
{
// Construction
public:
	void Open_data(CString tabName, CString strID);
	void InsertItemData(CString id, CString name);
	void InsertDb(CString table,CString id, CString name);
	void OpenClassData();
	void InsertClassDb(CString id1, CString name,CString departName);
	void InsertClassItem(CString id1, CString name,CString id2);
	CSetDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CSetDlg)
	enum { IDD = IDD_DIALOG_SET };
	CComboBox	m_cDepart;
	CListCtrl	m_listShSet;
	CString	m_strName;
	CString	m_strID;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSetDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSetDlg)
	afx_msg void OnBtnMod();
	afx_msg void OnBtnDel();
	afx_msg void OnBtnAdd();
	afx_msg void OnClickListShset(NMHDR* pNMHDR, LRESULT* pResult);
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SETDLG_H__2945803C_C84D_4F33_828F_1F678202BBAD__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?