⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mydlgaddother.h

📁 从列表进行打印的源码,请大家下载参考对照,从中发表意见,加深修改.
💻 H
字号:
//{{AFX_INCLUDES()
#include "datagrid.h"
//}}AFX_INCLUDES
#if !defined(AFX_MYDLGADDOTHER_H__842D5963_8456_47B9_A763_F7FD49FEF520__INCLUDED_)
#define AFX_MYDLGADDOTHER_H__842D5963_8456_47B9_A763_F7FD49FEF520__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CMyDlgAddOther dialog

class CMyDlgAddOther : public CPropertyPage
{
	DECLARE_DYNCREATE(CMyDlgAddOther)

// Construction
public:
	void InitDataGridUnit();
	void InitDataGridHospital();
	CMyDlgAddOther();
	~CMyDlgAddOther();

	_RecordsetPtr p_Rst_Hospital;
	_ConnectionPtr p_connection;
	_RecordsetPtr p_Rst_Unit;

	CString str_Hospital;
	CString str_Unit;

// Dialog Data
	//{{AFX_DATA(CMyDlgAddOther)
	enum { IDD = IDD_DIALOG_ADDOTHER };
	CStatic	m_Static_Text2;
	CStatic	m_Static_Text1;
	CEdit	m_Edit_Unit;
	CEdit	m_Edit_Hospital;
	CDataGrid	m_DataGrid_Hospital;
	CDataGrid	m_DataGrid_Unit;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CMyDlgAddOther)
	public:
	virtual void OnFinalRelease();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CMyDlgAddOther)
	virtual BOOL OnInitDialog();
	afx_msg void OnButtonAddUnit();
	afx_msg void OnButtonAddHospital();
	afx_msg void OnButtonDelUnit();
	afx_msg void OnButtonDelHospital();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

	// Generated OLE dispatch map functions
	//{{AFX_DISPATCH(CMyDlgAddOther)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_DISPATCH
	DECLARE_DISPATCH_MAP()
	DECLARE_INTERFACE_MAP()
};

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

#endif // !defined(AFX_MYDLGADDOTHER_H__842D5963_8456_47B9_A763_F7FD49FEF520__INCLUDED_)

⌨️ 快捷键说明

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