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

📄 storageview.h

📁 此库存系统是C++语言与数据库相结合的
💻 H
字号:
// storageView.h : interface of the CStorageView class
//
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INCLUDES()
#include "msflexgrid.h"
//}}AFX_INCLUDES

#if !defined(AFX_STORAGEVIEW_H__B54394E3_E071_419B_8BDA_6DEC2DD776F3__INCLUDED_)
#define AFX_STORAGEVIEW_H__B54394E3_E071_419B_8BDA_6DEC2DD776F3__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/*#include "factoryset.h"
#include "goodset.h"*/
#include "factoryset.h"
#include "goodset.h"

class CStorageSet;
//class factoryset;
//class goodset;
class CStorageView : public CRecordView
{
protected: // create from serialization only
	CStorageView();
	DECLARE_DYNCREATE(CStorageView)
	int col,row;
   factoryset   m_factoryset;
   goodset   m_goodset;
   CRecordsetStatus status;
   int inout;
public:
	//{{AFX_DATA(CStorageView)
	enum { IDD = IDD_STORAGE_FORM };
	CStorageSet *m_pSet;
 	CMSFlexGrid	m_storagegrid;
	char flags;
	CMSFlexGrid	m_factorygrid;
	CMSFlexGrid	m_goodgrids;
	char getset;
	CString	m_storageid;
	CString	m_storagelocate;
	CString	m_storagename;
	CString	m_storagearea;
	CString	m_fatid;
	CString	m_fattel;
	CString	m_fatother;
	CString	m_fatname;
	CString	m_fatemail;
	CString	m_fataddress;
	CString	m_fatman;
	CString	m_entryamount;
	CString	m_entryfactoryid;
	CString	m_entrygoodid;
	CString	m_entrystorageid;
	CString	m_goodid;
	CString	m_goodname;
	CString	m_goodother;
	CString	m_goodprice;
	//}}AFX_DATA

// Attributes
public:
	CStorageDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CStorageView)
	public:
	virtual CRecordset* OnGetRecordset();
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate(); // called first time after construct
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	void FactoryRefresh();
	void GoodRefresh();
	void StorageRefresh();
	virtual ~CStorageView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CStorageView)
	afx_msg void Onstoragemanage();
	afx_msg void Onfactorymanage();
	afx_msg void Ongoodmanage();
	afx_msg void OnClickstoragegrid();
	afx_msg void OnDblClickstoragegrid();
	afx_msg void Onstorageadd();
	afx_msg void Onstoragedel();
	afx_msg void OnClickfactorygrid();
	afx_msg void Onfactorageadd();
	afx_msg void Onfactorageedit();
	afx_msg void Onfactoragedel();
	afx_msg void Onstorageedit();
	afx_msg void OnMENUITEMentrygood();
	afx_msg void Onentrycommand();
	afx_msg void OnClickgoodgrids();
	afx_msg void Ongoodadd();
	afx_msg void Ongooddel();
	afx_msg void Ongoodedit();
	afx_msg void Onentrygood();
	afx_msg void Onoutgood();
	DECLARE_EVENTSINK_MAP()
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in storageView.cpp
inline CStorageDoc* CStorageView::GetDocument()
   { return (CStorageDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_STORAGEVIEW_H__B54394E3_E071_419B_8BDA_6DEC2DD776F3__INCLUDED_)

⌨️ 快捷键说明

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