medistore.h

来自「一个VC写的药品管理系统」· C头文件 代码 · 共 81 行

H
81
字号
//{{AFX_INCLUDES()
#include "adodc.h"
#include "datagrid.h"
//}}AFX_INCLUDES
#include "User.h"
#if !defined(AFX_MEDISTORE_H__700A674D_1DC3_44CA_A712_C76E43F38321__INCLUDED_)
#define AFX_MEDISTORE_H__700A674D_1DC3_44CA_A712_C76E43F38321__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CMediStore dialog

class CMediStore : public CDialog
{
// Construction
public:
	CUser glUser;
public:
	CMediStore(CWnd* pParent = NULL);   // standard constructor
	void RefreshData();
	//void OnChange();
// Dialog Data
	//{{AFX_DATA(CMediStore)
	enum { IDD = IDD_MEDISTORE };
	CComboBox	m_ChooseType;
	CButton	m_ExactChoose;
	CButton	m_CancelButton;
	CAdodc	m_Adodc;
	CString	m_ChooseInfo;
	CDataGrid	m_DataGridChoose;
	float	m_InAmout;
	CTime	m_InDate;
	float	m_InPrice;
	CTime	m_LastDate;
	CString	m_MediNo;
	CString	m_Name;
	float	m_SalePrice;
	CString	m_SalerId;
	CString	m_Unit;
	CString	m_Short;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CMediStore)
	virtual BOOL OnInitDialog();
	afx_msg void OnCancel();
	afx_msg void OnExactChoose();
	afx_msg void OnSomeChoose();
	afx_msg void OnAdd();
	afx_msg void OnNewStore();
	afx_msg void OnChange();
	afx_msg void OnDblClickDatagridChoose();
	afx_msg void OnChangeMedi();
	DECLARE_EVENTSINK_MAP()
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_MEDISTORE_H__700A674D_1DC3_44CA_A712_C76E43F38321__INCLUDED_)

⌨️ 快捷键说明

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