dba_company.h

来自「自己编的设备管理系统」· C头文件 代码 · 共 60 行

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

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

/////////////////////////////////////////////////////////////////////////////
// CDBA_Company dialog

class CDBA_Company : public CDialog
{
// Construction
public:
	CDBA_Company(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDBA_Company)
	enum { IDD = IDD_DIALOG_DBA_Company };
	CComboBox	m_combo_id;
	CComboBox	m_combo_name;
	CComboBox	m_combo_director;
	CDatabase   m_db;
	CString	m_com_id;
	CString	m_com_name;
	CString	m_com_director;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDBA_Company)
	virtual BOOL OnInitDialog();
	afx_msg void ConnectDB();
	afx_msg void Combo_class();
	afx_msg void OnBUTTONInsert();
	afx_msg void OnBUTTONModify();
	afx_msg void OnSelchangeCOMBOId();
	afx_msg void OnBUTTONDelete();
	afx_msg void OnSelchangeCOMBOName();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_DBA_COMPANY_H__A993C26D_1A2A_4CB4_9E32_B258772B2178__INCLUDED_)

⌨️ 快捷键说明

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