addnewcomanddepartdlg.h

来自「VC++和ACCESS使用ADO连接」· C头文件 代码 · 共 56 行

H
56
字号
#if !defined(AFX_ADDNEWCOMANDDEPARTDLG_H__54EC42B0_2ECC_46F7_8B31_6AA3215C165B__INCLUDED_)
#define AFX_ADDNEWCOMANDDEPARTDLG_H__54EC42B0_2ECC_46F7_8B31_6AA3215C165B__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// AddNewComAndDepartDlg dialog

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

// Dialog Data
	//{{AFX_DATA(AddNewComAndDepartDlg)
	enum { IDD = IDD_ADD_COM_AND_DEPART };
	CEditableListCtrl	m_ListShow;
	CComboBox	m_Cmb_ACAD_SelectCom;
	//}}AFX_DATA


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

// Implementation
protected:
	BOOL SetRow(int row, CString *strArray, int nCount);
	BOOL DeleteAllRows();
	BOOL ShowComAndDepartInfo(void);
	void ShowExistentCompany(CComboBox *pCombox);

	// Generated message map functions
	//{{AFX_MSG(AddNewComAndDepartDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnButtonAcdsStatus1();
	afx_msg void OnButtonAcdsStatus2();
	afx_msg void OnButtonAcdsSave1();
	afx_msg void OnButtonAcdsSave2();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_ADDNEWCOMANDDEPARTDLG_H__54EC42B0_2ECC_46F7_8B31_6AA3215C165B__INCLUDED_)

⌨️ 快捷键说明

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