📄 myadddel.h
字号:
#if !defined(AFX_MYADDDEL_H__12C0C996_8C74_4ABD_B789_0ED25FE0006F__INCLUDED_)
#define AFX_MYADDDEL_H__12C0C996_8C74_4ABD_B789_0ED25FE0006F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyAddDel.h : header file
//
#include "MyDlgAddName.h"
#include "MyDlgAddPlant.h"
#include "MyDlgAddOther.h"
#include "MyDlgDelName.h"
#include "MyDlgDelPlant.h"
#include "MyDlgDelOther.h"
/////////////////////////////////////////////////////////////////////////////
// CMyAddDel dialog
class CMyAddDel : public CDialog
{
// Construction
public:
CMyAddDel(CWnd* pParent = NULL); // standard constructor
int i_Type; //i_Type=1:添加药品名称
//i_Type=2:添加生产厂家
//i_Type=3:添加药品单位,供货单位
//i_Type=11:删除药品名称
//i_Type=12:删除生产厂家
//i_Type=13:删除药品单位,供货单位
_RecordsetPtr p_recordset;
_ConnectionPtr p_connection;
CMyDlgAddName p_AddName;
CMyDlgAddPlant p_AddPlant;
CMyDlgAddOther p_AddOther;
//CMyDlgDelName p_DelName;
//CMyDlgDelPlant p_DelPlant;
//CMyDlgDelOther p_DelOther;
CPropertySheet m_Sheet;
//CDisplay display;
// Dialog Data
//{{AFX_DATA(CMyAddDel)
enum { IDD = IDD_DIALOG_ADD_DEL };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyAddDel)
public:
virtual void OnFinalRelease();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CMyAddDel)
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
// Generated OLE dispatch map functions
//{{AFX_DISPATCH(CMyAddDel)
// 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_MYADDDEL_H__12C0C996_8C74_4ABD_B789_0ED25FE0006F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -