?? a system.txt
字號:
#if !defined(AFX_DLGSTOCK_H__ECB3F607_8A1D_4C2D_A573_5C1BE4D058B7__INCLUDED_)
#define AFX_DLGSTOCK_H__ECB3F607_8A1D_4C2D_A573_5C1BE4D058B7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgStock.h : header file
//
#include
/////////////////////////////////////////////////////////////////////////////
// CDlgStock dialog
class CDlgStock : public CDialog
{
// Construction
public:
CDlgStock(CWnd* pParent = NULL); // standard constructor
_ConnectionPtr pConn;
CString User;
BOOL bIfAdd; //是否添加新記錄標志
typedef struct Stock //進貨信息
{
CString sGoodID;
CString sGoodName;
CString sManufacturer;
int iAmounts;
float fPrice;
CString sStockTime;
}stock;
std::vector stocks;
//void AddToDataBase();
// Dialog Data
//{{AFX_DATA(CDlgStock)
enum { IDD = IDD_DlgStock };
CButton m_BtnAdd;
CListCtrl m_StockList;
CString m_GoodsID;
CString m_GoodsName;
CString m_Manufacturer;
int m_StockAmount;
float m_StockPrice;
// COleDateTime m_StockDate;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgStock)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDlgStock)
afx_msg void OnStockBtnAdd(); //添加進貨信息到列表框
afx_msg void OnStockBtnDelete(); //從列表框刪除進貨信息
afx_msg void OnCancel();
virtual BOOL OnInitDialog();
afx_msg void OnOk();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGSTOCK_H__ECB3F607_8A1D_4C2D_A573_5C1BE4D058B7__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -